lsphp4 / lsphp5 processes

Discussion in 'PHP' started by ffeingol, Jul 13, 2008.

  1. ffeingol

    ffeingol Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. ffeingol

    ffeingol Member

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

    mistwang LiteSpeed Staff

    looks like a PHP internal problem.
  5. anewday

    anewday Moderator

    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: Oct 27, 2008
  6. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page