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

Go Back   LiteSpeed Support Forums > External Applications > PHP > Huge lsphp5 problem

Reply
 
Thread Tools Display Modes
  #11  
Old 09-07-2009, 12:05 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please downgrade to 4.0.6 for now, you need to run the installer in 4.0.6 package.
Reply With Quote
  #12  
Old 09-08-2009, 04:39 PM
robfrew robfrew is offline
Senior Member
 
Join Date: Dec 2007
Location: Salt Lake City UT
Posts: 151
Have you tried disabling eAccellerator to see if it may be the problem?
Reply With Quote
  #13  
Old 09-09-2009, 07:46 AM
alex95bg alex95bg is offline
Member
 
Join Date: Aug 2009
Posts: 15
No, i haven't but i really think that it is the problem. eAccelerator gives a huge performance boost in my site and i use the eaccelerator_get and eaccelerator_put functions so i can't try it out on the live environment
Though i will try with litespeed 4.0.6 because (i hope) it doesn't use the rc version of eAccelerator
Also it will be good if we can select eAccelerator and Suhosin versions from the Compile PHP tab, having rc or beta in a production environment isn't the best thing to do
Reply With Quote
  #14  
Old 09-13-2009, 09:20 AM
alex95bg alex95bg is offline
Member
 
Join Date: Aug 2009
Posts: 15
same thing when i downgraded to .6 but with the old php
Now when i try to recompile php i get
100 389 100 389 0 0 347 0 0:00:01 0:00:01 --:--:-- 347
100 389 100 389 0 0 346 0 0:00:01 0:00:01 --:--:-- 0

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
On Extracting LSAPI

i really hope that someone will help me
Reply With Quote
  #15  
Old 09-13-2009, 04:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please the forum for work around.
Reply With Quote
  #16  
Old 09-18-2009, 11:27 AM
alex95bg alex95bg is offline
Member
 
Join Date: Aug 2009
Posts: 15
Is there a work around? I didn't find one
Maybe i will do a os change, migrating from debian to centos soon, let's hope that the issue will go away
And now i fixed it with (a very stupid way) 1 minute cron job which counts the lsphp5 processes and if they are > 6 kills them all
Reply With Quote
  #17  
Old 09-26-2009, 11:53 AM
alex95bg alex95bg is offline
Member
 
Join Date: Aug 2009
Posts: 15
I switched over to Ubuntu 8.10 Server because debian broke very bad in the middle of a traffic spike
I watched the server for a week, everything is working great. i only had a few problems with the rc eaccelerator so i compiled myself the stable version and everything worked great
i suggest you don't download the RC version on php build, it has bugs and it's a very very bad idea to pud unstable software on production servers
Reply With Quote
  #18  
Old 12-23-2009, 10:26 AM
art182 art182 is offline
Member
 
Join Date: Oct 2006
Posts: 15
i think i have this same problem ...

version 4.0.9, 4.0.11 and on 4.0.6 also...

php 5.2.11 and APC 3.1.3

Quote:

4850 nobody 21 1 82132 47m 9608 R 49.3 4.8 0:04.34 lsphp5
4675 nobody 21 1 86304 57m 16m R 48.9 5.8 1:20.31 lsphp5 4671 nobody 20 0 8668 4908 4000 S 0.7 0.5 0:00.74 lshttpd
4672 nobody 21 1 44496 4408 3040 S 0.0 0.4 0:00.04 lsphp5 4674 nobody 20 0 7944 5756 1564 S 0.0 0.6 0:00.14 admin_php
4715 nobody 21 1 46668 15m 13m S 0.0 1.6 0:01.52 lsphp5 4842 nobody 21 1 44892 10m 8708 S 0.0 1.0 0:00.12 lsphp5
4844 nobody 21 1 44892 10m 8688 S 0.0 1.0 0:00.10 lsphp5 4845 nobody 21 1 44892 10m 8688 S 0.0 1.0 0:00.16 lsphp5
4848 nobody 21 1 44892 10m 8688 S 0.0 1.0 0:00.14 lsphp5
4852 nobody 21 1 44892 9996 8276 S 0.0 1.0 0:00.08 lsphp5

what's going on ? ( everything was good for about 1 year and now something f### )
maybe this is problem with LSAPI or PHP ?
Reply With Quote
  #19  
Old 12-23-2009, 12:25 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It is likely a PHP/APC internal problem.
Try turning off APC, or try eAccelerator, or upgrade APC.
Also, if it does not solve the problem, do
"strace -tt -T -p <pid_of_lsphp5>" and "strace -tt -T -p <pid_of_lshttpd>"

and send us the output.
Reply With Quote
  #20  
Old 12-24-2009, 05:34 AM
art182 art182 is offline
Member
 
Join Date: Oct 2006
Posts: 15
oh i know whats going on now...
there was problem with one of virtual hosts ( wordpress + spam bot + php error )

everything ok ( 4.0.12 )
sorry for trouble
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 12:56 AM.



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