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 09-27-2007, 12:39 PM
Dani Dani is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default 503 errors

Hi,

I've lately been flooded with 503 - graceful restarts. which hasn't been there before. We haven't upgraded that much so I cannot pinpoint the errors, is there a way for LS to log these errors somehow?

2007-09-27 21:34:17.962 [NOTICE] The maximum number of file descriptor limit is set to 12000.
2007-09-27 21:34:17.962 [NOTICE] [config:server:epsrhpLsapi]'Process Limit' probably is too low, adjust the limit to: 1900.
2007-09-27 21:34:17.964 [NOTICE] [child: 1274] Successfully change current user to www-data
2007-09-27 21:34:17.964 [NOTICE] [Child: 1274] Core dump is enabled.
2007-09-27 21:34:17.964 [NOTICE] [AutoRestarter] new child process with pid=1274 is forked!
2007-09-27 21:34:17.964 [NOTICE] [child: 1276] Successfully change current user to www-data
2007-09-27 21:34:17.965 [NOTICE] [Child: 1276] Core dump is enabled.
2007-09-27 21:34:17.965 [NOTICE] [Child: 1276] Setup swapping space...
2007-09-27 21:34:17.965 [NOTICE] [Child: 1276] LiteSpeed/3.2.3 Enterprise starts successfully!
2007-09-27 21:34:17.967 [NOTICE] [AutoRestarter] new child process with pid=1276 is forked!
2007-09-27 21:34:17.967 [NOTICE] [Child: 1274] Setup swapping space...
2007-09-27 21:34:17.967 [NOTICE] [Child: 1274] LiteSpeed/3.2.3 Enterprise starts successfully!
2007-09-27 21:34:18.228 [NOTICE] [AutoUpdate] Checking for new releases...
2007-09-27 21:35:21.001 [NOTICE] There are 35 '503 Errors' in last 30 seconds, request a graceful restart
Reply With Quote
  #2  
Old 09-27-2007, 01:04 PM
admin admin is offline
LiteSpeed Staff
 
Join Date: Apr 2006
Posts: 6
Do you have access logging enabled? you need to find out which script causes the 503 error. You can turn off "503 auto fix".
Reply With Quote
  #3  
Old 09-27-2007, 01:33 PM
Dani Dani is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
no i dont but if the 503 would appear there I'd have no problem turning it on for a short while. What's the worst thing that can happen having the auto fix off?
Reply With Quote
  #4  
Old 10-01-2007, 02:32 AM
Dani Dani is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
ok I found that 2-3 url:s are causing the 503

[30/Sep/2007:21:40:49 +0200] "GET /profile/check_new_stuff HTTP/1.1" 503 401 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
[30/Sep/2007:21:40:49 +0200] "GET /get_ad HTTP/1.1" 503 401 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; SIMBAR Enabled; S


but all these "scripts" return is a text like "a:b:c" where a||b||c == 1-100

This is a header from the check_new_stuff url "when it's working"

Response Headers
Content-Encoding gzip
Vary Accept-Encoding
Date Mon, 01 Oct 2007 09:29:16 GMT
Server LiteSpeed
Connection Keep-Alive
Keep-Alive timeout=5, max=100
X-Powered-By PHP/5.2.3
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Content-Type text/html
Content-Length 25


Does this say it gzipped it? Even thought my gzip is set to 300?
Maybe it has something to do with the short length? /get_ad returns 45-60bytes text.

thanks




**edit

I just realized that since this is a php file the output will surely not look what size the output is since the settings only touch the static files

"Min Static File Size (bytes)"

Any chance for a dynamic one?

Last edited by Dani; 10-01-2007 at 02:46 AM..
Reply With Quote
  #5  
Old 10-01-2007, 10:25 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
The response was gzipped. It is hard to apply the limit for dyanmic request as somtimes the real body size is unknown when the web server need to send back the response header.
Reply With Quote
  #6  
Old 10-01-2007, 10:42 AM
Dani Dani is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
so you also think the file is to small perhaps? maybe I can fill it with some junk just to get around the 503 errors? =)
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:06 AM.



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