title: Apache CGI Timeout - how does it kill and/or notify the child?
body: <p>I have some potentially long lived CGI applications which <em>must</em> clean up their environment regardless of whether they complete normally or if they're killed by Apache because they're taking too long.  They're using shared memory so I can't rely on the operating system's normal process cleanup mechanisms.</p>
  
  <p>How does Apache kill its CGI children when they're timing out?  I can't find any documentation or specification for how its done, nor whether its possible for the child to intercept that so it can shut down cleanly.</p>