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 15:59:56 GMT

> From: dan kelley []

> i'm having some difficulty with CGI subprocess being killed by apache
> shortly after they close stdout.  we have some CGI programs that continue
> to do background processing after they've finished returing data to the
> client, so it would be beneficial to us to be able to change this
> behavior.

I'm not an expert in this area, but if you read the CGI FAQs, they will tell
you that the correct way to do long-lived processing from a CGI is to fork a
subprocess from your cgi script and make sure that the subprocesses closes
stdin, stdout, and stderr.


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