httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] CGI child processes
Date Tue, 22 Mar 2005 13:58:42 GMT
On Tue, 22 Mar 2005 10:04:03 +0100, Jan Eden <lists@janeden.org> wrote:
> Scott Gifford wrote on 16.03.2005:
> 
> >Jan Eden <lists@janeden.org> writes:
> >
> >> I am trying to get a CGI script executed via Apache. The script
> >>should call another script and exit immediately, while the second
> >>script is still running in the background.
> >
> >[...]
> >
> >> How can I get Apache to disregard the process started by the CGI?
> >
> >I believe you need to fork twice, so that the long-running process is
> >a child of init (not a child of Apache).  Something like (untested):
> >
> Hi Scott,
> 
> thanks for your hint. Unfortunately, double forking also does not help. Apache still
waits for the long-running process to complete.

See:
http://www.webthing.com/tutorials/cgifaq.3.html#8

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


Mime
View raw message