LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Cant install xcache or eaccelerator

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2008, 10:59 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Default 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?
Reply With Quote
  #2  
Old 04-17-2008, 11:07 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You cannot use both, have to pick one.
Reply With Quote
  #3  
Old 04-17-2008, 11:10 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
  #4  
Old 04-18-2008, 06:39 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Any reply?
Reply With Quote
  #5  
Old 04-18-2008, 06:50 AM
ffeingol ffeingol is offline
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).
Reply With Quote
  #6  
Old 04-18-2008, 08:30 AM
anewday anewday is offline
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.
Reply With Quote
  #7  
Old 04-18-2008, 08:40 AM
ffeingol ffeingol is offline
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
Reply With Quote
  #8  
Old 04-18-2008, 09:03 AM
anewday anewday is offline
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"
Reply With Quote
  #9  
Old 04-18-2008, 09:06 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
That is simply not an option.
Reply With Quote
  #10  
Old 04-18-2008, 01:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
trouble shooting tips:
http://www.litespeedtech.com/support...wiki:php:lsapi

strace the PHP process or even gdb it, suhosin may cause trouble I believe.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.