[RESOLVED] 503 error

Discussion in 'General' started by DanEZPZ, Feb 24, 2010.

  1. DanEZPZ

    DanEZPZ Well-Known Member


    One of my clients is getting the following (domain blanked out)


    We're running 4.0.13 but it also did it on 4.0.12. Any ideas why this would happen and what we can do to stop it? This seems to have only started within the last couple of days.

    Last edited by a moderator: Feb 26, 2010
  2. mistwang

    mistwang LiteSpeed Staff

    It is likely caused by PHP crash.
    You can add environment variable


    to lsphp5 external app configuration to let PHP dump a core file.

    restart LSWS, then try the request causes 503 error, if core file produced under the same directory holding the script, then you can check the core file with GDB

    gdb /usr/local/lsws/fcgi-bin/lsphp5 core_file_name

    It lists the stack call backs when PHP crashes, you can get some clue from it.
  3. MikeDVB

    MikeDVB Well-Known Member

    Admin Console->Server->External App->LSAPI5->Environment variables
  4. DanEZPZ

    DanEZPZ Well-Known Member

    Thanks, the following had to be commented out:

    if (extension_loaded('zlib') && !ini_get('zlib.output_compression')) @ob_start('ob_gzhandler');

Share This Page