503 is back on 2.1.9 / lsapi version 1.7/ PHP 5.0.4

Discussion in 'Bug Reports' started by SyNeo, Jan 18, 2006.

  1. SyNeo

    SyNeo Well-Known Member


    This symptom has occurred again. In one of the sites areas, I'm constantly receiving this error:

    503 Service Unavailable
    The server is temporarily busy, try again later!

    Hoping to resolve it, I have both upgraded the lshttpd, and the lsapi. But unfortunately, it didn't help.

    The error.log shows the following info:

    2006-01-18 04:15:25.914 [INFO] [xxx.xxx.xxx.xxx:16009-0#site] Connection idle time: 16 while in state: 5 watching for event: 25,close!
    2006-01-18 04:15:25.914 [INFO] [xxx.xxx.xxx.xxx:16009-0#site] Content len: 0, Request line:
    GET /index.php?page=Schedule:ShowSchMonth HTTP/1.1
    2006-01-18 04:15:25.914 [INFO] [xxx.xxx.xxx.xxx:16009-0#site] HttpExtConnector state: 8, request body sent: 0, response body size: 0, response body sent:0, left in buffer: 0, attempts: 2.

    I eventually discovered that we had an endless loop there (wonder how it happened :)), and fixing it resolved the issue. But I still thought that these errors are gone long ago. Also, it seems as the "Auto Fix 503 Error" didn't quite work here?
  2. mistwang

    mistwang LiteSpeed Staff

    The "Auto Fix 503 errors" feature will restart LSWS automatically when there are certain amount of 503 errors within certain time period, it can be fix some PHP reliabilities issues, but can not do much to PHP coding errors, as the new PHP instances will have this kind of problem soon after the buggy PHP code got executed, the 503 error will be back. :)

    As long as lshttpd restarts automatically, "Auto Fix 503 errors" is working. :)

Share This Page