503 Errors

Discussion in 'General' started by zoom, Apr 27, 2009.

  1. zoom

    zoom Well-Known Member

    I seem to be getting lot's of 503 errors which requires me to restart the LiteSpeed webserver. I'm not sure why it's happening. At first I thought it might be a php memory leak, now I'm wondering if it's a configuration issue. Thoughts?

    Max Connections: 20
    Initial Request Timeout 800
    Persistent Connection Yes
    Server Command $SERVER_ROOT/fcgi-bin/lsphp5
    Backlog 100

    Here are what the process look like (typically when I have the 503 errors there are lot's of these processes):

    lsws 30312 0.0 0.3 22972 8372 ? SN 12:42 0:00 lsphp5
    lsws 30353 0.0 0.2 19368 5384 ? SNs 11:55 0:00 lsphp5
  2. anewday

    anewday Moderator

    Why set PHP_LSAPI_MAX_REQUESTS so low? I would raise it a lot more.
  3. mistwang

    mistwang LiteSpeed Staff

    Are you using the latest 4.0.2?
    You may need to strace those lsphp5 processes. Maybe it was caused by a bad script. Also, check stderr.log and error.log

Share This Page