[RESOLVED] 503 error

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

  1. DanEZPZ

    DanEZPZ Member

    Hi,

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

    [​IMG]

    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.

    Thanks
    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

    LSAPI_ALLOW_CORE_DUMP

    to lsphp5 external app configuration to let PHP dump a core file.
    http://www.litespeedtech.com/php-litespeed-sapi.html

    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
    bt

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

    MikeDVB New Member

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

    DanEZPZ Member

    Thanks, the following had to be commented out:

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

Share This Page