Thanks for the quick reply. This may be the way things _should_ work, but apparently it isn't the way they actually work... Using either the init scripts (which kill Apache with: kill -USR1 $(</var/run/apache.pid) Or `apachectl stop`, any open connection is closed right away (at least when I tested it with telnet): $ telnet localhost 80 Trying 127.0.0.1... Connected to localhost Escape character is '^]'. Connection closed by foreign host. In my tests, it also comes up just fine afterwards. Another reason I would not suspect it has anything to do with connections is that I sometimes get the problem when the machine re-boots (no way a connection could persist through a two minute reboot, is there?) On 4/12/06, Axel-Stéphane SMORGRAV <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote: > There is no other reason I can see why Apache would "start intermittently". What you could try in order to test this hypothesis, is to open a TCP connection to the server ("telnet localhost 80") and keep it open while you try stopping the server. I think you will see that the server does not actually stop until the TCP connection has been closed. This is because Apache tries to shut down without interrupting on-going requests. > > In 1.3 stopping the server consists of sending SIGTERM to the parent process. The "apachectl stop" command will return immediately, and a subsequent "apachectl start" will necessarily fail if executed before the former server process has actually shut down and freed the sockets. > > -ascs > > -----Original Message----- > From: David Wolever [mailto:wolever.lists@xxxxxxxxx] > Sent: Wednesday, April 12, 2006 3:55 PM > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] Apache Starts Intermittently > > Although I can't re-create the problem now (even under a relatively heavy load), I checked the logs and could not find any extraordinary problems. > Neither of the pages are high traffic (my home web server and my school's web server), so I'm not sure if that is even the problem? > Thanks for the suggestion though. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx