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

Go Back   LiteSpeed Support Forums > External Applications > PHP > lsphp4 / lsphp5 processes

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2008, 02:57 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Default lsphp4 / lsphp5 processes

We're seeing some lsphp4 and lsphp5 process that seem to be hanging around for a long time and consuming a lot of resources. I'm assuming that it's ok to just kill off those processes and more of them will be spawned as needed?

BTW, their parent process is 1 which leads more to my theory that they are orphaned processes.

TIA
Reply With Quote
  #2  
Old 07-13-2008, 03:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Yes, you can kill them off. They are orphaned processes.

Before killing them, please try to exam those processes with strace or gdb "attach". I want to make sure it is not in a infinite loop inside our LSAPI code.
Reply With Quote
  #3  
Old 07-13-2008, 03:26 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
It was looking reading localhost6.localhost6 from /etc/hosts.
Reply With Quote
  #4  
Old 07-13-2008, 04:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
looks like a PHP internal problem.
Reply With Quote
  #5  
Old 10-26-2008, 05:22 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
I see many lsphp4 processes running even my server is very idle. Is this normal?

I also noticed the loads are higher than before during non peak times. Did somethinig change in lsphp4?

Last edited by anewday; 10-26-2008 at 05:41 PM..
Reply With Quote
  #6  
Old 10-27-2008, 10:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If parent PID is 1, you can kill those lsphp4 processes. You can also strace those lsphp4 processes to check what they are doing.

No big change in lsphp4.
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 06:18 PM.



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