503 Service Unavailable

Discussion in 'Install/Configuration' started by 3245, Sep 12, 2013.

  1. 3245

    3245 Member

    hello

    i installed litespeed succesfully, i see just a problem,
    when i am on a design website , i needed refresh any time for see my work out, but after 30/40 refresh, i see following error,

    then after 3/4 refresh i see resolved,

    load server was normally,

    why i see this error in some time?

    Thanks.
  2. mistwang

    mistwang LiteSpeed Staff

    You need to check error_log & stderr.log.
    If you use cPanel, those log files are under /usr/local/apache/logs/

    Maybe PHP crashed, or resource limit has been reached.
  3. 3245

    3245 Member

    how i can see resource limitation?

    i see following error, can you explain about them?

    Thanks
  4. mistwang

    mistwang LiteSpeed Staff

    that's normal, you can grep "oops" in error_log for messages related to 503.
  5. 3245

    3245 Member

    i find just 2 line

  6. NiteWave

    NiteWave Administrator

    please post the message between the 2 lines
  7. 3245

    3245 Member

    i Highlights for you
    red: this is just one site.

    [​IMG]
  8. 3245

    3245 Member

    i see following error in CSF, this problem may for same 503 error?
    [​IMG]
  9. NiteWave

    NiteWave Administrator

    you can try that as suggested by csf -- create a swap file.

    I think the 503 error is more related to your design website

    is the mysql fast enough ? does the php script consume too many memory ?
    have to be more specific and need more information to pin down it.
  10. 3245

    3245 Member

    if you need more information, i can provide you.
    we have 64GB ram
    12core CPU.
  11. NiteWave

    NiteWave Administrator

    ok, please PM the root access.
  12. 3245

    3245 Member

    Forgive me,
    this server is for Government Site's,
    Requires authorization for access to you,
    if possible, can you give command or anything for resolve them?
    tell me anything you need.

    Thanks.
  13. NiteWave

    NiteWave Administrator

  14. 3245

    3245 Member

    i attached php.ini
    Please see.

    Attached Files:

    • php.zip
      File size:
      13.6 KB
      Views:
      1
  15. NiteWave

    NiteWave Administrator

    suspected extensions in your php.ini:

    extension="suhosin.so"
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    zend_extension="/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x/ZendGuardLoader.so"
    extension="ixed.5.3.lin"

    please disable ZendGuardLoader first.
    see if 503 gone.

    is still happen, then disable the rest 1 by 1, to identify which one is the culprit.
  16. 3245

    3245 Member

    if i disable ZendGuardLoader, so how i can use zend coded in our sites?
  17. NiteWave

    NiteWave Administrator

    please refer:
    http://www.litespeedtech.com/support/forum/showthread.php?t=5765
    "3.if have to load ZendGuardLoader, then above is a workaround to modify the source code of Gallery 3!"

    i.e., you have to modify the php source code. note: this is not a litespeed or lsapi specific issue, it also apply for apache. it's an issue of ZendGuardLoader itself.
  18. 3245

    3245 Member

    problem was for mod_security
    how i can disable mod_security in litespeed ?
    becuase cpanel staff tell me mod_security is disable in apache, but in litespeed still is enable,
    how i can sure mod_security is disable on litespeed?

    Thanks.
  19. mistwang

    mistwang LiteSpeed Staff

  20. 3245

    3245 Member

    Thanks
    so when i disabled mod security in Apache, then run build match binary, then mod security is disabled on litespeed also?

    Thanks.

Share This Page