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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 503 Errors

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2009, 04:38 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default 503 Errors

I seem to be getting lot's of 503 errors which requires me to restart the LiteSpeed webserver. I'm not sure why it's happening. At first I thought it might be a php memory leak, now I'm wondering if it's a configuration issue. Thoughts?

Max Connections: 20
PHP_LSAPI_MAX_REQUESTS=60
PHP_LSAPI_CHILDREN=20
Initial Request Timeout 800
Persistent Connection Yes
Server Command $SERVER_ROOT/fcgi-bin/lsphp5
Backlog 100

Here are what the process look like (typically when I have the 503 errors there are lot's of these processes):

lsws 30312 0.0 0.3 22972 8372 ? SN 12:42 0:00 lsphp5
lsws 30353 0.0 0.2 19368 5384 ? SNs 11:55 0:00 lsphp5
Reply With Quote
  #2  
Old 04-26-2009, 07:47 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Why set PHP_LSAPI_MAX_REQUESTS so low? I would raise it a lot more.
Reply With Quote
  #3  
Old 04-27-2009, 07:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Are you using the latest 4.0.2?
You may need to strace those lsphp5 processes. Maybe it was caused by a bad script. Also, check stderr.log and error.log
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 12:55 PM.



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