Hi,
I have problems with PHP on a new installation: Sometimes lsws cannot process PHP requests and answers with "503 Service Unavailable". I then need to restart lsws to recover from the error. This only happens rarely and I don't see a pattern or a direct cause. Any hints on how I can find the reason?
information about the installation:
lsws 3.1.1, PHP 5.2.2, compiled with LSAPI 4.0, APC 3.0.14
Solaris 10 x86
I am using devpoll, because that proved better on Solaris on another installation.
In the error log I get the following:
Connection idle time: 301 while in state: 5 watching for event: 25,close!
HttpExtConnector state: 8, request body sent: 1959, response body size: 0, response body sent:0, left in buffer: 0, attempts: 0.
ExtConn timed out while processing.
I use one parent instance of lsphp with 20 child processes.
I suppose something is wrong with my lsphp. The same lsphp works on another machine without problems. I tried to have exactly the same versions of all needed libraries (like gd, curl), but I am not sure if I got them all. So my next question is: How can I compile PHP with as few dependencies as possible, i.e. the same as the stock php of lsws? With curl and gd and all the others statically compiled in php.
Thanks for help!
Daniel
I have problems with PHP on a new installation: Sometimes lsws cannot process PHP requests and answers with "503 Service Unavailable". I then need to restart lsws to recover from the error. This only happens rarely and I don't see a pattern or a direct cause. Any hints on how I can find the reason?
information about the installation:
lsws 3.1.1, PHP 5.2.2, compiled with LSAPI 4.0, APC 3.0.14
Solaris 10 x86
I am using devpoll, because that proved better on Solaris on another installation.
In the error log I get the following:
Connection idle time: 301 while in state: 5 watching for event: 25,close!
HttpExtConnector state: 8, request body sent: 1959, response body size: 0, response body sent:0, left in buffer: 0, attempts: 0.
ExtConn timed out while processing.
I use one parent instance of lsphp with 20 child processes.
I suppose something is wrong with my lsphp. The same lsphp works on another machine without problems. I tried to have exactly the same versions of all needed libraries (like gd, curl), but I am not sure if I got them all. So my next question is: How can I compile PHP with as few dependencies as possible, i.e. the same as the stock php of lsws? With curl and gd and all the others statically compiled in php.
Thanks for help!
Daniel