LSAPI Sockets Closing Periodically
I am having an issue where I have a few sites setup using PHP with the LSAPI external app. Each one has its own external app config so that I can use suEXEC and have each site run its own PHP processes. However, since switching over to this config, I am finding occasional 503 service unavailable errors with this showing up in the error log:
Any ideas how I can resolve these errors?
Ok so I think I found the setting that "fixes" this.
The external app's "Max Idle Time" should be set to -1 so that none of the sockets get killed to free up resources.
However, this results in a lot of child lsphp5 processes stacking up taking up RAM, which I would like to avoid if possible.
It sounds like this might be a bug - the fact that the socket gets killed to free up resources should not result in a 503 next time someone requests a page from that virtual host. Is there another configuration setup that I'm missing that fixes this?
what's other settings in lsphp ?
Connection Keepalive Timeout
Run On Start Up,
you can set it to No to see if any difference.
Max Connections = 5
Connection Keepalive Timeout = Blank
Instances = 1
Changing Run on Startup to No with my previous value of Max Idle Time (10) did not seem to have any effect - I'm seeing the same messages in the error log.
forgot to ask
setting in Ext App.
Right now I've got it set to this:
I had the max requests set much higher earlier - it doesn't seem to make much difference.
|All times are GMT -7. The time now is 11:25 PM.|