408.shtml error and then litespeed stalls

pguy

Active Member
#1
Hello,

We are seeing the following error repeatedly.

2009-04-05 06:17:55.950 [INFO] [203.212.239.28:53692-0#APVH_xxx.com] File not found [/home/xxx/public_html/408.shtml]
2009-04-05 06:23:35.266 [INFO] [203.212.239.28:42786-0#APVH_xxx.com] File not found [/home/xxx/public_html/408.shtml]
2009-04-05 06:23:50.171 [INFO] [203.212.239.28:43458-0#APVH_xxx.com] File not found [/home/xxx/public_html/408.shtml]
2009-04-05 06:25:08.028 [INFO] [203.212.239.28:52639-0#APVH_xxx.com] File not found [/home/xxx/public_html/408.shtml]
2009-04-05 06:26:52.944 [INFO] [203.212.239.28:58027-0#APVH_xxx.com] File not found [/home/xxx/public_html/408.shtm

Can't seem to figure out why - the error shows up, then LS spirals out by running too many processes and the only way then is to kill lsphp & then restart litespeed.

any leads?
 

mistwang

LiteSpeed Staff
#2
You need to check why the request takes so long, usually, it is a PHP/MySQL issue.
Also, try our 4.0.1 release package see if it helps or not. Just change the version number in the download link to get it.
 

pguy

Active Member
#3
Hi, I tried. It helped for a bit and then again the server spiralled out. This time though it was able to cut on the processes much faster than prev times. But the problem still exists ..
 

pguy

Active Member
#7
PHP_LSAPI_MAX_REQUESTS=200
PHP_LSAPI_CHILDREN=200
LSAPI_MAX_IDLE_CHILDREN=60
LSAPI_AVOID_FORK=1

Process Soft limit 500
Hard Limit 750
 

anewday

Well-Known Member
#8
PHP_LSAPI_CHILDREN is way too high. Start with 20. You should increase PHP_LSAPI_MAX_REQUESTS and lower LSAPI_MAX_IDLE_CHILDREN a lot more. What value did you set for Instances?
 

pguy

Active Member
#9
Modified settings to

PHP_LSAPI_MAX_REQUESTS=300
PHP_LSAPI_CHILDREN=30
LSAPI_MAX_IDLE_CHILDREN=20
LSAPI_AVOID_FORK=1

Instances, set to 1

Lets see how this goes. Anything else I need to check?

PHP_LSAPI_CHILDREN is way too high. Start with 20. You should increase PHP_LSAPI_MAX_REQUESTS and lower LSAPI_MAX_IDLE_CHILDREN a lot more. What value did you set for Instances?
 

anewday

Well-Known Member
#10
I think you should increase PHP_LSAPI_MAX_REQUESTS a lot more and lower LSAPI_MAX_IDLE_CHILDREN What's the value for Max Connections? I set mine to match PHP_LSAPI_CHILDREN
 
Top