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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LSWS 4.1 Release > lsphp issue

Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2011, 10:52 AM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Default lsphp issue

Hi there,

Today i've upgraded one of servers to 4.1RC5 to use AIO support which fixes IO bottleneck and CPU is more utilized after that which is greatly appreciated
All websites now works like a charm and it really boosts!

But after few hours all php processes has been stopped working and processing suddenly and didn't proceed with any php script for minutes
CPU is fully idle and IOWAIT is 0 but no php process is handled

I just found this row in error log:
[notice] EACCELERATOR(17699): PHP crashed on opline 14 of read() at /home/lool/public_html/includes/core/core.cache.php:65

Then switched to XCache instead of EAccelerator, but after few more hours the same problem with php processes occurred without any error

I didn't check with static files if they are proceeded properly or not, but reloading/restarting lsws service fixed the problem
I'm not sure if its whole lshttpd issue or just for lsphp5 processes

For now i'm really confused
Any suggestion is welcome

Regards

Last edited by IrPr; 04-09-2011 at 04:13 PM..
Reply With Quote
  #2  
Old 04-09-2011, 07:08 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Do you have anything abnormal in error.log?
Do you get 503 errors?
Any lsphp process running?
Please enable debug logging with "killall -USR2 litespeed", make sure "Log Level" is "DEBUG", "Debug Level" is "NONE" in advance.
Also, you can run "strace -tt -T -p <pid_of_one_litespeed_child_process>", the output will help debugging the issue.
Reply With Quote
  #3  
Old 04-09-2011, 10:31 PM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by mistwang View Post
Do you have anything abnormal in error.log?
Do you get 503 errors?
Any lsphp process running?
Please enable debug logging with "killall -USR2 litespeed", make sure "Log Level" is "DEBUG", "Debug Level" is "NONE" in advance.
Also, you can run "strace -tt -T -p <pid_of_one_litespeed_child_process>", the output will help debugging the issue.
I didn't find any 503 or 408 errors in access logs and Log Level it was set to "ERROR" which no any abnormal row was it in error.log

I see a few lsphp process running when it hung

DEBUG Log Level has been enabled to see whats wrong exactly,

but in fact i can't risk on this server because of customers that will get timeouts in case of this issue occurrence and added a cronjob to restart the lsws frequency

Do you have any suggestion to use another script instead of restart? It may doesn't log the reason of this issue but it restarts
I mean an script which can detect this issue very immediately and forces restarts then

Thanks in advance
Reply With Quote
  #4  
Old 04-09-2011, 10:55 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
since it looks like to be an opcode related issue, can you disable opcode cache and see if any improvement.
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 05:48 PM.



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