lsphp4 / lsphp5 processes

ffeingol

Well-Known Member
#1
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

LiteSpeed Staff
#2
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.
 

anewday

Well-Known Member
#5
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:
 
Last edited:

mistwang

LiteSpeed Staff
#6
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.
 
Top