On Fri, Jan 04, 2008 at 02:42:05PM +0100, Stefan Fritsch wrote:
> Hi,
> 
> this bug can be quite annoying because of the resources used by the hung
> processes. It happens e.g. under Linux when epoll is used.
> 
> The patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=42829#c14
> has been in Debian unstable/Ubuntu hardy for several weeks and there have
> not been any complaints.
> 
> It would be nice if you could look at it and commit it to svn.

I can confirm that there are problems with the restart at least on
FreeBSD-4.x/prefork.

On FreeBSD-4.x/prefork I see this after a graceful restart:
--snip--
$ apachectl status

                      Apache Server Status for localhost

   Server Version: Apache/2.3.0-dev (Unix) mod_ssl/2.3.0-dev
          OpenSSL/0.9.7d-p1 DAV/2

   Server Built: Jan 16 2008 04:19:11
[..]
   CPU Usage: u4.45313 s4.3125 cu0 cs0 - .00454% CPU load
   .0265 requests/sec - 9 B/second - 372 B/request
   10 requests currently being processed, 7 idle workers

GGGGGG_G__GG____W...............................................
................................................................
[...]
--snip--

After another graceful restart, I see
GGGGGGGGGGGGGGGWG____...........................................
and the 'G' processes are stuck at state 'G'.

With the patch applied, I no longer see any of the hanging
"gracefully stuck" processes.

So, from my side, I'd +1 the patch (although I understand the intention
of the code, I have not "brain-traced" all code paths, so this is not
a final "code +1" but just a "appears to fix the problem +1").

Anyone else?

   Martin
-- 
<[EMAIL PROTECTED]>        |     Fujitsu Siemens
http://www.fujitsu-siemens.com/imprint.html | 81730  Munich,  Germany

Reply via email to