Cant install xcache or eaccelerator

Discussion in 'Install/Configuration' started by vivek, Apr 18, 2008.

  1. vivek

    vivek New Member

    Hello

    I tried to install both, EA and Xcache. After installing, lsws is giving
    503 Service Unavailable

    error.

    I cant find anything from the log

    Code:
    by peer!
    2008-04-18 01:52:14.469 [NOTICE] [165.21.155.112:26930-0#APVH_kuruvi.in] oops! 503 Service Unavailable
    2008-04-18 01:52:14.469 [NOTICE] [165.21.155.112:26930-0#APVH_kuruvi.in] Content len: 0, Request line:
    GET /favicon.ico HTTP/1.1
    2008-04-18 01:52:14.469 [NOTICE] [165.21.155.112:26930-0#APVH_kuruvi.in] Redirect: #1, URL: /blog/index.php
    2008-04-18 01:52:14.531 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23966 !
    2008-04-18 01:52:14.532 [INFO] [AutoRestater] Clean up child process with pid: 24251
    2008-04-18 01:52:14.635 [NOTICE] [AutoRestarter] child process with pid=23966 exited with status=0!
    2008-04-18 01:52:14.635 [NOTICE] [PID:23937] Server Stopped!
    2008-04-18 01:52:15.026 [INFO] [HTAccess] Updating configuration from [/home/beladein/public_html/.htaccess]
    2008-04-18 01:52:15.760 [INFO] [lsphp5] add child process pid: 24570
    2008-04-18 01:52:15.760 [INFO] [lsphp5] pid list size: 1
    2008-04-18 01:52:15.806 [INFO] Remove pid: 24570
    2008-04-18 01:52:15.806 [INFO] Pid: 24570 associated with [lsphp5]
    2008-04-18 01:52:15.806 [INFO] [lsphp5] pid list size: 0, pid stop list size: 0
    2008-04-18 01:52:15.806 [NOTICE] [lsphp5] stop worker processes
    2008-04-18 01:52:15.806 [INFO] [lsphp5] 9 request being processed, kill external app later.
    2008-04-18 01:52:15.806 [INFO] [218.208.93.41:58660-0#APVH_aldomain.com] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, error: Connection reset by peer!
    2008-04-18 01:52:15.826 [INFO] [lsphp5] add child process pid: 24571
    2008-04-18 01:52:15.826 [INFO] [lsphp5] pid list size: 1
    2008-04-18 01:52:15.868 [INFO] Remove pid: 24571
    2008-04-18 01:52:15.868 [INFO] Pid: 24571 associated with [lsphp5]
    2008-04-18 01:52:15.868 [INFO] [lsphp5] pid list size: 0, pid stop list size: 0
    2008-04-18 01:52:15.868 [NOTICE] [lsphp5] stop worker processes
    2008-04-18 01:52:15.868 [INFO] [lsphp5] 9 request being processed, kill external app later.
    2008-04-18 01:52:15.868 [INFO] [218.208.93.41:58660-0#APVH_aldomain.com] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, error: Connection reset by peer!
    2008-04-18 01:52:15.887 [INFO] [lsphp5] add child process pid: 24572
    2008-04-18 01:52:15.887 [INFO] [lsphp5] pid list size: 1
    2008-04-18 01:52:15.930 [INFO] Remove pid: 24572
    2008-04-18 01:52:15.930 [INFO] Pid: 24572 associated with [lsphp5]
    2008-04-18 01:52:15.930 [INFO] [lsphp5] pid list size: 0, pid stop list size: 0
    2008-04-18 01:52:15.930 [NOTICE] [lsphp5] stop worker processes
    2008-04-18 01:52:15.930 [INFO] [lsphp5] 9 request being processed, kill external app later.
    2008-04-18 01:52:15.930 [INFO] [218.208.93.41:58660-0#APVH_aldomain.com] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, error: Connection reset by peer!
    2008-04-18 01:52:15.930 [NOTICE] [218.208.93.41:58660-0#APVH_aldomain.com] oops! 503 Service Unavailable
    2008-04-18 01:52:15.930 [NOTICE] [218.208.93.41:58660-0#APVH_aldomain.com] Content len: 0, Request line:
    GET /main//index.php?option=com_frontpage&Itemid=1&lang=my HTTP/1.1

    I am using the version 3.10 , with default settings. Its a fresh installation, not the updated version.

    Any idea?
  2. mistwang

    mistwang LiteSpeed Staff

    You cannot use both, have to pick one.
  3. vivek

    vivek New Member

    lol :)

    I know, I mean to say, I tried both one by one. Installed xcache first and got error. Thinking that it may be the error of xcache, I uninstalled it and installed EA. But both gave me the same error.

    Sorry for the confusion.

    Vivek
  4. vivek

    vivek New Member

    Any reply?
  5. ffeingol

    ffeingol New Member

    We've had similar issue. eAccelerator works for a while then some sites begin to get 503's. We could not track it down, so eventually we had to just stop using eAccelerator (which is a pitty).
  6. anewday

    anewday Moderator

    I have no issues with EA with 3.3.10 so far, did you try lsphp4 with it? Paste your EA settings from php.ini here.
  7. ffeingol

    ffeingol New Member

    zend_extension="/opt/php4/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
    eaccelerator.shm_size="0"
    eaccelerator.cache_dir="/phpcache/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="0"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="3600"
    eaccelerator.shm_prune_period="180"
    eaccelerator.shm_only="0"
    eaccelerator.compress="0"
    eaccelerator.compress_level="9"

    This is also mixed in with Zend, ionCube and Suhosin just to make it fun :)
  8. anewday

    anewday Moderator

    I don't use suhosin or ioncube, try without them and see if the error occurs.

    These are my settings in php.ini

  9. ffeingol

    ffeingol New Member

    That is simply not an option.
  10. mistwang

    mistwang LiteSpeed Staff

  11. ffeingol

    ffeingol New Member

    We had the same issue on another server with just IonCube and Zend. It not not happen all the time or in any consistent manner. Everything is fine for days and then "poof" one site starts to get 503's. The site (that notices it first) is extremely popular so it's not as if the pages are not being accessed.
  12. mistwang

    mistwang LiteSpeed Staff

    If you use suEXEC, you can strace the php process when experiencing the problem.

Share This Page