httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: [PATCH] revised death wish on HUP patch
Date Fri, 14 Feb 1997 16:34:01 GMT
On Fri, 14 Feb 1997, Chuck Murcko wrote:

> Marc Slemko wrote:
> > 
> > Happy with this one?
> > 
> > I'm not happy about the unconditional sleep(2), but the only other option
> > is to block until the child exits but that is what we are trying to avoid.
> > A timeout in the waitpid() would be better, but I don't think it is
> > practical right now.
> > 
> > I have tested this patch, but not on a server that has the problem.  I
> > will probably do that tomorrow.
> > 
> -1. Sleep(2)?

I welcome any other options but I don't see any; if we don't sleep a
little bit before starting to kill, we will be almost always logging
errors that a child didn't exit.  

We can not block on kill because that does cause hangs.  I'm not sure that
a timeout is overly nice to implement at this stage.

View raw message