[Mailman-Users] Manipulate mailman in / out queue

Mark Sapiro mark at msapiro.net
Tue Oct 16 06:35:42 CEST 2012


Xueshan Feng <sfeng at stanford.edu> wrote:

>On Mon, Oct 15, 2012 at 2:13 PM, Mark Sapiro <mark at msapiro.net> wrote:
>
>> Xueshan Feng <sfeng at stanford.edu> wrote:
>
>if I want to move quite a few *.bak aside (use timestamp as an
>indicator of
>how long they've been in  that state),  Is it necessary  to stop the
>service, move files, then restart service?
>We have about 37,000 lists. Sometimes when I try to restart
>(/etc/init.d/mailman restart), OutgoingRunner won't go away, and had to
>be
>killed with -9.


This is really more involved than I can explain without a keyboard which I won't have before Tues eve, but there should be only one .bak file or one per slice if the runner is sliced. This is the message currently being processed. All others are ignored by the current runner (they will be "recovered" if the runner is restarted).


>So I was wondering by moving files out of the queue without first
>stopping
>mailman, caused the OutgoingRunner to suffer.


Probably not, but it is possible. More likely, it couldn't be SIGTERMed because it was waiting for a SMTP response.

Note that part of the slowness at this point is due to the size of the out directory. You can address this by stopping Mailman, moving qfiles/out aside, starting Mailman (which should recreate qfiles/out at the first message if not before) and then moving old entries back a few at a time.



-- 
Mark Sapiro <mark at msapiro.net>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


More information about the Mailman-Users mailing list