[Mailman-Users] Big delays wrapper to delivery

Nicolas Bertrand nsb at ceh.ac.uk
Sun Jul 27 15:18:33 CEST 2003


Richard,

Thanks for that.
I have now enabled the more verbose logging option for the SMTPDirect.py
module. 

I have noticed that a few qrunner processed are currently running on the
machine... Should these  quit as soon are they are done?

mailman   8270  11.2  0.8     8068   3288  ??  Us     0:00.47
/sw/bin/python -S /home/mailman/cron/gate_news
mailman   4284   3.2 20.3   377864  79996  ??  Us   128:07.89
/sw/bin/python -S /home/mailman/cron/qrunner
mailman   8269   0.7  0.8     7832   3092  ??  Ss     0:00.48
/sw/bin/python -S /home/mailman/cron/qrunner
mailman   2731   0.4 20.4   388516  80132  ??  Us   203:00.31
/sw/bin/python -S /home/mailman/cron/qrunner
mailman   6059   0.2 20.4   381572  80156  ??  Us   100:16.76
/sw/bin/python -S/home/mailman/cron/qrunner
mailman   7700   0.0 20.5   380876  80692  ??  Us    80:53.90
/sw/bin/python -S /home/mailman/cron/qrunner
mailman   7872   0.0  0.2     8052    720  ??  Ss     0:11.59
/sw/bin/python -S  /home/mailman/cron/senddigests

Nic

>>> Richard Barrett <r.barrett at openinfo.co.uk> 07/27/03 13:21 PM >>>
Nicolas

This is rather mysterious. I cannot offer a solution but I think it  
might be an idea to try and get more information about what is  
happening.

I am assuming you have your DELIVERY_MODULE = 'SMTPDirect' in  
Defaults.py/mm_cfg.py

There are some statements in the $prefix/Mailman/Handlers/SMTPDirect.py 

module which log more detail about Mailman's interaction with the SMTP  
server but which are commented out as standard.

Uncommenting these lines [deleting the # character(s) from the start of 

the lines] might get some useful information logged. Looking at a copy  
of the SMTPDirect.py file from a freshly unpacked mailman-2.0.6.tgz, I  
am referring to lines 204, 212, 213 and 214.

In the absence of a flash of insight it might be worth trying.

Let me know how you get on

Richard


On Sunday, July 27, 2003, at 11:47 AM, Nicolas Bertrand wrote:

> Thanks for the reply.
>
> The time between  does indeed equates to the time between the message
> arrives to mailman and seen going to the subscribers (i.e. accepted by
> their relays/MTAs). This totally independent to the size of the list.
>
> "f time (1) to time (2) is where the 8 to 12 hours is going, are you
> saying nothing is showing in the qfiles directory during that time?"
>
> *** This is correct
>
> "Assume you are using MM 2.0.x; which value of x?"
>
> *** 2.0.9
>
> "Which MTA?"
>
> *** Postfix
>
> Nic
>
>>>> Richard Barrett <r.barrett at openinfo.co.uk> 07/26/03 23:35 PM >>>
>
> On Saturday, July 26, 2003, at 08:09 PM, Nicolas Bertrand wrote:
>
>> Hello
>>
>> We have a few low volume mailing lists . We have been been happy with
>> the performance since instigating these (about a year and half ago)
> and
>> these mailing lists have become quite important.
>> However, suddenly, delivery times to subscribers have increased to
> 8-12
>> hours and cannot figure out what has gone wrong...
>>
>> Info:
>>
>> 1.MTA is postfix.
>> 2.Mail gets received by the email server which then triggers 'wrapper
>> post'
>> Then it takes 8-12 hours to get the mail delivered.
>> 3.This problem is specific to mailing lists (all the other mail is
>> fine)
>> 4. The load on the server is minimal
>> 5. no locks
>> 6. nothing in qfiles
>> 7. no errors in ~mailman/logs
>> 8. no error in maillog
>> 9. qrunner is executed by cron every minute, no error is being
>> generated. Same thing, with running qrunner manually from the command
>> line.
>>
>> Any ideas?
>>
>> Nic
>>
>
> Is that 8 to 12 hours for a message between the following times:
>
> 1. from the time the MTA's log records as delivering the message to
the
> Mailman
>
> 2. to the time logged by MM in post and smtp logs for the message
going
> out to the subscribers.
>
> Does time (2) fit with the MTA's log showing the time it got the
> outgoing message from MM? What time does the MTA show handing off the
> message to the next MTA?
>
> If time (1) to time (2) is where the 8 to 12 hours is going, are you
> saying nothing is showing in the qfiles directory during that time?
>
> *** This is correct
>
>
> Assume you are using MM 2.0.x; which value of x?
>
> *** 2.0.9
>
> Which MTA?
>
> *** Postfix
------------------------------------------------------------------------

-----
Richard Barrett                                      
http://www.openinfo.co.uk












More information about the Mailman-Users mailing list