pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/33589 (apache ignores 'reload' from rc.d script as well as 'graceful' from apachectl(8))



The following reply was made to PR pkg/33589; it has been noted by GNATS.

From: Matthias Scheler <tron%NetBSD.org@localhost>
To: Timo Schoeler <timo.schoeler%riscworks.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/33589 (apache ignores 'reload' from rc.d script as well as 
'graceful' from apachectl(8))
Date: Wed, 31 May 2006 08:52:09 +0100

 On Wed, May 31, 2006 at 09:10:24AM +0200, Timo Schoeler wrote:
 >   8212 httpd    open("/var/run/httpd.pid", 0, 0x1b6) = 5
 >   8212 httpd    read(0x5, 0x81fdbe8, 0xd)          = 6
 >        "21800\n"
 >   8212 httpd    read(0x5, 0x81fdbee, 0x7)          = 0
 >        ""
 >   8212 httpd    close(0x5)                         = 0
 >   8212 httpd    kill(0x5528, 0)                    = 0
 >   8212 httpd    kill(0x5528, 0x1e)                 = 0
 
 It looks to me like "apachectl" did The Right Thing(TM) by sending
 SIGUSR1 to the "httpd" process. I can imagine two reasons why
 the reload didn't work nevertheless:
 
 1.) Because it is a graceful reload it won't happen before the HTTP daemon
     has handled all existing connection. You can verify this by using
     "apachectl graceful" and wait a few minutes.
 
 2.) There's a bug in Apache 2.0.x.
 
 I'm leaning towards the first guess because it works fine on my
 mostly idle Apache 2.0.58.
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/
 



Home | Main Index | Thread Index | Old Index