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?
Thanks!
-Dustin
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?
Thanks!
-Dustin