View Single Post

  #5 (permalink)  
Old 11-21-2006
Tim Roberts
 
Posts: n/a
Default Re: CGI-BIN Forced Termination (Apache)

"petersprc" <petersprc@gmail.com> wrote:

>As far as I know, in the event of a disconnect, Apache will send a
>SIGTERM to the child, and then, if needed, wait up to approximately 3
>seconds and send a SIGKILL. Your CGI could handle the SIGTERM and do
>any required cleanup. It could also leave behind a long-running process
>using the "at now" command.


Is that promised anywhere? In my experience, the only side effect of the
disconnect is that the sockets feeding stdin and stdout get disconnected.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.