httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: mod_cgi kills CGI subprocesses after 3 seconds
Date Tue, 29 Jan 2002 16:31:56 GMT

> From: dan kelley []

> ok, but there are several problems with this approach :
> 	1. the extra fork:  adds complexity to my CGIs, hurts performance
> 	2. i only need (on average) 2-3 seconds of CPU time for the extra
> 	   processing.
> to explain the problem further:  all of these CGIs originally ran under
> Netscape Enterprise;  the default behavior of NES was to let them run
> forever, so we already have code in a CGI lib that sets a timeout to kill
> runaway CGIs.  right now, we're prevented from using apache because
> there's no clean way to stop apache from killing the CGIs once they close
> stdout.

So you are trying to duplicate stupid netscape behaviour?  Well, feel free
to hack mod_cgi if you'd like.  I'm not sure what other solution you are
expecting.  Apache's behaviour seems entirely correct and consistent.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message