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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Suddenly server crash, too many lsphp4 created

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2009, 01:54 PM
fastproxy fastproxy is offline
Senior Member
 
Join Date: Nov 2007
Posts: 95
Default Suddenly server crash, too many lsphp4 created

Suddenly, I got alot of these error in /var/log/messages
Code:
Jan 10 15:47:08 myserver kernel: lsphp4[3480] general protection rip:55f47e rsp:7fffc370ce60 error:0
Jan 10 15:48:03 myserver kernel: lsphp4[3592] general protection rip:55f47e rsp:7ffff37ebf40 error:0
Jan 10 15:48:20 myserver kernel: lsphp4[3580]: segfault at 0000000000000011 rip 000000000055f47e rsp 00007fff62bb9310 error 4
Jan 10 15:49:03 myserver kernel: lsphp4[3670] general protection rip:55f47e rsp:7fffd4f496a0 error:0
Also this message with logwatch:
Code:
--------------------- Kernel Begin ------------------------
WARNING:  General Protection Faults in these executables
    lsphp4 :  203 Time(s)
---------------------- Kernel End -------------------------
The server crashed very frequent and there are many lsphp4 process filled up very fast. I have to setup a manualy cronjob to kill those process every minute or else the server load will goes above 100, and the waitQ is high then server became dead.
I checked and there is no sign of DDOS or DOS.

What is the problem?

I am running CentOS 64 bit, 2x Quad-Core AMD Opteron 2344 HE, 16GB of RAM

Last edited by fastproxy; 01-10-2009 at 01:56 PM..
Reply With Quote
  #2  
Old 01-10-2009, 06:36 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
have you changed anything related PHP? php.ini? opcode cache? It is a PHP problem, not LSWS itself.

strace lsphp4 process see if you can catch one crash.
Reply With Quote
  #3  
Old 01-11-2009, 07:40 AM
fastproxy fastproxy is offline
Senior Member
 
Join Date: Nov 2007
Posts: 95
No, I did not changed anything. Just suddenly LSWS is crash too frequently, and i dont really know why.
Reply With Quote
  #4  
Old 01-11-2009, 10:56 AM
robfrew robfrew is offline
Senior Member
 
Join Date: Dec 2007
Location: Salt Lake City UT
Posts: 151
Is this a custom php installation? If so, I would try to recompile php with lsapi support. You could have a bad php installation.
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:12 PM.



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