httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michela Taufer <tau...@scripps.edu>
Subject [users@httpd] CGI defunct problem
Date Thu, 22 Jul 2004 17:34:11 GMT
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


Mime
View raw message