|
|

02-02-2011, 04:53 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
[solved] Max retries has been reached, 503!
Hello,
im testing litespeed for a large vb board, and is failing from time to time with 503 error pages. Error log shows this:
Quote:
2011-02-02 13:22:50.072 NOTICE [xx.xx.xx.xx:64670-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:22:50.072 NOTICE [xx.xx.xx.xx:64670-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:22:50.072 NOTICE [xx.xx.xx.xx:64670-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049984 HTTP/1.1'
2011-02-02 13:31:47.770 NOTICE [yy.yy.yy.yy:52497-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:31:47.770 NOTICE [yy.yy.yy.yy:52497-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:31:47.770 NOTICE [yy.yy.yy.yy:52497-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049980 HTTP/1.1'
2011-02-02 13:31:56.074 NOTICE [yy.yy.yy.yy:52499-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:31:56.074 NOTICE [yy.yy.yy.yy:52499-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:31:56.074 NOTICE [yy.yy.yy.yy:52499-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049998 HTTP/1.1'
2011-02-02 13:38:18.976 NOTICE [zz.zz.zz.zz:1810-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:38:18.976 NOTICE [zz.zz.zz.zz:1810-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:38:18.976 NOTICE [zz.zz.zz.zz:1810-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049917&page=2 HTTP/1.1'
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049861&page=5 HTTP/1.1'
|
Server: WHM/Cpanel - RH 5.2 32 bits, 4GB Ram, Dual Harpertown 5430.
Litespeed: Enterprise 4.0.19
PHP: 5.2.16, compiled for litespeed using Build Matching PHP Binary in WHM | no special modules
Others: XCache 1.3.1, tested active or inactive, same 503 errors.
Server load: (average) - Load 1.50, 1.68, 1.78
Site run under Apache 2.0 without any error.
What can i check to detect errors source, or modify to avoid these errors?
Last edited by NiteWave; 02-11-2011 at 12:34 AM..
|

02-02-2011, 05:03 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
|
many reason can cause 503. need check many settings. first, please check in admin console:
Server->External App->lsphp5
Memory Soft Limit (bytes)
Memory Hard Limit (bytes)
php in suExec or non-suExec mode?
|

02-02-2011, 05:44 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
|
PHP non-suExec
Max Connections 50
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=50
Memory Soft Limit (bytes) 900M
Memory Hard Limit (bytes) 1000M
Process Soft Limit 1000
Process Hard Limit 1000
|

02-02-2011, 10:19 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
|
is there anything in /usr/local/apache/logs/stderr.log when 503 happens?
|

02-02-2011, 10:33 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
|
no, stderr.log file is empty
|

02-02-2011, 11:20 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
For the 503 errors (correlate with timestamp and URL requested), please find out the browser info (User Agent) in access_log. This is to see whether the errors were triggered by certain browser, with cookie or not, registered user only, etc. If cookie is clear, will the error go away? Is database (mysql) on the same machine or separate one?
Quote:
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] Max retries has been reached, 503!
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] oops! 503 Service Unavailable
2011-02-02 13:42:19.330 NOTICE [zz.zz.zz.zz:28897-0#APVH_xxx.com] Content len: 0, Request line: 'GET /a/b.php?t=2049861&page=5 HTTP/1.1'
|
|

02-03-2011, 10:01 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
|
Is running www only, mysql is running in other box.
Currently testing Litespeed at 3 web servers with same specs and running same site, with different options (default config, tunned, cache on/off...)
All get same 503 errors at times and lot of "Content len: 0, Request line: 'GET ...".
After some tests this is what i have:
- Error shows at multiple user-agents (firefox, chrome, etc).
- Logged-in, users with cookie.
- Large cookies (~4k).
Last edited by track1; 02-03-2011 at 10:10 AM..
|

02-03-2011, 10:03 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
|
DEBUG LOG: 503 error for user ip 123.123.123.123 attached
Last edited by track1; 02-03-2011 at 10:10 AM..
|

02-03-2011, 10:23 AM
|
|
Member
|
|
Join Date: Oct 2010
Posts: 46
|
|
|
Tested LiteSpeed/4.1RC4 in one server, and same 503 problems.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:44 PM.
|
|