httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: Proxy bug?
Date Wed, 01 Oct 1997 03:32:25 GMT
On Tue, 30 Sep 1997, Dean Gaudet wrote:

> I don't think it's a fatal problem -- I think the code is just a bit
> impatient at declaring them tardy.  Specifically on TERM, it does a
> killpg(SIGTERM), then calls reclaim_child_processes(2).  Then it waits a
> whopping 4096us before declaring them tardy.  Given that solaris has a
> hard time context switching 4ms isn't enough time.

I think this time needs to be tuned now that actual processing can be done
during the shutdown; several seconds would even be reasonable.  Having it
too high won't hurt anything too much other than leaving the server dead
for a few seconds.  That code shouldn't be called during "normal" 
operation anyway, so... 

Hmm, Roy... are you using any modules that do child exit stuff?

> A similar thing may or may not happen on HUP ... can you check?  If it
> does then I think it's a new problem.  It could be child_exit... dunno
> yet. 
> Dean
> On Tue, 30 Sep 1997, Roy T. Fielding wrote:
> > >I don't see the below.  You say you get it for _every_ request?  I don't
> > >understand; that should only happen on restarts if something is broken.
> > >Or is it just every ftp request underway when you restart?
> > 
> > Er, yeah, thinko on my part.  It is only on a kill -TERM ppid, and it
> > has nothing to do with the proxy.  I guess it's been a while since
> > I tested 1.3-dev.  The children do exit eventually, but the log message
> > is immediate (two for each child).  This is on Solaris 2.5.
> > 
> > ....Roy
> > 

View raw message