CGIs under 2.0RC2 on Solaris 10

Discussion in 'Bug Reports' started by jailbird, Oct 18, 2004.

  1. jailbird

    jailbird Member

    This could be something I messed-up. I'm running RTG (MRTG-like app), and I installed it's web interface under lsws.

    Most of the app is PHP-based. That code works great. The part that actually tries the graphs, however, is a CGI that is called from the PHP script. The graphs run, and they seem to be okay, but I noticed that every time the CGI runs, I get a new defunct process on the server:

    root@sanitarium:/usr/local/lsws$ ps -ejf | grep 1797 | grep -v grep
    root 1797 1796 1795 1795 0 12:36:17 ? 0:00 lscgid
    nobody 1870 1797 1795 1795 0 - ? 0:00 <defunct>

    It's almost like the lscgid daemon isn't properly reaping the child function when it terminates and it just hangs out there unless I restart lsws.

    Is this a known problem, or is this something I compeltely messed-up on the config side?

  2. mistwang

    mistwang LiteSpeed Staff


    Thank you for the bug report.

    It is a bug that cause lscgid only reap the first child process on Solaris. :p

    The fix will be in 2.0RC3.

    Thank you very much! :)


Share This Page