Checking if suexec daemon is working

Discussion in 'Install/Configuration' started by iso99, Apr 13, 2014.

  1. iso99

    iso99 New Member

    How do I check if suexec daemon is working?

    From the docs, it says:
    suEXEC Daemon mode does not allow a customized per-user php.ini. If a user has a customized php.ini, LiteSpeed Web Server will automatically switch to suEXEC Worker mode (LiteSpeed's default suEXEC setup) at the server level.

    There are a few custom php.ini in the server though I'm sure this won't work. suExec Daemon spawns 1 parent process right?

    From ps faux, I have this:
    root 344535 0.0 0.0 231900 11124 ? S 15:27 0:00 \_ lsphp5
    ea****** 344664 0.3 0.0 232404 8632 ? S 15:28 0:00 | \_ lsphp5
    t****** 348478 0.6 0.0 331196 12364 ? S 15:32 0:00 | \_ lsphp5
    av****** 348533 6.4 0.1 242208 20096 ? S 15:32 0:00 | \_ lsphp5
    be****** 348534 1.8 0.0 233116 10444 ? S 15:32 0:00 | \_ lsphp5
    my****** 348535 5.3 0.0 233508 11680 ? S 15:32 0:00 | \_ lsphp5
    bi****** 348536 3.3 0.0 235696 13184 ? S 15:32 0:00 | \_ lsphp5
    bi****** 348537 5.0 0.0 233368 11012 ? S 15:32 0:00 | \_ lsphp5

    From this, I assume it's working properly. Anyone can confirm?

    Thank you.
  2. mistwang

    mistwang LiteSpeed Staff

    If you see a lsphp5 process running as root user, it is the suEXEC daemon mode. Yes, it is working.

Share This Page