I'm having a problem with LSWS timing out on my server. It seems that the problem is triggered when a user executes a PHP script that exceeds the LSWS timeout limit. After the first timeout, subsequent requests to other PHP scripts time out even if they are very simple scripts.
I'm guessing that what's happening is that the first script is using up all the available PHP connections and/or processes, and when the timeout occurs, it's not releasing those connections, which means that subsequent PHP requests would be waiting indefinitely for a connection to become available.
There's probably some setting that will fix this, but I'm not sure what to do. I just tried setting my "Max Idle Time" to 30. Previously this was not set, but I don't know if this will make any difference. I also tried setting "Initial Request Timeout" to 60. This was also previously not set.
I'm using LSAPI with:
Instances = 1
PHP_LSAPI_CHILDREN=100
Would it possibly be better to get rid of the PHP_LSAPI_CHILDREN setting, and set Instances = 100?
I know I'm just shooting in the dark and would appreciate some suggestions...
I'm guessing that what's happening is that the first script is using up all the available PHP connections and/or processes, and when the timeout occurs, it's not releasing those connections, which means that subsequent PHP requests would be waiting indefinitely for a connection to become available.
There's probably some setting that will fix this, but I'm not sure what to do. I just tried setting my "Max Idle Time" to 30. Previously this was not set, but I don't know if this will make any difference. I also tried setting "Initial Request Timeout" to 60. This was also previously not set.
I'm using LSAPI with:
Instances = 1
PHP_LSAPI_CHILDREN=100
Would it possibly be better to get rid of the PHP_LSAPI_CHILDREN setting, and set Instances = 100?
I know I'm just shooting in the dark and would appreciate some suggestions...