You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michela Taufer <ta...@scripps.edu> on 2004/07/22 19:34:11 UTC

[users@httpd] CGI defunct problem

Hi,

The Predictor@home scheduling server runs as a C++ CGI program under 
Apache 2.0.50 on Linux.  The cgi processes are giving us a lot of 
problems and cause a severe loss in performance. The cgi processes 
defunct all the time and don't give back the allocated memory to the OS. 
The cgi processes are about 2 MB in size and that's about the rate how 
fast the phys. memory is decreasing. Then at some time stuff will be 
starting to be swapped to disk and take down the machine and make it 
very unresponsive. There are no signal handlers in the cgi code for 
Linux to  make sure the cgi processes don't become zombies and close in 
a correct way (giving back their allocated memory).

Is it possible to configure Apache so that it catches SIGCHILD signals 
and ignore them? Any help is welcome.

Thanks,

Michela

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org