error 503

3245

Well-Known Member
#1
Hello
one site when have much visitor, get error 503

below is log
=======
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us] Find context with URI: [/], location: [/home/xxxx/public_html/]
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us] Find .htaccess context with URI: [/], location: [/home/xxxx/public$
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us] Find handler [APVH_xxxx_Suphp:] for [.php]
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us] processContextPath() return 0
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us] run lsapi processor.
2014-01-14 02:37:49.246 [DEBUG] [uds://tmp/lshttpd/APVH_xxxx.us_Suphp.sock] connection unavailable, add new request [199.30.20.26:11230-0$
2014-01-14 02:37:49.246 [DEBUG] [xxx.30.20.26:11230-0#APVH_xxxx.us:lsapi] processNewReq() return 0.

===============

Have you any suggestion?

Thanks.
 
Last edited:

mistwang

LiteSpeed Staff
#2
The log entries you posted does not cause 503 errors, 503 error is usually caused by PHP crashing. You need to look for log entry with "connection reset by peer".
 

3245

Well-Known Member
#3
thanks
"oops" is about 503 error or "connection reset by peer: ?
i have below error?
====
[xx.xx.25.220:39239-6] HttpIOLink::handleEvents() events=25!
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] HttpConnection::eek:nReadEx(), state: 0!
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] readToHeaderBuf().
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] read error: Connection reset by peer
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] Read from client: 0
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] readToHeaderBuf() return 0.
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39239-6] Close socket ...
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] HttpIOLink::handleEvents() events=25!
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] HttpConnection::eek:nReadEx(), state: 0!
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] readToHeaderBuf().
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] read error: Connection reset by peer
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] Read from client: 0
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] readToHeaderBuf() return 0.
2014-01-20 19:45:07.721 [DEBUG] [xx.xx.25.220:39274-3] Close socket ...

==============
[xx.xx.25.220:39679-0] read error: Connection reset by peer
2014-01-20 19:45:08.168 [DEBUG] [xx.xx.25.220:39679-0] Read from client: 0
2014-01-20 19:45:08.168 [DEBUG] [xx.xx.25.220:39679-0] readToHeaderBuf() return 0.
2014-01-20 19:45:08.168 [DEBUG] [xx.xx.25.220:39679-0] Close socket ...
==================
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] write error: Connection reset by peer
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] Written to client: -1
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] HttpConnection::flush()!
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] write error: Broken pipe
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] Written to client: -1
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] HttpIOLink::continueWrite()...
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] write resumed!
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] HttpIOLink::handleEvents() events=17!
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] HttpIOLink::suspendRead()...
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] HttpExtConnector::cleanUp() ...
2014-01-20 19:45:39.449 [DEBUG] [xx.xx.73.21:41629-0#APVH_dxxxovie.in:lsapi] Close socket ...

======================================
and oops log's:

===
2014-01-20 20:01:19.016 [DEBUG] [xx.xx.129.107:1718-1] processNewReq() return 0.
2014-01-20 20:01:19.016 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpIOLink::handleEvents() events=4!
2014-01-20 20:01:19.016 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpIOLink::suspendWrite()...
2014-01-20 20:01:19.016 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpConnection::sendHttpError(),code=503 Service Unavailable
2014-01-20 20:01:19.016 [NOTICE] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] oops! 503 Service Unavailable
2014-01-20 20:01:19.016 [NOTICE] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] Content len: 0, Request line:
GET /2014/01/download-american-horror-story/ HTTP/1.1
===========
2014-01-20 20:01:24.008 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpIOLink::handleEvents() events=4!
2014-01-20 20:01:24.008 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpIOLink::suspendWrite()...
2014-01-20 20:01:24.008 [DEBUG] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] HttpConnection::sendHttpError(),code=503 Service Unavailable
2014-01-20 20:01:24.008 [NOTICE] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] oops! 503 Service Unavailable
2014-01-20 20:01:24.008 [NOTICE] [xx.xx.141.248:51380-35#APVH_2.bxxxm4.in:lsapi] Content len: 0, Request line:
GET /2014/01/download-american-horror-story/ HTTP/1.1

========================
Note: all thing is fine, but when visitor reach to much, some users see 503 error and log is above.



Thanks.
 

mistwang

LiteSpeed Staff
#4
three "connection reset" will result in one 503 error.
In your case, it could be the process limit is too low for that account.
check stderr.log as well.
 
Top