suddenly 503 error occured :(

Discussion in 'General' started by ericknichos, Oct 3, 2011.

  1. ericknichos

    ericknichos New Member

    I have about a month using LiteSpeed ​​and no problems, then suddenly 503 error appeared on my web, and it is very likely to occur, which make a server restart itself after 503 occur, if anyone can help me, I've tried separately raise the php.ini memory_limit to 64, but still does not work

    Code:
    [QUOTE]503 Service Unavailable
    The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
    LiteSpeed Technologies is not responsible for administration and contents of this web site!
    
    [/QUOTE]
    Code:
    503 Service Unavailable
    The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
    LiteSpeed Technologies is not responsible for administration and contents of this web site!
    
    
    
    
    2011-10-02 23:45:50.412 [NOTICE] [173.246.35.180:50712-0#xxx106] Content len: 123, Request line: 'POST /includes/process.php?action=update HTTP/1.1'
    2011-10-02 23:45:50.417 [INFO] [173.246.35.180:50711-0#xxx106] connection to [/tmp/lshttpd/xxx106_lsphp.sock.465] on request #14, confirmed, 1, associated process: 2740, running: 1, error: Connection reset by peer!
    2011-10-02 23:45:50.418 [NOTICE] [173.246.35.180:50711-0#xxx106] POST request in process stage, fail with 503
    2011-10-02 23:45:50.418 [NOTICE] [173.246.35.180:50711-0#xxx106] oops! 503 Service Unavailable
    2011-10-02 23:45:50.418 [NOTICE] [173.246.35.180:50711-0#xxx106] Content len: 120, Request line: 'POST /includes/process.php?action=update HTTP/1.1'
    2011-10-02 23:45:54.881 [INFO] [213.192.19.136:2430-10#xxx106] connection to [/tmp/lshttpd/xxx106_lsphp.sock.465] on request #3, confirmed, 1, associated process: 2740, running: 1, error: Connection reset by peer!
    
    Code:
    2011-10-03 00:47:13.868 [INFO] [98.220.29.26:61661-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.299] on request #0, confirmed, 0, associated process: 25573, running: 1, error: Connection reset by peer!
    2011-10-03 00:47:13.868 [INFO] [98.220.29.26:61661-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.299] on request #0, confirmed, 0, associated process: 25573, running: 1, error: Connection reset by peer!
    2011-10-03 00:47:13.869 [INFO] [98.220.29.26:61661-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.299] on request #0, confirmed, 0, associated process: 25573, running: 1, error: Connection reset by peer!
    2011-10-03 00:47:13.869 [NOTICE] [98.220.29.26:61661-0#xxxx110] Max retries has been reached, 503!
    2011-10-03 00:47:13.869 [NOTICE] [98.220.29.26:61661-0#xxxx110] oops! 503 Service Unavailable
    2011-10-03 00:47:13.870 [NOTICE] [98.220.29.26:61661-0#xxxx110] Content len: 0, Request line: 'GET /browse.php?u=Oi8vc2NhcmVkbW9ua2V5cy5uZXQvaW5kZXgucGhwP3RvcGljPTEyMDQ3LjYwMA%3D%3D&b=13 HTTP/1.1'
    2011-10-03 00:47:13.870 [INFO] [98.220.29.26:61661-0#xxxx110] Cookie len: 206, ; c[scaredmonkeys.net][/][PHPSESSID]=k60r1aivoate0mb25d3je8uvb4; c[quantserve.com][/][mc]=4e899bde-052fd-c4508-04441; c[paypal.com][/][Apache]=10.190.8.156.1317641182820962
    2011-10-03 00:47:13.929 [INFO] [173.246.35.180:50216-0#xxx109] connection to [/tmp/lshttpd/xxx109_lsphp.sock.370] on request #0, confirmed, 0, associated process: 25632, running: 1, error: Connection reset by peer!
    2011-10-03 00:47:13.929 [INFO] [173.246.35.180:50214-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.239] on request #0, confirmed, 0, associated process: 25618, running: 1, error: Connection reset by peer!
    2011-10-03 00:48:14.871 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=25541 !
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25573
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25580
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25653
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25681
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25731
    2011-10-03 00:48:14.871 [INFO] [CLEANUP] Clean up child process with pid: 25752
    2011-10-03 00:48:14.972 [NOTICE] [AutoRestarter] child process with pid=25541 exited with status=0!
    2011-10-03 00:48:16.989 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=25542 !
    2011-10-03 00:48:16.989 [INFO] [CLEANUP] Clean up child process with pid: 25554
    2011-10-03 00:48:16.989 [INFO] [CLEANUP] Clean up child process with pid: 25618
    2011-10-03 00:48:16.989 [INFO] [CLEANUP] Clean up child process with pid: 25622
    2011-10-03 00:48:16.989 [INFO] [CLEANUP] Clean up child process with pid: 25632
    2011-10-03 00:48:17.001 [NOTICE] [AutoRestarter] child process with pid=25542 exited with status=0!
    2011-10-03 00:48:17.001 [NOTICE] [PID:25537] Server Stopped!
    Code:
    2011-10-03 00:35:35.453 [INFO] [41.86.47.145:36190-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.455 [INFO] [41.86.47.145:36190-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.456 [INFO] [41.86.47.145:36190-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.456 [NOTICE] [41.86.47.145:36190-0#xxxx110] Max retries has been reached, 503!
    2011-10-03 00:35:35.456 [NOTICE] [41.86.47.145:36190-0#xxxx110] oops! 503 Service Unavailable
    2011-10-03 00:35:35.456 [NOTICE] [41.86.47.145:36190-0#xxxx110] Content len: 0, Request line: 'GET /browse.php?u=Oi8vbS5mYWNlYm9vay5jb20vcGhvdG8ucGhwP2ZiaWQ9NDQ2Mjk4NTI0NDM3JmlkPTU1MjYxNDQzNyZzZXQ9YS40MzIxNDcxMzQ0MzcuMjA5MTA0LjU1MjYxNDQzNyZyZWZpZD0xMyZodHRw&b=13 HTTP/1.1'
    2011-10-03 00:35:35.456 [INFO] [41.86.47.145:36190-0#xxxx110] Cookie len: 488, ; c[facebook.com][/][datr]=mn-JTsqKAE751oAZlmfiIzHf; c[facebook.com][/][reg_fb_ref]=http%253A%252F%252Fm.facebook.com%252Flogin.php%253Fm%253Dm%2526refsrc%253Dhttp%25253A%25252F%25252Fm.facebook.com%25252F%2526refid%253D9%2526http; c[facebook.com][/][L]=2; c[facebook.com][/][m_user]=stephdo1986%2540yahoo.com%253A552614437%253AR4VUj6%252B3P6nAg8wW%253A0%253Av_1%252Cajax_0%252Cwidth_0%252Cpxr_0%252Cgps_0%253A1317635063; c[facebook.com][/][W]=1317638825
    2011-10-03 00:35:35.522 [INFO] [173.246.35.180:55625-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.242] on request #0, confirmed, 0, associated process: 3725, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.522 [INFO] [70.187.170.251:49589-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.523 [INFO] [173.246.35.180:55625-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.242] on request #0, confirmed, 0, associated process: 3725, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.523 [INFO] [173.246.35.180:55626-0#xxx107] connection to [/tmp/lshttpd/xxx107_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3731, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.523 [INFO] [70.187.170.251:49589-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.524 [INFO] [173.246.35.180:55626-0#xxx107] connection to [/tmp/lshttpd/xxx107_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3731, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.524 [INFO] [173.246.35.180:55625-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.242] on request #0, confirmed, 0, associated process: 3725, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.524 [NOTICE] [173.246.35.180:55625-0#xxxx110] Max retries has been reached, 503!
    2011-10-03 00:35:35.524 [NOTICE] [173.246.35.180:55625-0#xxxx110] oops! 503 Service Unavailable
    2011-10-03 00:35:35.524 [NOTICE] [173.246.35.180:55625-0#xxxx110] Content len: 0, Request line: 'GET /browse.php?u=Oi8vc21nLnBob3RvYnVja2V0LmNvbS9hbGJ1bXMvdjMwL2NIaU5rZUVlQmFCaS9hYmxl&b=13&f=norefer HTTP/1.1'
    2011-10-03 00:35:35.524 [INFO] [173.246.35.180:55625-0#xxxx110] Cookie len: 34, 
    2011-10-03 00:35:35.524 [INFO] [70.187.170.251:49589-0#xxxx110] connection to [/tmp/lshttpd/xxxx110_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3752, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.524 [NOTICE] [70.187.170.251:49589-0#xxxx110] Max retries has been reached, 503!
    2011-10-03 00:35:35.524 [NOTICE] [70.187.170.251:49589-0#xxxx110] oops! 503 Service Unavailable
    2011-10-03 00:35:35.524 [NOTICE] [70.187.170.251:49589-0#xxxx110] Content len: 121, Request line: 'POST //includes/process.php?action=update HTTP/1.1'
    2011-10-03 00:35:35.525 [INFO] [173.246.35.180:55626-0#xxx107] connection to [/tmp/lshttpd/xxx107_lsphp.sock.348] on request #0, confirmed, 0, associated process: 3731, running: 1, error: Connection reset by peer!
    2011-10-03 00:35:35.525 [NOTICE] [173.246.35.180:55626-0#xxx107] Max retries has been reached, 503!
    2011-10-03 00:35:35.525 [NOTICE] [173.246.35.180:55626-0#xxx107] oops! 503 Service Unavailable
    2011-10-03 00:35:35.525 [NOTICE] [173.246.35.180:55626-0#xxx107] Content len: 0, Request line: 'GET /browse.php?
    i running a webproxy
    i hope someone can help me :(
    thanks
  2. mistwang

    mistwang LiteSpeed Staff

    You need to undo the change to your PHP setup, upgrade/downgrade, opcode cache, etc. If you made changes to LSWS configuration, restore it.

    try a reinstall of LSWS to start from fresh.
  3. ericknichos

    ericknichos New Member

    followed your advice, and after reinstall "fresh" litespeed still have an error log

    Code:
    2011-10-05 09:12:56.001 [NOTICE] [147.229.203.116:6674-0#xxx] Retry with new process group.
    2011-10-05 09:12:56.001 [NOTICE] [147.229.203.116:6675-0#xxx] No request delivery notification has been received from LSAPI process group [1335], possible run away process.
    2011-10-05 09:12:56.001 [NOTICE] [147.229.203.116:6675-0#xxx] Retry with new process group.
    2011-10-05 09:12:56.001 [NOTICE] [147.229.203.116:6676-0#xxx] No request delivery notification has been received from LSAPI process group [1335], possible run away process.
    2011-10-05 09:12:56.001 [NOTICE] [147.229.203.116:6676-0#xxx] Retry with new process group.
    2011-10-05 09:12:56.499 [INFO] [71.193.61.118:50041-0#xxx] connection to [/tmp/lshttpd/xxx_lsphp.sock] on request #2, confirmed, 1, associated process: 1335, running: 1, error: Connection reset by peer!
    2011-10-05 09:12:56.499 [NOTICE] [71.193.61.118:50041-0#xxx] POST request in process stage, fail with 503
    2011-10-05 09:12:56.499 [NOTICE] [71.193.61.118:50041-0#xxx] oops! 503 Service Unavailable
    2011-10-05 09:12:56.499 [NOTICE] [71.193.61.118:50041-0#xxx] Content len: 117, Request line: 'POST /includes/process.php?action=update HTTP/1.1'
    2011-10-05 09:12:58.958 [INFO] [200.13.137.29:33553-30#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #16, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:01.691 [INFO] [41.207.42.2:55453-0#xxx1] File not found [/usr/local/lsws/DEFAULT/html/xxx1/msdownload/update/v3/static/trustedr/en/authrootseq.txt]
    2011-10-05 09:13:02.428 [INFO] [86.219.113.138:49455-0#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #3, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:02.434 [INFO] [86.219.113.138:49455-0#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #34, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:02.439 [INFO] [86.219.113.138:49455-0#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #4, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:02.440 [NOTICE] [86.219.113.138:49455-0#xxx2] Max retries has been reached, 503!
    2011-10-05 09:13:02.440 [NOTICE] [86.219.113.138:49455-0#xxx2] oops! 503 Service Unavailable
    2011-10-05 09:13:02.440 [NOTICE] [86.219.113.138:49455-0#xxx2] Content len: 0, Request line: 'GET /browse.php?u=Oi8vczQudXMuaW1nc3JjLnJ1L2sva2FyYXQxMC84LzI1MDA1NDE4cGtKLmpwZw%3D%3D&b=13 HTTP/1.1'
    2011-10-05 09:13:02.440 [INFO] [86.219.113.138:49455-0#xxx2] Cookie len: 185, ; c[imgsrc.ru][/][lang]=en; c[rambler.ru][/][ruid]=y2ETBtyyjE6CQAEAAfgGYg%3D%3D; c[imgsrc.ru][/][show]=pix; c[rambler.ru][/][top100rb]=MjQ1KzI4Mw%3D%3D
    2011-10-05 09:13:02.452 [INFO] [86.219.113.138:49456-0#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #10, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:03.396 [INFO] [186.87.78.220:1850-9#xxx] connection to [/tmp/lshttpd/xxx_lsphp.sock] on request #2, confirmed, 1, associated process: 1335, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.313 [INFO] [41.140.42.202:12575-1#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #18, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.320 [INFO] [41.140.42.202:12575-1#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #1, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.328 [INFO] [200.13.137.29:33662-6#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #8, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.336 [INFO] [200.13.137.29:33553-33#xxx2:lsapi] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #5, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.338 [INFO] [200.13.137.29:33662-6#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #1, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.344 [INFO] [200.13.137.29:33553-33#xxx2:lsapi] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #5, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.345 [INFO] [200.13.137.29:33662-6#xxx2] connection to [/tmp/lshttpd/xxx2_lsphp.sock] on request #1, confirmed, 1, associated process: 10744, running: 1, error: Connection reset by peer!
    2011-10-05 09:13:04.345 [NOTICE] [200.13.137.29:33662-6#xxx2] Max retries has been reached, 503!
    2011-10-05 09:13:04.345 [NOTICE] [200.13.137.29:33662-6#xxx2] oops! 503 Service Unavailable
    2011-10-05 09:13:04.345 [NOTICE] [200.13.137.29:33662-6#xxx2] Content len: 0, Request line: 'GET /browse.php?u=Oi8vMjA4Ljg4LjIyNy4yNDAvbG92ZWlucHVibGljLm5ldC9zci90aHVtYnMvYmMvNjAyMDUuanBn&b=13 HTTP/1.1'
    
    503 occurred
    I think there is nothing wrong with my settings
    but when I see real time reports, sometimes only a few hours of uptime, it could mean down and I do not know: (
  4. mistwang

    mistwang LiteSpeed Staff

    That's because PHP crashes while processing the request, you need to check stderr.log, see if anything related.
    As the request url has been logged, you can give it a try see if you can reproduce the 503 error, if you can, you can trouble shoot it further with strace and core dumps.

Share This Page