LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 408.shtml error and then litespeed stalls

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2009, 11:43 PM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
Default 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?
Reply With Quote
  #2  
Old 04-05-2009, 02:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #3  
Old 04-09-2009, 04:29 AM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
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 ..
Reply With Quote
  #4  
Old 04-09-2009, 07:27 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
I still see many 404.shtml errors in the log with 4.01.
Reply With Quote
  #5  
Old 04-09-2009, 09:48 AM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
On the stats page, when the server went out of control I saw the following statistic

EAProc Idle - 170
Reply With Quote
  #6  
Old 04-09-2009, 05:46 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You probably configured the number of process of that external application too high?
Show me the configuration.
Reply With Quote
  #7  
Old 04-09-2009, 11:19 PM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
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
Reply With Quote
  #8  
Old 04-10-2009, 03:30 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
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?
Reply With Quote
  #9  
Old 04-10-2009, 09:48 PM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
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 View Post
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?
Reply With Quote
  #10  
Old 04-11-2009, 09:28 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:34 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.