Cant install xcache or eaccelerator

vivek

Well-Known Member
#1
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?
 

vivek

Well-Known Member
#3
You cannot use both, have to pick one.
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
 

ffeingol

Well-Known Member
#5
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).
 

ffeingol

Well-Known Member
#7
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 :)
 

anewday

Well-Known Member
#8
I don't use suhosin or ioncube, try without them and see if the error occurs.

These are my settings in php.ini

extension_dir = "/usr/local/lsws/lsphp4/lib/php/extensions/no-debug-non-zts-20020429"
extension="eaccelerator.so"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="/tmp/lswseaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="0"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="86400"
eaccelerator.shm_prune_period="7200"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys="shm"
eaccelerator.sessions="shm"
eaccelerator.content="shm"
 

ffeingol

Well-Known Member
#11
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.
 
Top