[Mailman-Users] when does logs/post get updated?

Ricardo Kleemann ricardo at americasnet.com
Fri Nov 28 19:23:32 CET 2008

I have some more data on this...

I enabled the debug in SMTPDirect.py, and it shows that there really
aren't any problems. It shows that slowly a message is being sent out.

I followed the performance tuning suggestions that had the MAX_RCPTS in
Defaults.py at an optimal value from 2-5, so I set it to 3.

But does that mean that mailman is going to simply get stuck on one
single message distribution and won't process any others until this one
is finished?

I used to have these lists on another server and over there I had the
MAX_RCPTS set to a high number, but my mail server is set to reject
above 25 rcpts anyway so the end result that at max it would handle 25
rcpts. I remember that whenever a message arrived for the list (again
20,000 members) on the other server, the load average on the server
would go pretty high as it processed the list.

But now on this new server I never see the load avg go up. Is this
because of the MAX_RCPTS setting? What else would keep mailman from
efficiently handling the messages? 

The OutgoingRunner is just sitting there slowly distributing the message
and never seems to get to the next one.

On Fri, 2008-11-28 at 09:43 -0800, Mark Sapiro wrote:
> Ricardo Kleemann wrote:
> >
> >I'm having some problems with my lists recently. I see in my mail log
> >that "mailman post" has been called. However, when I look in the
> >logs/post file, it's been almost 24 hours since anything has been
> >written there.
> The post log is written by SMTPDirect (under control of OutgoingRunner)
> when the outgoing message is delivered to the MTA.
> >I'm running mailman on Ubuntu Hardy, and another weird thing is that
> >whenever I stop mailman, it always leaves at least one process hanging
> >around. I have to forcefully kill it. After I stop it, I still see:
> >
> >list      3833  0.0  0.4  83076  7540 ?        Ss   08:29
> >0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s -q start
> >list      3842  0.1  2.5 105372 38148 ?        S    08:29
> >0:01 /usr/bin/python /var/lib/mailman/bin/qrunner
> >--runner=OutgoingRunner:0:1 -s
> It appears that SMTPDirect (actually the underlying Python smtplib) is
> hung waiting for a response from the MTA that isn't coming.
> >Even more strange when I reboot the machine, I'll see 2 entire sets of
> >mailman processes, almost as if the mailman start had been called twice.
> It seems like you have two init scripts for Mailman.
> >In any case, right now it seems that mailman has stopped accepting
> >posts. Is there a way to get more debug from mailman when "mailman post"
> >is called? I don't see any errors, yet I don't see the post log file
> >updating.
> "mailman post" just puts the message in the in/ queue. I assume from
> what you say above that it gets processed by IncomingRunner and even
> archived and the problem is in OutgoingRunner.
> See the FAQs at <http://wiki.list.org/x/A4E9> and
> <http://wiki.list.org/x/-IA9>.

More information about the Mailman-Users mailing list