www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan J Kurz <n...@tripod.tripod.com>
Subject Re: general/792: race condition with SIGUSR1 graceful restart
Date Fri, 27 Jun 1997 15:50:02 GMT
The following reply was made to PR general/792; it has been noted by GNATS.

From: Nathan J Kurz <nate@tripod.tripod.com>
To: dgaudet@arctic.org (Dean Gaudet)
Subject: Re: general/792: race condition with SIGUSR1 graceful restart
Date: Fri, 27 Jun 1997 11:40:31 -0400 (EDT)

 
 > >  Yes, that it the small place I am talking about.  If you put a pause()
 > >  in right before the accept I think SIGUSR1 will be ignored by the
 > >  child and it will run until the generation check catches it in the top
 > >  of the child_main() loop.  I think that multiple KeepAlive requests
 > >  would still be run, though.
 > 
 > But sticking a pause() there makes the tiny race into a huge race :)
 > 
 > The main request loop has a generation check.  A maximum of one request
 > is served.
 > 
 > A 1 second alarm causing a deferred exit seems to solve this as well.
 
 OK, it's pretty minor then.  Maybe there should be another option for
 severity of bug: 'probably not worth mentioning, but...'
 
 have 10 nice days,
 
 --nate
 
 

Mime
View raw message