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

Ricardo Kleemann ricardo at americasnet.com
Fri Nov 28 19:05:46 CET 2008


Hello Mark,

Thanks for your reply.


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

But the strange thing here is that I have no issues at all connecting to
the smtp server at localhost. Defaults.py has the standard config, using
localhost with SMTPDirect.

Whatever the OutgoingRunner is stuck on, it's definitely stuck. It won't
go away unless I do a kill -9

> 
> >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.
> 
I would have thought so... but there's only 1 script under /etc/init.d/
and no other scripts there reference 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>.
> 

I can see that the in queue is probably working. There are currently 129
files in the out/ queue.

There are 2 OutgoingRunner processes and apparently BOTH of them are
doing something because strace does show some activity

Process 14078 attached - interrupt to quit
recvfrom(7, "250 Ok. 0000000049303165.000045C"..., 8192, 0, NULL, NULL)
= 35
sendto(7, "mail FROM:<reflexoes3-bounces at li"..., 65, 0, NULL, 0) = 65
recvfrom(7, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(7, "rcpt TO:<chitopan_2000 at yahoo.com"..., 35, 0, NULL, 0) = 35
recvfrom(7, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(7, "rcpt TO:<bernadete.sorianoadv at gm"..., 42, 0, NULL, 0) = 42
recvfrom(7, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(7, "rcpt TO:<iviv_8a at hotmail.com>\r\n", 31, 0, NULL, 0) = 31
recvfrom(7, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(7, "data\r\n", 6, 0, NULL, 0)    = 6
recvfrom(7, "354 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(7, "Received: from sr05-01.mta.terra"..., 8256, 0, NULL, 0) =
8256
recvfrom(7, "250 Ok. 0000000049303172.000045D"..., 8192, 0, NULL, NULL)
= 35


root at email1:/var/lib/mailman# strace -p13800
Process 13800 attached - interrupt to quit
recvfrom(8, "250 Ok. 00000000493031A7.0000464"..., 8192, 0, NULL, NULL)
= 35
sendto(8, "mail FROM:<reflexoes3-bounces at li"..., 65, 0, NULL, 0) = 65
recvfrom(8, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(8, "rcpt TO:<fesayao at gmail.com>\r\n", 29, 0, NULL, 0) = 29
recvfrom(8, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(8, "rcpt TO:<bruno8d at hotmail.com>\r\n", 31, 0, NULL, 0) = 31
recvfrom(8, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(8, "rcpt TO:<evangelismoemissoes at hot"..., 43, 0, NULL, 0) = 43
recvfrom(8, "250 Ok.\r\n", 8192, 0, NULL, NULL) = 9
sendto(8, "data\r\n", 6, 0, NULL, 0)    = 6
recvfrom(8, "354 Ok.\r\n", 8192, 0, NULL, NULL) = 9


Yet even though it's being processed, the logs/post file isn't getting
updated, and the number of messages in out/ doesn't decrease.

Could this be because mailman is processing a very large list (20,000
members) and it is just stuck on processing one message, while the other
messages wait around?

But I've been handling these lists for a long time and never had these
problems. Mailman doesn't seem to be getting much cpu usage. 





More information about the Mailman-Users mailing list