Clearing out the Que...

2001-04-05 Thread James Beam



My que is getting rather cluttered up (I am running 
Qmail MRTG (http://mail.royaleq.com/qmail/), and 
it shows a constant 12 - 16 message back-log in the que). How can I either force 
the que to re-process, or clear it out altogether? 

It is lagging other messages flowing through the 
system.

Thanks in advance for any help 
folks...

(Also, up2date on RedHat 7 seemed to worked fine. 
Once I finaly got up3date to work correctly, everything went smooth - and all 
tests seemed to show a healthy system - only time will tell for sure - 
thanks)
James BeamNetwork/ASP 
OperationsBiznizWEB, Inc./Touch PLc

http://www.biznizweb.comhttp://www.touchsmart.co.ukhttp://www.dynaportal.comhttp://www.townsourceinteractive.com




Re: Clearing out the Que...

2001-04-05 Thread Ben Beuchler

On Thu, Apr 05, 2001 at 09:05:54AM -0500, James Beam wrote:

 My que is getting rather cluttered up (I am running Qmail MRTG
 (http://mail.royaleq.com/qmail/), and it shows a constant 12 - 16
 message back-log in the que). How can I either force the que to
 re-process, or clear it out altogether? 

killall -ALRM qmail-send

Sending SIGALRM forces qmail-send to rerun the queue.  Clearing it out
all together would be as simple as killing qmail-send and running a
command something like this:

find /var/qmail/queue -type f -exec rm {} \;

Which would delete every message from your outbound queue.

 It is lagging other messages flowing through the system.

No, it isn't.  One of the design features of qmail is that its queue
system is very lightweight.  IIRC, each message in the queue consumes
something like 8 bytes of RAM.  qmail maintains a list of which mail
servers are failing and doesn't retry them as frequently.  All of this
means that having mail in the queue is only a problem from an aesthetic
point of view.  I work for an ISP and manage a small cluster of
qmail/vpop servers.  Because of the nature of qmail, we always have a
large quantity of bouncing spam in the outbound queue.  I've seen it get
as high as 1000 messages per box and it has had zero effect on system
speed.

-- 
Ben Beuchler   There is no spoon.
[EMAIL PROTECTED]-- The Matrix