[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppressing error-on-error



Eugene Crosser <crosser@rol.ru> writes:

> On Wed, 2003-09-10 at 23:27, Matti Aarnio wrote:
> > On Wed, Sep 10, 2003 at 06:04:40PM +0100, Alex Kiernan wrote:
> > > Is there any way I can suppress generation of error-on-error messages
> > > in the postman directory?
> > > 
> > > We're using ZMailer to collect bounces & we're ending up with vast
> > > numbers of messages in postman/ as a result of double bounces which
> > > frankly we're never going to look at.
> > > 
> > > If not, how should I go about adding it?
> > 
> > Maybe a daily cron run:
> > 
> >   find /var/postoffice/postman -type f -mtime +6 -print | xargs rm -f
> 
> +6 is too much; I have to have it +2 and still postman is terribly
> crowded.  Should I say that I never look there?

I'm doing this:

(while :; do mv postman postdump/postman.`date +%Y%m%dT%H%M`; mkdir postman; chmod 2750 postman; sleep 3600;done)&

then a separate job to rm -rf postdump/*.

I'd guess we've of the order of 20000/hour going into postman, but
really I'd just like to say I just don't want anything in there.

> These postman files seem to be yet another source of strain to the
> disk io subsystem.  Which is the actually the main bottleneck here.
> 

IO we're mostly OK on at the moment, but a monster postman directory
was really hitting directory operations.

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi