Permission issue / trouble debugging

Discussion in 'General' started by ffeingol, Aug 24, 2008.

  1. ffeingol

    ffeingol Well-Known Member

    We're seeing the following error in our error_log:

    The server is running suexec and it's running the latest LSWS. The problem is we can't figure out what file it's getting a permission denied on. We're run with full debugging on (just toggled debugging more) nad the log is not giving us any clues.

    Any thoughts from anyone?


  2. ffeingol

    ffeingol Well-Known Member

    I'm also seeing this message:

    A) The server is setup to run php suexec
    B) The cgi time out is set to 120 seconds (soft timeout).

    This process, however, dies after about 50 - 60 seconds. It is a long running process as it's gathering stats from several different servers over https.
  3. ffeingol

    ffeingol Well-Known Member

    I figured it out by stracing the PHP process. The process was trying to connect to a server that no longer existed and was timing out on that connection. The PHP code bailed if it could not connect.
  4. mistwang

    mistwang LiteSpeed Staff

    That's normal, the lshttpd process start suexec PHP process does not have right to kill the process any more. so killing that PHP process will be handed to the parent lshttpd process running as root.

Share This Page