PDA

View Full Version : CGIs under 2.0RC2 on Solaris 10


jailbird
10-18-2004, 11:44 AM
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

mistwang
10-19-2004, 04:21 PM
Dustin,

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! :)

George