|
|

04-17-2008, 10:59 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Cant install xcache or eaccelerator
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?
|

04-17-2008, 11:07 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
You cannot use both, have to pick one.
|

04-17-2008, 11:10 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by mistwang
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
|

04-18-2008, 06:39 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
Any reply?
|

04-18-2008, 06:50 AM
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: /dev/null
Posts: 290
|
|
|
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).
|

04-18-2008, 08:30 AM
|
|
Senior Member
|
|
Join Date: Nov 2007
Location: New York
Posts: 723
|
|
|
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.
|

04-18-2008, 08:40 AM
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: /dev/null
Posts: 290
|
|
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 
|

04-18-2008, 09:03 AM
|
|
Senior Member
|
|
Join Date: Nov 2007
Location: New York
Posts: 723
|
|
I don't use suhosin or ioncube, try without them and see if the error occurs.
These are my settings in php.ini
Quote:
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"
|
|

04-18-2008, 09:06 AM
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: /dev/null
Posts: 290
|
|
|
That is simply not an option.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:48 PM.
|
|