In all my qmail installations it often takes forever to shutdown or restart 
qmail. I'm getting the message:

"qmail needs more time to finish.  Sleeping 1 second..."

which keeps repeating for sometimes 1/2 or a whole hour. Longer when the 
mail queue is large.

Like, right now it has been about 1.5 hours on one machine which has about 
250,000 messages waiting in the queue.

I'm not quite sure what program is giving the message. I'm on RedHat6.2, 
I'm using ucspi-tcp and daemon tools. My qmail is from 
qmail-1.03-102memphis.src.rpm. I restart qmail with:
/etc/rc.d/init.d/qmail.init restart

Am I doing something wrong, or this how it is supposed to be? And, if so, 
is there a faster way of shutting down qmail? This same thing will happen 
if I need to reboot the server. It might be delayed for 1 hour or so, 
waiting for qmail to shut down.

Nothing is being sent while qmail "needs more time". The remote processes 
die out pretty quickly.

Help!

- Flemming


Reply via email to