On Thu, May 04, 2000 at 02:50:24PM -0700, Flemming Funch wrote:
> 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..."

$ grep 'needs more time' daemontools-0.61/* qmail-1.03/* ucspi-tcp-0.88/*
$

Well, whatever it is, it's not a message coming from any relevant qmail or
associated program. This message (and the probably source of the problem) is
coming from something specific to your shutdown procedure or possibly
the rpm. 

You'll need to find out what is generating that message and look at it.



Regards.


> 
> 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