LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   PHP (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=19)
-   -   lsphp4 / lsphp5 processes (http://www.litespeedtech.com/support/forum/showthread.php?t=2191)

ffeingol 07-13-2008 02:57 PM

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

mistwang 07-13-2008 03:14 PM

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.

ffeingol 07-13-2008 03:26 PM

It was looking reading localhost6.localhost6 from /etc/hosts.

mistwang 07-13-2008 04:01 PM

looks like a PHP internal problem.

anewday 10-26-2008 05:22 PM

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? :confused:

mistwang 10-27-2008 10:39 AM

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.


All times are GMT -7. The time now is 08:58 PM.