LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   408.shtml error and then litespeed stalls (http://www.litespeedtech.com/support/forum/showthread.php?t=2830)

pguy 04-04-2009 11:43 PM

408.shtml error and then litespeed stalls
 
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 04-05-2009 02:01 PM

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 04-09-2009 04:29 AM

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 ..

anewday 04-09-2009 07:27 AM

I still see many 404.shtml errors in the log with 4.01.

pguy 04-09-2009 09:48 AM

On the stats page, when the server went out of control I saw the following statistic

EAProc Idle - 170

mistwang 04-09-2009 05:46 PM

You probably configured the number of process of that external application too high?
Show me the configuration.

pguy 04-09-2009 11:19 PM

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 04-10-2009 03:30 PM

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 04-10-2009 09:48 PM

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?

Quote:

Originally Posted by anewday (Post 14513)
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 04-11-2009 09:28 AM

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


All times are GMT -7. The time now is 12:22 PM.