httpd-users mailing list archives

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

> From: dan kelley [mailto:dkelley@otec.com]

> 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.

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message