On Tue, 2006-10-17 at 08:54 +0200, Henrik Steffen wrote:
> This works fine in the first couple of days (sometimes
> weeks) after a reboot but then suddenly I am no longer able to
> perform a normal "apachectl restart". After entering this command
> actually nothing happens. The command execution just
> hangs with no visible result. The number of apache
> processes does not decrease at all. After minutes of waiting
> I can just hit CTRL-C.

> Even "apachectl -k stop" leads to the same result.

Are you running with ssl enabled?

One thing I've noticed (at least on linux) is that if your system is low on
entropy random number generator is low on randomness
('cat /proc/sys/kernel/random/entropy_avail' to get the number on linux) then
apache wont shut down until it gets enough to make ssl happy.

If your webserver is running on a box will little disk access and no one on
the console, it can easily get too low for apache to stop. (I get this
problem on my dev boxes if I'm restarting apache a lot but not giving it much
traffic - as happens when I'm doing some handler development work).