Re: [Mailman-Users] qrunner is generating mail - how to stop?

2010-06-03 Thread Ralf Hildebrandt
* Mark Sapiro :

> It may be moot at this point, but there should be one and only one file
> in qfiles/out with a .bak extension.
> This is the backup of the message currently being processed by
> OutgoingRunner. Remove or move aside this file. Then stop Mailman.
> Stopping OutgoingRunner will stop the delivery of this message. You may
> have to actually kill it manually to stop it mid-process, 

Oh yes. I had to kill -9 it!

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] qrunner is generating mail - how to stop?

2010-06-03 Thread Mark Sapiro
On 6/3/2010 4:00 AM, Ralf Hildebrandt wrote:
> One of my list admins let a mail of 5MB through to a VERPified list of
> more then 7000 member. Mailman is generating the mails at about one
> message per second.
> 
> This takes quite a while, during that time no other mails are getting
> through.
> 
> How can I stop mailman's processing of that perticular mail?
> (mailman-2.1.13)


It may be moot at this point, but there should be one and only one file
in qfiles/out with a .bak extension. This is the backup of the message
currently being processed by OutgoingRunner. Remove or move aside this
file. Then stop Mailman. Stopping OutgoingRunner will stop the delivery
of this message. You may have to actually kill it manually to stop it
mid-process, and depending on how it stops, it may queue the message in
the shunt queue or retry queue. If it's in the retry queue, remove it or
move it aside, and then start Mailman.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner is generating mail - how to stop?

2010-06-03 Thread Ralf Hildebrandt
One of my list admins let a mail of 5MB through to a VERPified list of
more then 7000 member. Mailman is generating the mails at about one
message per second.

This takes quite a while, during that time no other mails are getting
through.

How can I stop mailman's processing of that perticular mail?
(mailman-2.1.13)

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] qrunner question

2009-09-11 Thread Mark Sapiro
Lindsay Haisley wrote

>I'm trying to test a list to which fairly long HTML-ized (ugh!) posts
>will be posted by a customer.  For testing, I have only a couple of
>addresses (mine) on the subscriber list, but when I post, qrunner takes
>like half an hour to push the posts through so I can see what's going
>on.
>
>Is there any way a) see what posts are in the qrunner queue


ls -lR qfiles

*.pck files are queue entries waiting to be processed. *.bak files are
queue entries currently being processed (at most one per queue per
qrunner slice).


>and b) force
>qrunner to process the queue immediately?  Will the "qrunner -r All"
>accomplish this?


That's a really bad idea. First, if you are going to do this, you would
probably want "qrunner -o -r All", but even then, two bad things will
happen. The new runner will 'recover' and reprocess any .bak files
resulting in duplications, and race conditions between the new runner
and the existing runner will cause variopus unpredictable problems,
e.g. those discussed in the FAQ at .

Unless you have set QRUNNER_SLEEP_TIME to something like 15 to 30
minutes in mm_cfg.py, the existing runners will process their queues
sleeping for only 1 second when the queue is empty.

You can determine to some degree where the delay(s) are from Mailman's
SMTP log. Find the entry for your post. Similar to:

Sep 11 11:12:02 2009 (12318)  smtp to listname for n
recips, completed in t.ttt seconds

The t.ttt seconds is the time the message actually spent in process in
OutgoingRunner. The timestamp minus this time is the time that
OutgoingRunner began processing this entry. That time minus the time
you sent the post is the sum of the time to queue the post for
IncomingRunner (very small), the time it spent in qfiles/in,
processing time in IncomingRunner (usually small, but if you have some
SpamAssassin or other custom handler in the pipeline, could be long)
and the time spent in qfiles/out.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] qrunner question

2009-09-11 Thread Lindsay Haisley
I'm trying to test a list to which fairly long HTML-ized (ugh!) posts
will be posted by a customer.  For testing, I have only a couple of
addresses (mine) on the subscriber list, but when I post, qrunner takes
like half an hour to push the posts through so I can see what's going
on.

Is there any way a) see what posts are in the qrunner queue and b) force
qrunner to process the queue immediately?  Will the "qrunner -r All"
accomplish this?

-- 
Lindsay Haisley   | "Everything works if you let it"
FMP Computer Services |   (The Roadie)
512-259-1190  |
http://www.fmp.com|

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Mark Sapiro
Myron Kowalski wrote:

>I think I found the (a) problem. There was a corrupted .db and .pck  
>file in the
>qfiles/virgin directory. After I deleted those files, mailman would  
>start up w/o error
>messages.


But I don't see that that would stop outgoing mail, so there may also
be a problem in the out/ queue. Was that still moved aside, or did it
process OK?

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Mark Sapiro
Myron Kowalski wrote:
>
>I found one .pck out of place and move it. Restarted mailman with the  
>same error.
>I moved the whole directory out of the way and restarted mailman-- 
>same error.


Originally, you said the messages were being archived, so that
indicated that IncomingRunner and ArchRunner were processing the in/
and archive/ queues OK. Apparently only outgoing messages were
affected so I focused on the out/ queue

If you moved the entire out/queue aside and you are still getting
errors, they are coming from another queue.

Try running bin/dumpdb on the first .db file in each queue.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Mark Sapiro
Myron Kowalski wrote:

>On Oct 25, 2007, at 5:54 PM, Mark Sapiro wrote:
>
>> Presumably, this is OutgoingRunner encountering the problem, because
>> IncomingRunner and ArchRunner both have to work for messages to be
>> archived.
>>
>> The problem may be as simple as some spurious file in qfiles/out  
>> with a
>> .db extension. If there are .pck files in qfiles/out, and one .db
>> file, try moving the .db file aside.
>>
>
>I pretty ignorant as to what qfiles/out is all about. I checked and  
>there are 1782 .pck files
>and 1781 .db files. I assume these are messages that have accumlated  
>and can't be delivered
>and one of them is causing the problem. How do I find the one?


In Mailman 2.1.4, queue entries are two files with the same base name
and different extensions. The .db file contains the message metadata
and the .pck file contains the message object.

The first part of the file base name (before the '+') is the time
(floating point seconds) that the message was queued. Messages are
dequeued in order, so the problem file is the .db file that's first in
numeric order. Move it and it's corresponding .pck aside.

You can examine the files with bin/dumpdb, but the .db file will
probably give an error.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Myron Kowalski
I think I found the (a) problem. There was a corrupted .db and .pck  
file in the
qfiles/virgin directory. After I deleted those files, mailman would  
start up w/o error
messages.

--myron
=
Myron Kowalski
MoCoSIN Network/Systems Administrator
Moravian College
[EMAIL PROTECTED]



On Oct 26, 2007, at 9:10 AM, Myron Kowalski wrote:

> On Oct 26, 2007, at 7:58 AM, Myron Kowalski wrote:
>
>> On Oct 25, 2007, at 5:54 PM, Mark Sapiro wrote:
>>
>>> Myron Kowalski wrote:
>>>
 I noticed that messages were not going out to my mailing lists.  
 When
 I restarted mailman, this comes up. Any mail sent to the list is
 being archived,
 but is not going to the members.

 Traceback (most recent call last):
   File "/users/mailman/bin/qrunner", line 270, in ?
 main()
   File "/users/mailman/bin/qrunner", line 230, in main
 qrunner.run()
   File "/users/mailman/Mailman/Queue/Runner.py", line 65, in run
 filecnt = self._oneloop()
   File "/users/mailman/Mailman/Queue/Runner.py", line 93, in
 _oneloop
 msg, msgdata = self._switchboard.dequeue(filebase)
   File "/users/mailman/Mailman/Queue/Switchboard.py", line 156, in
 dequeue
 data = self._ext_read(dbfile)
   File "/users/mailman/Mailman/Queue/Switchboard.py", line 262, in
 _ext_read
 dict = marshal.load(fp)
 ValueError: bad marshal data

 I'm running mailman 2.1.9 and python 2.3.4.
>>>
>>>
>>> Something is wrong here because the line numbers in Switchboard.py
>>> look
>>> like Mailman 2.1.4, and that was the last version of Switchboard.py
>>> that had those statements in it anywhere.
>>>
>>
>> I was wrong on the version. I downloaded 2.19 but didn't install it
>> yet, so I am
>> running 2.1.4.
>>
>>> Presumably, this is OutgoingRunner encountering the problem, because
>>> IncomingRunner and ArchRunner both have to work for messages to be
>>> archived.
>>>
>>> The problem may be as simple as some spurious file in qfiles/out
>>> with a
>>> .db extension. If there are .pck files in qfiles/out, and one .db
>>> file, try moving the .db file aside.
>>>
>>
>> I pretty ignorant as to what qfiles/out is all about. I checked and
>> there are 1782 .pck files
>> and 1781 .db files. I assume these are messages that have accumlated
>> and can't be delivered
>> and one of them is causing the problem. How do I find the one?
>>
>
> I found one .pck out of place and move it. Restarted mailman with the
> same error.
> I moved the whole directory out of the way and restarted mailman--
> same error.
>
> Any other suggestions? I have a lot of users knocking on my door.
>
>>> -- 
>>> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
>>> San Francisco Bay Area, Californiabetter use your sense - B.
>>> Dylan
>>>
>>
>> --
>> Mailman-Users mailing list
>> Mailman-Users@python.org
>> http://mail.python.org/mailman/listinfo/mailman-users
>> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>> Searchable Archives: http://www.mail-archive.com/mailman-users%
>> 40python.org/
>> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/
>> myron%40cs.moravian.edu
>>
>> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?
>> req=show&file=faq01.027.htp
>
> --
> Mailman-Users mailing list
> Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users% 
> 40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ 
> myron%40cs.moravian.edu
>
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py? 
> req=show&file=faq01.027.htp

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Myron Kowalski
On Oct 26, 2007, at 7:58 AM, Myron Kowalski wrote:

> On Oct 25, 2007, at 5:54 PM, Mark Sapiro wrote:
>
>> Myron Kowalski wrote:
>>
>>> I noticed that messages were not going out to my mailing lists. When
>>> I restarted mailman, this comes up. Any mail sent to the list is
>>> being archived,
>>> but is not going to the members.
>>>
>>> Traceback (most recent call last):
>>>   File "/users/mailman/bin/qrunner", line 270, in ?
>>> main()
>>>   File "/users/mailman/bin/qrunner", line 230, in main
>>> qrunner.run()
>>>   File "/users/mailman/Mailman/Queue/Runner.py", line 65, in run
>>> filecnt = self._oneloop()
>>>   File "/users/mailman/Mailman/Queue/Runner.py", line 93, in  
>>> _oneloop
>>> msg, msgdata = self._switchboard.dequeue(filebase)
>>>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 156, in
>>> dequeue
>>> data = self._ext_read(dbfile)
>>>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 262, in
>>> _ext_read
>>> dict = marshal.load(fp)
>>> ValueError: bad marshal data
>>>
>>> I'm running mailman 2.1.9 and python 2.3.4.
>>
>>
>> Something is wrong here because the line numbers in Switchboard.py
>> look
>> like Mailman 2.1.4, and that was the last version of Switchboard.py
>> that had those statements in it anywhere.
>>
>
> I was wrong on the version. I downloaded 2.19 but didn't install it
> yet, so I am
> running 2.1.4.
>
>> Presumably, this is OutgoingRunner encountering the problem, because
>> IncomingRunner and ArchRunner both have to work for messages to be
>> archived.
>>
>> The problem may be as simple as some spurious file in qfiles/out
>> with a
>> .db extension. If there are .pck files in qfiles/out, and one .db
>> file, try moving the .db file aside.
>>
>
> I pretty ignorant as to what qfiles/out is all about. I checked and
> there are 1782 .pck files
> and 1781 .db files. I assume these are messages that have accumlated
> and can't be delivered
> and one of them is causing the problem. How do I find the one?
>

I found one .pck out of place and move it. Restarted mailman with the  
same error.
I moved the whole directory out of the way and restarted mailman-- 
same error.

Any other suggestions? I have a lot of users knocking on my door.

>> -- 
>> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
>> San Francisco Bay Area, Californiabetter use your sense - B.  
>> Dylan
>>
>
> --
> Mailman-Users mailing list
> Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users% 
> 40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ 
> myron%40cs.moravian.edu
>
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py? 
> req=show&file=faq01.027.htp

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-26 Thread Myron Kowalski
On Oct 25, 2007, at 5:54 PM, Mark Sapiro wrote:

> Myron Kowalski wrote:
>
>> I noticed that messages were not going out to my mailing lists. When
>> I restarted mailman, this comes up. Any mail sent to the list is
>> being archived,
>> but is not going to the members.
>>
>> Traceback (most recent call last):
>>   File "/users/mailman/bin/qrunner", line 270, in ?
>> main()
>>   File "/users/mailman/bin/qrunner", line 230, in main
>> qrunner.run()
>>   File "/users/mailman/Mailman/Queue/Runner.py", line 65, in run
>> filecnt = self._oneloop()
>>   File "/users/mailman/Mailman/Queue/Runner.py", line 93, in _oneloop
>> msg, msgdata = self._switchboard.dequeue(filebase)
>>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 156, in
>> dequeue
>> data = self._ext_read(dbfile)
>>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 262, in
>> _ext_read
>> dict = marshal.load(fp)
>> ValueError: bad marshal data
>>
>> I'm running mailman 2.1.9 and python 2.3.4.
>
>
> Something is wrong here because the line numbers in Switchboard.py  
> look
> like Mailman 2.1.4, and that was the last version of Switchboard.py
> that had those statements in it anywhere.
>

I was wrong on the version. I downloaded 2.19 but didn't install it  
yet, so I am
running 2.1.4.

> Presumably, this is OutgoingRunner encountering the problem, because
> IncomingRunner and ArchRunner both have to work for messages to be
> archived.
>
> The problem may be as simple as some spurious file in qfiles/out  
> with a
> .db extension. If there are .pck files in qfiles/out, and one .db
> file, try moving the .db file aside.
>

I pretty ignorant as to what qfiles/out is all about. I checked and  
there are 1782 .pck files
and 1781 .db files. I assume these are messages that have accumlated  
and can't be delivered
and one of them is causing the problem. How do I find the one?

> -- 
> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner error

2007-10-25 Thread Mark Sapiro
Myron Kowalski wrote:

>I noticed that messages were not going out to my mailing lists. When
>I restarted mailman, this comes up. Any mail sent to the list is  
>being archived,
>but is not going to the members.
>
>Traceback (most recent call last):
>   File "/users/mailman/bin/qrunner", line 270, in ?
> main()
>   File "/users/mailman/bin/qrunner", line 230, in main
> qrunner.run()
>   File "/users/mailman/Mailman/Queue/Runner.py", line 65, in run
> filecnt = self._oneloop()
>   File "/users/mailman/Mailman/Queue/Runner.py", line 93, in _oneloop
> msg, msgdata = self._switchboard.dequeue(filebase)
>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 156, in  
>dequeue
> data = self._ext_read(dbfile)
>   File "/users/mailman/Mailman/Queue/Switchboard.py", line 262, in  
>_ext_read
> dict = marshal.load(fp)
>ValueError: bad marshal data
>
>I'm running mailman 2.1.9 and python 2.3.4.


Something is wrong here because the line numbers in Switchboard.py look
like Mailman 2.1.4, and that was the last version of Switchboard.py
that had those statements in it anywhere.

Presumably, this is OutgoingRunner encountering the problem, because
IncomingRunner and ArchRunner both have to work for messages to be
archived.

The problem may be as simple as some spurious file in qfiles/out with a
.db extension. If there are .pck files in qfiles/out, and one .db
file, try moving the .db file aside.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] qrunner error

2007-10-25 Thread Myron Kowalski
I noticed that messages were not going out to my mailing lists. When
I restarted mailman, this comes up. Any mail sent to the list is  
being archived,
but is not going to the members.

Traceback (most recent call last):
   File "/users/mailman/bin/qrunner", line 270, in ?
 main()
   File "/users/mailman/bin/qrunner", line 230, in main
 qrunner.run()
   File "/users/mailman/Mailman/Queue/Runner.py", line 65, in run
 filecnt = self._oneloop()
   File "/users/mailman/Mailman/Queue/Runner.py", line 93, in _oneloop
 msg, msgdata = self._switchboard.dequeue(filebase)
   File "/users/mailman/Mailman/Queue/Switchboard.py", line 156, in  
dequeue
 data = self._ext_read(dbfile)
   File "/users/mailman/Mailman/Queue/Switchboard.py", line 262, in  
_ext_read
 dict = marshal.load(fp)
ValueError: bad marshal data

I'm running mailman 2.1.9 and python 2.3.4.

I created a list the other day and that's when I noticed the problem.  
I've since
deleted that list, but I still get the same error. I don't believe  
that was the problem
anyway.

I found a check_request_db program on the web that seem to suggest an  
answer
to my problem, but the program doesn't seem to do anything. I don't  
know any python,
so I don't know how to read that program. Any help would be  
appreciated. Thanks.


--myron
=
Myron Kowalski
MoCoSIN Network/Systems Administrator
Moravian College
[EMAIL PROTECTED]



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner refuses to pass mail to users

2007-08-19 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

>On Sun, Aug 19, 2007 at 12:02:52AM -0700, Mark Sapiro wrote:

>> 
>> And what is in the smtp-failure log?
>> 
>
>This stuff: 
>
>Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
>(111, 'Connection refused')
>Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
>(111, 'Connection refused')
>Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
>(111, 'Connection refused')
>
>So the question I guess is, why is postfix refusing the connnection? How does 
>mailman connect to 
>postfix?


See
.

Mailman attempts to connect to SMTPPORT on SMTPHOST (defaults are port
25 on 'localhost') to deliver mail.


>I am using this in mm_cfg.py:
>
># Maildir
>USE_MAILDIR = Yes
>QRUNNERS.append(('MaildirRunner', 1))
>
>DEFAULT_DIGESTABLE = No
>
># Uses genaliases as covered by mailman docs.
>MTA = 'Postfix'
>
>
>In /etc/postfix/main.cf I have this:
>
>alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
>
>Inside /var/lib/mailman/data/aliases:
>
># STANZA START: list
># CREATED: Sun Aug 19 01:13:18 2007
>list: /var/lib/mailman/qfiles/maildir/
>list-admin:   /var/lib/mailman/qfiles/maildir/
>list-bounces: /var/lib/mailman/qfiles/maildir/
>list-confirm: /var/lib/mailman/qfiles/maildir/
>list-join:/var/lib/mailman/qfiles/maildir/
>list-leave:   /var/lib/mailman/qfiles/maildir/
>list-owner:   /var/lib/mailman/qfiles/maildir/
>list-request: /var/lib/mailman/qfiles/maildir/
>list-subscribe:   /var/lib/mailman/qfiles/maildir/
>list-unsubscribe: /var/lib/mailman/qfiles/maildir/
># STANZA END: list


All of the above is relevant only for incoming mail to Mailman.  None
of it is relevant to the smtp failures.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner refuses to pass mail to users

2007-08-19 Thread falko
On Sun, Aug 19, 2007 at 12:02:52AM -0700, Mark Sapiro wrote:
> [EMAIL PROTECTED]
> >
> >I have the following setup: 
> >
> >Postfix -> Dspam -> Procmail -> Mailman -> Users
> >
> >I've tried taking Dspam out of the equation, but that did not change a thing.
> >
> >When users send to a mailing list, the message appears to be deilvered to 
> >mailman. 
> >However, mailman does not do anything afterwards: i.e. its does not send the 
> >messages to the users. 
> >
> >qrunner is running. I traced the problem to the following: 
> >
> >In logs/post I saw this:
> >
> >Aug 19 02:01:09 2007 (15427) post to list from [EMAIL PROTECTED], size=1215, 
> >message-id=<[EMAIL PROTECTED]>, 12 failures
> >Aug 19 02:01:09 2007 (15428) post to list from [EMAIL PROTECTED], size=1215, 
> >message-id=<[EMAIL PROTECTED]>, 12 failures
> >
> >The message is repeated more than 12 times.
> 
> 
> And what is in the smtp-failure log?
> 

This stuff: 

Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')
Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')
Aug 19 13:09:18 2007 (7258) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')

So the question I guess is, why is postfix refusing the connnection? How does 
mailman connect to 
postfix?

I am using this in mm_cfg.py:

# Maildir
USE_MAILDIR = Yes
QRUNNERS.append(('MaildirRunner', 1))

DEFAULT_DIGESTABLE = No

# Uses genaliases as covered by mailman docs.
MTA = 'Postfix'


In /etc/postfix/main.cf I have this:

alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases

Inside /var/lib/mailman/data/aliases:

# STANZA START: list
# CREATED: Sun Aug 19 01:13:18 2007
list: /var/lib/mailman/qfiles/maildir/
list-admin:   /var/lib/mailman/qfiles/maildir/
list-bounces: /var/lib/mailman/qfiles/maildir/
list-confirm: /var/lib/mailman/qfiles/maildir/
list-join:/var/lib/mailman/qfiles/maildir/
list-leave:   /var/lib/mailman/qfiles/maildir/
list-owner:   /var/lib/mailman/qfiles/maildir/
list-request: /var/lib/mailman/qfiles/maildir/
list-subscribe:   /var/lib/mailman/qfiles/maildir/
list-unsubscribe: /var/lib/mailman/qfiles/maildir/
# STANZA END: list

> 
> >In logs/error I see this: 
> >
> >Aug 19 01:46:09 2007 qrunner(5838): Traceback (most recent call last):
> >Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
> >line 278, in ?
> >Aug 19 01:46:09 2007 qrunner(5838):  main()
> >Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
> >line 238, in main
> >Aug 19 01:46:09 2007 qrunner(5838):  qrunner.run()
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
> >Aug 19 01:46:09 2007 qrunner(5838):  filecnt = self._oneloop()
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
> >Aug 19 01:46:09 2007 qrunner(5838):  msg, msgdata = 
> >self._switchboard.dequeue(filebase)
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
> >Aug 19 01:46:09 2007 qrunner(5838):  fp = open(filename)
> >Aug 19 01:46:09 2007 qrunner(5838): IOError :  [Errno 2] No such file or 
> >directory: '/var/lib/mailman/qfiles/out/1187500584.
> >9663761+5f32a14b80df78b4db0d2455318501cdaa1d6f0f.pck'
> 
> 
> See
> 
> 
> 
> 
> 
> >Aug 19 01:48:05 2007 (15098) Uncaught runner exception: [Errno 13] 
> >Permission denied: '/var/lib/mailman/archives/private/sys
> >admin/index.html'
> >Aug 19 01:48:05 2007 (15098) Traceback (most recent call last):
> >  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
> >self._onefile(msg, msgdata)
> >  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
> >keepqueued = self._dispose(mlist, msg, msgdata)
> >  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
> >mlist.ArchiveMail(msg)
> >  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 217, in 
> > ArchiveMail
> >h.close()
> >  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 324, in close
> >self.write_TOC()
> >  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1094, in 
> > write_TOC
> >toc = open(os.path.join(self.basedir, 'index.html'), 'w')
> >IOError: [Errno 13] Permission denied: 
> >'/var/lib/mailman/archives/private/sysadmin/index.html'
> >Aug 19 01:48:05 2007 (15098) SHUNTING: 
> >1187502485.4463329+7a7b88a8b7bb48e961dc70e6ecfb9012cb8d588b
> 
> 
> There is a bug in check_perms. It does not check for sufficient access
> to archives/private/ - permissions should be at least drwxrws--- and
> group mailman.
> 
> 
> 
> 
> >Aug 19 01:48:33 2007 (15173) Failed to unlink backup file: 
> >/var/lib/mailman/qfil

Re: [Mailman-Users] qrunner refuses to pass mail to users

2007-08-19 Thread falko
On Sun, Aug 19, 2007 at 12:02:52AM -0700, Mark Sapiro wrote:
> [EMAIL PROTECTED]
> >
> >I have the following setup: 
> >
> >Postfix -> Dspam -> Procmail -> Mailman -> Users
> >
> >I've tried taking Dspam out of the equation, but that did not change a thing.
> >
> >When users send to a mailing list, the message appears to be deilvered to 
> >mailman. 
> >However, mailman does not do anything afterwards: i.e. its does not send the 
> >messages to the users. 
> >
> >qrunner is running. I traced the problem to the following: 
> >
> >In logs/post I saw this:
> >
> >Aug 19 02:01:09 2007 (15427) post to list from [EMAIL PROTECTED], size=1215, 
> >message-id=<[EMAIL PROTECTED]>, 12 failures
> >Aug 19 02:01:09 2007 (15428) post to list from [EMAIL PROTECTED], size=1215, 
> >message-id=<[EMAIL PROTECTED]>, 12 failures
> >
> >The message is repeated more than 12 times.
> 
> 
> And what is in the smtp-failure log?
> 

I saw the following: 

Aug 19 12:12:03 2007 (4347) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')
Aug 19 12:12:03 2007 (4347) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')
Aug 19 12:12:03 2007 (4347) delivery to [EMAIL PROTECTED] failed with code -1: 
(111, 'Connection refused')

Ever since then, I see things like in logs/smtp:

Aug 19 06:01:19 2007 (15455) <[EMAIL PROTECTED]> smtp to list for 12 recips, 
completed in 0.001
 seconds
Aug 19 06:01:19 2007 (15455) <[EMAIL PROTECTED]> smtp to list for 12 recips, 
completed in 0.001
 seconds
Aug 19 06:01:19 2007 (15455) <[EMAIL PROTECTED]> smtp to list for 12 recips, 
completed in 0.001
 seconds

Noting is still going through though. 

The errors in logs/error appear to have stopped at 8:00 AM.


> 
> >In logs/error I see this: 
> >
> >Aug 19 01:46:09 2007 qrunner(5838): Traceback (most recent call last):
> >Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
> >line 278, in ?
> >Aug 19 01:46:09 2007 qrunner(5838):  main()
> >Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
> >line 238, in main
> >Aug 19 01:46:09 2007 qrunner(5838):  qrunner.run()
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
> >Aug 19 01:46:09 2007 qrunner(5838):  filecnt = self._oneloop()
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
> >Aug 19 01:46:09 2007 qrunner(5838):  msg, msgdata = 
> >self._switchboard.dequeue(filebase)
> >Aug 19 01:46:09 2007 qrunner(5838):   File 
> >"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
> >Aug 19 01:46:09 2007 qrunner(5838):  fp = open(filename)
> >Aug 19 01:46:09 2007 qrunner(5838): IOError :  [Errno 2] No such file or 
> >directory: '/var/lib/mailman/qfiles/out/1187500584.
> >9663761+5f32a14b80df78b4db0d2455318501cdaa1d6f0f.pck'
> 
> 
> See
> 
> 
> 
> 
> 
> >Aug 19 01:48:05 2007 (15098) Uncaught runner exception: [Errno 13] 
> >Permission denied: '/var/lib/mailman/archives/private/sys
> >admin/index.html'
> >Aug 19 01:48:05 2007 (15098) Traceback (most recent call last):
> >  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
> >self._onefile(msg, msgdata)
> >  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
> >keepqueued = self._dispose(mlist, msg, msgdata)
> >  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
> >mlist.ArchiveMail(msg)
> >  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 217, in 
> > ArchiveMail
> >h.close()
> >  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 324, in close
> >self.write_TOC()
> >  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1094, in 
> > write_TOC
> >toc = open(os.path.join(self.basedir, 'index.html'), 'w')
> >IOError: [Errno 13] Permission denied: 
> >'/var/lib/mailman/archives/private/sysadmin/index.html'
> >Aug 19 01:48:05 2007 (15098) SHUNTING: 
> >1187502485.4463329+7a7b88a8b7bb48e961dc70e6ecfb9012cb8d588b
> 
> 
> There is a bug in check_perms. It does not check for sufficient access
> to archives/private/ - permissions should be at least drwxrws--- and
> group mailman.
> 

I set those perms to all files (some files did not have those perms just now.

> 
> 
> 
> >Aug 19 01:48:33 2007 (15173) Failed to unlink backup file: 
> >/var/lib/mailman/qfiles/out/1187500584.9663761+e5cf2faf7251118610
> >19d282cc9557ca9ba9db31.bak
> 
> 
> This too looks like multiple qrunners processing the same queue slice.
> 

This was true. I killed all of them off. And removed the -s option from the 
init script I was using. 

> 
> 
> 
> >I have run bin/check_perms multiple times, but it tells me that there are no 
> >problems.
> 
> 
> See above.
> 
> -- 
> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
> San 

Re: [Mailman-Users] qrunner refuses to pass mail to users

2007-08-19 Thread Mark Sapiro
[EMAIL PROTECTED]
>
>I have the following setup: 
>
>Postfix -> Dspam -> Procmail -> Mailman -> Users
>
>I've tried taking Dspam out of the equation, but that did not change a thing.
>
>When users send to a mailing list, the message appears to be deilvered to 
>mailman. 
>However, mailman does not do anything afterwards: i.e. its does not send the 
>messages to the users. 
>
>qrunner is running. I traced the problem to the following: 
>
>In logs/post I saw this:
>
>Aug 19 02:01:09 2007 (15427) post to list from [EMAIL PROTECTED], size=1215, 
>message-id=<[EMAIL PROTECTED]>, 12 failures
>Aug 19 02:01:09 2007 (15428) post to list from [EMAIL PROTECTED], size=1215, 
>message-id=<[EMAIL PROTECTED]>, 12 failures
>
>The message is repeated more than 12 times.


And what is in the smtp-failure log?


>In logs/error I see this: 
>
>Aug 19 01:46:09 2007 qrunner(5838): Traceback (most recent call last):
>Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
>line 278, in ?
>Aug 19 01:46:09 2007 qrunner(5838):  main()
>Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
>line 238, in main
>Aug 19 01:46:09 2007 qrunner(5838):  qrunner.run()
>Aug 19 01:46:09 2007 qrunner(5838):   File 
>"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
>Aug 19 01:46:09 2007 qrunner(5838):  filecnt = self._oneloop()
>Aug 19 01:46:09 2007 qrunner(5838):   File 
>"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
>Aug 19 01:46:09 2007 qrunner(5838):  msg, msgdata = 
>self._switchboard.dequeue(filebase)
>Aug 19 01:46:09 2007 qrunner(5838):   File 
>"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
>Aug 19 01:46:09 2007 qrunner(5838):  fp = open(filename)
>Aug 19 01:46:09 2007 qrunner(5838): IOError :  [Errno 2] No such file or 
>directory: '/var/lib/mailman/qfiles/out/1187500584.
>9663761+5f32a14b80df78b4db0d2455318501cdaa1d6f0f.pck'


See





>Aug 19 01:48:05 2007 (15098) Uncaught runner exception: [Errno 13] Permission 
>denied: '/var/lib/mailman/archives/private/sys
>admin/index.html'
>Aug 19 01:48:05 2007 (15098) Traceback (most recent call last):
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
>self._onefile(msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
>keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
>mlist.ArchiveMail(msg)
>  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 217, in 
> ArchiveMail
>h.close()
>  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 324, in close
>self.write_TOC()
>  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1094, in 
> write_TOC
>toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: 
>'/var/lib/mailman/archives/private/sysadmin/index.html'
>Aug 19 01:48:05 2007 (15098) SHUNTING: 
>1187502485.4463329+7a7b88a8b7bb48e961dc70e6ecfb9012cb8d588b


There is a bug in check_perms. It does not check for sufficient access
to archives/private/ - permissions should be at least drwxrws--- and
group mailman.




>Aug 19 01:48:33 2007 (15173) Failed to unlink backup file: 
>/var/lib/mailman/qfiles/out/1187500584.9663761+e5cf2faf7251118610
>19d282cc9557ca9ba9db31.bak


This too looks like multiple qrunners processing the same queue slice.




>I have run bin/check_perms multiple times, but it tells me that there are no 
>problems.


See above.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] qrunner refuses to pass mail to users

2007-08-18 Thread falko
Hi everyone,

I have the following setup: 

Postfix -> Dspam -> Procmail -> Mailman -> Users

I've tried taking Dspam out of the equation, but that did not change a thing.

When users send to a mailing list, the message appears to be deilvered to 
mailman. 
However, mailman does not do anything afterwards: i.e. its does not send the 
messages to the users. 

qrunner is running. I traced the problem to the following: 

In logs/post I saw this:

Aug 19 02:01:09 2007 (15427) post to list from [EMAIL PROTECTED], size=1215, 
message-id=<[EMAIL PROTECTED]>, 12 failures
Aug 19 02:01:09 2007 (15428) post to list from [EMAIL PROTECTED], size=1215, 
message-id=<[EMAIL PROTECTED]>, 12 failures

The message is repeated more than 12 times.

In logs/error I see this: 

Aug 19 01:46:09 2007 qrunner(5838): Traceback (most recent call last):
Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
line 278, in ?
Aug 19 01:46:09 2007 qrunner(5838):  main()
Aug 19 01:46:09 2007 qrunner(5838):   File "/usr/local/mailman/bin/qrunner", 
line 238, in main
Aug 19 01:46:09 2007 qrunner(5838):  qrunner.run()
Aug 19 01:46:09 2007 qrunner(5838):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
Aug 19 01:46:09 2007 qrunner(5838):  filecnt = self._oneloop()
Aug 19 01:46:09 2007 qrunner(5838):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
Aug 19 01:46:09 2007 qrunner(5838):  msg, msgdata = 
self._switchboard.dequeue(filebase)
Aug 19 01:46:09 2007 qrunner(5838):   File 
"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
Aug 19 01:46:09 2007 qrunner(5838):  fp = open(filename)
Aug 19 01:46:09 2007 qrunner(5838): IOError :  [Errno 2] No such file or 
directory: '/var/lib/mailman/qfiles/out/1187500584.
9663761+5f32a14b80df78b4db0d2455318501cdaa1d6f0f.pck'
Aug 19 01:46:09 2007 qrunner(15103): Traceback (most recent call last):
Aug 19 01:46:09 2007 qrunner(15103):   File "/usr/local/mailman/bin/qrunner", 
line 278, in ?
Aug 19 01:46:09 2007 qrunner(15103):  main()
Aug 19 01:46:09 2007 qrunner(15103):   File "/usr/local/mailman/bin/qrunner", 
line 238, in main
Aug 19 01:46:09 2007 qrunner(15103):  qrunner.run()
Aug 19 01:46:09 2007 qrunner(15103):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
Aug 19 01:46:09 2007 qrunner(15103):  filecnt = self._oneloop()
Aug 19 01:46:09 2007 qrunner(15103):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
Aug 19 01:46:09 2007 qrunner(15103):  msg, msgdata = 
self._switchboard.dequeue(filebase)
Aug 19 01:46:09 2007 qrunner(15103):   File 
"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
Aug 19 01:46:09 2007 qrunner(15103):  fp = open(filename)
Aug 19 01:46:09 2007 qrunner(15103): IOError :  [Errno 2] No such file or 
directory: '/var/lib/mailman/qfiles/out/1187501967
.345715+3df12527015dd9faf50eaa9a346b286119526e4c.pck'
Aug 19 01:48:05 2007 (15098) Uncaught runner exception: [Errno 13] Permission 
denied: '/var/lib/mailman/archives/private/sys
admin/index.html'
Aug 19 01:48:05 2007 (15098) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
mlist.ArchiveMail(msg)
  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 217, in 
ArchiveMail
h.close()
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 324, in close
self.write_TOC()
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 1094, in 
write_TOC
toc = open(os.path.join(self.basedir, 'index.html'), 'w')
IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/sysadmin/index.html'
Aug 19 01:48:05 2007 (15098) SHUNTING: 
1187502485.4463329+7a7b88a8b7bb48e961dc70e6ecfb9012cb8d588b
Aug 19 01:48:32 2007 qrunner(15130): Traceback (most recent call last):
Aug 19 01:48:32 2007 qrunner(15066): Traceback (most recent call last):
Aug 19 01:48:32 2007 qrunner(15130):   File "/usr/local/mailman/bin/qrunner", 
line 278, in ?
Aug 19 01:48:32 2007 qrunner(15066):   File "/usr/local/mailman/bin/qrunner", 
line 278, in ?
Aug 19 01:48:32 2007 qrunner(15066):  main()
Aug 19 01:48:32 2007 qrunner(15130):  main()
Aug 19 01:48:32 2007 qrunner(15066):   File "/usr/local/mailman/bin/qrunner", 
line 238, in main
Aug 19 01:48:32 2007 qrunner(15130):   File "/usr/local/mailman/bin/qrunner", 
line 238, in main
Aug 19 01:48:32 2007 qrunner(15066):  qrunner.run()
Aug 19 01:48:32 2007 qrunner(15130):  qrunner.run()
Aug 19 01:48:32 2007 qrunner(15066):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
Aug 19 01:48:32 2007 qrunner(15130):   File 
"/usr/local/mailman/Mailman/Queue/Runner.py", line 7

Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-10 Thread Mark Sapiro
Joern Allmers wrote:
>>
>> In the error log theres nothing every 15 minutes, only errors that occured
>> while I did the setup. The qrunner log shows only
>> May 03 09:30:01 2006 (24268) Master qrunner detected subprocess exit
>> (pid: 14115, sig: 9, sts: None, class: VirginRunner, slice: 1/1)
>> [restarting] 
.
>>
>> exact every 15 Minutes.


The qrunners are being sent SIGKILL (sig: 9) every 15 minutes. This is
almost certainly coming from outside of Mailman. No Mailman process
sends SIGKILL to anything.


>> Do you know how to tell mailman/qrunner to be more verbose?


There is no switch to make it log more, and it wouldn't do any good
anyway because the runner wouldn't be able to log anything after being
SIGKILLed anyway.

Does your OS have a 15 minute run time limit for 'ordinary' processes?


-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-09 Thread Joern Allmers
Hi,

Sorry for the repost but I still try to tell qrunner to be more verbose (and 
of course to stop restarting every 15min) so *any* hints?

Thanks

Joern

Am Mittwoch, 3. Mai 2006 10:07 schrieb Joern Allmers:
> Hi,
>
> > Is there any more in the qrunner log than was in the original post
> > (e.g., messages from the qrunners indicating a received signal)? Is
> > there anything in Mailman's error log?
>
> In the error log theres nothing every 15 minutes, only errors that occured
> while I did the setup. The qrunner log shows only
> May 03 09:30:01 2006 (24268) Master qrunner detected subprocess exit
> (pid: 14115, sig: 9, sts: None, class: VirginRunner, slice: 1/1)
> [restarting] May 03 09:30:02 2006 (24268) Master qrunner detected
> subprocess exit (pid: 14172, sig: 9, sts: None, class: OutgoingRunner,
> slice: 1/1) [restarting]
> May 03 09:30:02 2006 (24268) Master qrunner detected subprocess exit
> (pid: 14055, sig: 9, sts: None, class: RetryRunner, slice: 1/1)
> [restarting] May 03 09:30:03 2006 (24268) Master qrunner detected
> subprocess exit (pid: 14202, sig: 9, sts: None, class: IncomingRunner,
> slice: 1/1) [restarting]
> May 03 09:30:03 2006 (24268) Master qrunner detected subprocess exit
> (pid: 14215, sig: 9, sts: None, class: ArchRunner, slice: 1/1) [restarting]
> May 03 09:30:04 2006 (24268) Master qrunner detected subprocess exit
> (pid: 14229, sig: 9, sts: None, class: CommandRunner, slice: 1/1)
> [restarting] May 03 09:30:04 2006 (24268) Master qrunner detected
> subprocess exit (pid: 14233, sig: 9, sts: None, class: BounceRunner, slice:
> 1/1) [restarting] May 03 09:30:15 2006 (1978) RetryRunner qrunner started.
> May 03 09:30:15 2006 (1694) VirginRunner qrunner started.
> May 03 09:30:17 2006 (3437) BounceRunner qrunner started.
> May 03 09:30:18 2006 (3128) IncomingRunner qrunner started.
> May 03 09:30:18 2006 (1826) OutgoingRunner qrunner started.
> May 03 09:30:19 2006 (3414) CommandRunner qrunner started.
> May 03 09:30:19 2006 (3282) ArchRunner qrunner started.
>
> exact every 15 Minutes.
>
> > It is unlikely to be any kind of processing error as that would
> > normally affect at most one runner. I note that NewsRunner wasn't in
> > the log in the OP. Is it unaffected, or are you not running it?
>
> I had commented it out as I dont need it but: the only difference is that
> the newsrunner is restarted to :-(
> There is a mailman cron file but it only does checkdbs, disabled,
> senddigests etc. but none of them every 15 Minutes. I have not found any
> other cronjob that is done every 15 minutes.
>
> > It is most likely some external cron process or OS condition that is
> > stopping the runners, but it's difficult to say without more log info
> > from Mailman or the OS.
>
> I gave you everything from mailman I have :-) In the syslog there is also
> nothing. My imap client logs in (as it does every minute) an munin is
> drawing its statistics as it does every 5 minutes.
>
> Do you know how to tell mailman/qrunner to be more verbose?
>
> Thanks
>
> Joern
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-03 Thread Joern Allmers
Hi,

> Is there any more in the qrunner log than was in the original post
> (e.g., messages from the qrunners indicating a received signal)? Is
> there anything in Mailman's error log?

In the error log theres nothing every 15 minutes, only errors that occured 
while I did the setup. The qrunner log shows only 
May 03 09:30:01 2006 (24268) Master qrunner detected subprocess exit
(pid: 14115, sig: 9, sts: None, class: VirginRunner, slice: 1/1) [restarting]
May 03 09:30:02 2006 (24268) Master qrunner detected subprocess exit
(pid: 14172, sig: 9, sts: None, class: OutgoingRunner, slice: 1/1) 
[restarting]
May 03 09:30:02 2006 (24268) Master qrunner detected subprocess exit
(pid: 14055, sig: 9, sts: None, class: RetryRunner, slice: 1/1) [restarting]
May 03 09:30:03 2006 (24268) Master qrunner detected subprocess exit
(pid: 14202, sig: 9, sts: None, class: IncomingRunner, slice: 1/1) 
[restarting]
May 03 09:30:03 2006 (24268) Master qrunner detected subprocess exit
(pid: 14215, sig: 9, sts: None, class: ArchRunner, slice: 1/1) [restarting]
May 03 09:30:04 2006 (24268) Master qrunner detected subprocess exit
(pid: 14229, sig: 9, sts: None, class: CommandRunner, slice: 1/1) [restarting]
May 03 09:30:04 2006 (24268) Master qrunner detected subprocess exit
(pid: 14233, sig: 9, sts: None, class: BounceRunner, slice: 1/1) [restarting]
May 03 09:30:15 2006 (1978) RetryRunner qrunner started.
May 03 09:30:15 2006 (1694) VirginRunner qrunner started.
May 03 09:30:17 2006 (3437) BounceRunner qrunner started.
May 03 09:30:18 2006 (3128) IncomingRunner qrunner started.
May 03 09:30:18 2006 (1826) OutgoingRunner qrunner started.
May 03 09:30:19 2006 (3414) CommandRunner qrunner started.
May 03 09:30:19 2006 (3282) ArchRunner qrunner started.

exact every 15 Minutes. 

> It is unlikely to be any kind of processing error as that would
> normally affect at most one runner. I note that NewsRunner wasn't in
> the log in the OP. Is it unaffected, or are you not running it?

I had commented it out as I dont need it but: the only difference is that the 
newsrunner is restarted to :-(
There is a mailman cron file but it only does checkdbs, disabled, senddigests 
etc. but none of them every 15 Minutes. I have not found any other cronjob 
that is done every 15 minutes.

> It is most likely some external cron process or OS condition that is
> stopping the runners, but it's difficult to say without more log info
> from Mailman or the OS.

I gave you everything from mailman I have :-) In the syslog there is also 
nothing. My imap client logs in (as it does every minute) an munin is drawing 
its statistics as it does every 5 minutes.

Do you know how to tell mailman/qrunner to be more verbose? 

Thanks

Joern
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-02 Thread Mark Sapiro
Carl Zwanzig wrote:

>In a flurry of recycled electrons, Joern Allmers wrote:
>> 
>> I don't think so. In cron.d theres no entry for it. Any idea why the 
>> qrunners 
>> are stopt?
>
>In answer to the second question, you can only have one of each qrunner
>at a time, so if you start a new master, it'll kill any others that it
>sees.


It isn't that straightforward. See
.

In any case, I don't think that's the problem here.

Is there any more in the qrunner log than was in the original post
(e.g., messages from the qrunners indicating a received signal)? Is
there anything in Mailman's error log?

It is unlikely to be any kind of processing error as that would
normally affect at most one runner. I note that NewsRunner wasn't in
the log in the OP. Is it unaffected, or are you not running it?

It is most likely some external cron process or OS condition that is
stopping the runners, but it's difficult to say without more log info
from Mailman or the OS.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-02 Thread Carl Zwanzig
In a flurry of recycled electrons, Joern Allmers wrote:
> > Perchange, is qrunner being run every 15 minutes in a cron job? Newer
> > mailmans just start qrunner once at boot time and it deals with it's own
> > scheduling.
> 
> I don't think so. In cron.d theres no entry for it. Any idea why the qrunners 
> are stopt?

Could be in /etc/crontab, /var/spool/cron/mailman, or some other place...
Pre 2.1 versions ran qrunner from cron.

In answer to the second question, you can only have one of each qrunner
at a time, so if you start a new master, it'll kill any others that it
sees.

z!
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-02 Thread Joern Allmers
Am Dienstag, 2. Mai 2006 21:54 schrieben Sie:
> In a flurry of recycled electrons, Joern Allmers wrote:
> > Mailman works great and everything could be fine if not it was restarting
> > every 15 minutes:
>
> Perchange, is qrunner being run every 15 minutes in a cron job? Newer
> mailmans just start qrunner once at boot time and it deals with it's own
> scheduling.

I don't think so. In cron.d theres no entry for it. Any idea why the qrunners 
are stopt?

Thanks

joern
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] qrunner restarts every 15 minutes

2006-05-02 Thread Carl Zwanzig
In a flurry of recycled electrons, Joern Allmers wrote:

> Mailman works great and everything could be fine if not it was restarting 
> every 15 minutes:

Perchange, is qrunner being run every 15 minutes in a cron job? Newer mailmans
just start qrunner once at boot time and it deals with it's own scheduling.

z!
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] qrunner restarts every 15 minutes

2006-05-02 Thread Joern Allmers
Hello,

I'm quite new to mailman so if you need more info I'll provide them - just 
tell me what you need!

I have a Debian Stable server with the Debian mailman package (Version: 
2.1.5-8sarge2) installed. 

Mailman works great and everything could be fine if not it was restarting 
every 15 minutes:

/var/log/qrunner:
May 02 20:00:02 2006 (12030) Master qrunner detected subprocess exit
(pid: 32369, sig: 9, sts: None, class: RetryRunner, slice: 1/1) [restarting]
May 02 20:00:03 2006 (12030) Master qrunner detected subprocess exit
(pid: 32462, sig: 9, sts: None, class: BounceRunner, slice: 1/1) [restarting]
May 02 20:00:03 2006 (12030) Master qrunner detected subprocess exit
(pid: 32581, sig: 9, sts: None, class: VirginRunner, slice: 1/1) [restarting]
May 02 20:00:04 2006 (12030) Master qrunner detected subprocess exit
(pid: 32753, sig: 9, sts: None, class: IncomingRunner, slice: 1/1) 
[restarting]
May 02 20:00:05 2006 (12030) Master qrunner detected subprocess exit
(pid: 1377, sig: 9, sts: None, class: CommandRunner, slice: 1/1) [restarting]
May 02 20:00:11 2006 (12030) Master qrunner detected subprocess exit
(pid: 1398, sig: 9, sts: None, class: ArchRunner, slice: 1/1) [restarting]
May 02 20:00:11 2006 (12030) Master qrunner detected subprocess exit
(pid: 1439, sig: 9, sts: None, class: OutgoingRunner, slice: 1/1) [restarting]
May 02 20:00:22 2006 (20340) RetryRunner qrunner started.
May 02 20:00:24 2006 (21508) BounceRunner qrunner started.
May 02 20:00:24 2006 (23670) CommandRunner qrunner started.
May 02 20:00:26 2006 (21931) IncomingRunner qrunner started.
May 02 20:00:27 2006 (23706) OutgoingRunner qrunner started.
May 02 20:00:27 2006 (21705) VirginRunner qrunner started.
May 02 20:00:29 2006 (23682) ArchRunner qrunner started.


10 times and the max restarts is reached and nothing works.  Any hints? I 
searched the web and found nothing. Give me a hint what I can tune. 

Thanks!

Joern
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Qrunner unsticking

2005-06-24 Thread postal worker
So I have a qrunner lock issue.

I followed: 
http://www.python.org/cgi-bin/faqw-mm.py?req=edit&file=faq04.019.htp

and got to the strace step:

mailman:/var/log/mailman# strace -f -p 18805
read(6,

But where do I find the offending message that's causing 18805 to stall?

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] QRUNNER processes running high on CPU rates

2005-06-20 Thread Carl Zwanzig
In a flurry of recycled electrons, Chance Eppinette wrote:

> The CPU rate is hovering around 45% for the qrunner bounce process.
> The list has purged out about 1100 disabled subscribers over this weekend,
> but for some reason is still churning away about nothing - it seems.

Clearing the member list won't affect what's already queued up for delivery.
You either have to live with it for a few days or manually clear the queue.
(IIRC, this is as simple as deleting the files in the queue directory. See the 
FAQ.)

z!
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] QRUNNER processes running high on CPU rates

2005-06-20 Thread Chance Eppinette
Hello,

I am still having problems with a list which has about 13,000 subscribers.
The system seems to be overwhelmed by bounce processing.  I am running
Mailman 2.1.5 on a Solaris 2.8 SunFire -280R.
The CPU rate is hovering around 45% for the qrunner bounce process.
The list has purged out about 1100 disabled subscribers over this weekend,
but for some reason is still churning away about nothing - it seems.

I have tried to stop and restart the Mailman services but that takes extra
steps as well...
"S98mailman stop" doesn't kill all Mailman processes.  I have to kill them
manually and this is after waiting up to 10 minutes or so for S98mailman.

Also, while the qrunner process is running high CPU rates, we can't login to
this specific list via the web interface.
Is it possible I have a corrupted Mailman installation or something?


Chance Eppinette
Technology Support Manager
ULM Computing Center
[EMAIL PROTECTED]
318-342-5021 (phone)
318-342-5018 (fax)

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

[Mailman-Users] qrunner wedged

2005-04-06 Thread Morris Jones
Twice over the past two weeks I've had instances of qrunner locking up 
and requiring a restart.  There's nothing in the qrunner log file that 
gives me a clue of what's going on.  It's behaving like it might be a 
deadlock.

I did get a python update in February from SuSE, to 2.3.4.
Mailman version is 2.1.5, as installed from a SuSE 9.2 rpm.
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Qrunner Error

2005-02-25 Thread Mark Sapiro
Young, Darren wrote:

>Mailman 2.1.5 on RedHat EL 3.0... Getting the following error, any
>thoughts?
>
>[EMAIL PROTECTED] bin]# ./qrunner -r Outgoing:0:1 -v
>Traceback (most recent call last):
>  File "./qrunner", line 270, in ?
>main()
>  File "./qrunner", line 230, in main
>qrunner.run()
>  File "/home/mailman-2.1/Mailman/Queue/Runner.py", line 70, in run
>filecnt = self._oneloop()
>  File "/home/mailman-2.1/Mailman/Queue/Runner.py", line 99, in _oneloop
>msg, msgdata = self._switchboard.dequeue(filebase)
>  File "/home/mailman-2.1/Mailman/Queue/Switchboard.py", line 143, in
>dequeue
>fp = open(filename)
>IOError: [Errno 2] No such file or directory:
>'/home/mailman-2.1/qfiles/out/1109280212.391001d7f7d15bdb848c85faae16b96
>6639956aee33bd6.pck'
>
>Checked, that file really does not exist. Is there an outbound queue
>database that can get corrupted?

I don't think there is any database.

This kind of problem has been reported before on this list (see
http://www.google.com/search?q=site:mail.python.org+%22errno+2%22+qfiles)
including one recent thread beginning at
http://mail.python.org/pipermail/mailman-users/2005-February/042826.html
that says the latest 2.1.6 beta fixed it.

--
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Qrunner Error

2005-02-24 Thread Young, Darren
Mailman 2.1.5 on RedHat EL 3.0... Getting the following error, any
thoughts?

[EMAIL PROTECTED] bin]# ./qrunner -r Outgoing:0:1 -v
Traceback (most recent call last):
  File "./qrunner", line 270, in ?
main()
  File "./qrunner", line 230, in main
qrunner.run()
  File "/home/mailman-2.1/Mailman/Queue/Runner.py", line 70, in run
filecnt = self._oneloop()
  File "/home/mailman-2.1/Mailman/Queue/Runner.py", line 99, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/home/mailman-2.1/Mailman/Queue/Switchboard.py", line 143, in
dequeue
fp = open(filename)
IOError: [Errno 2] No such file or directory:
'/home/mailman-2.1/qfiles/out/1109280212.391001d7f7d15bdb848c85faae16b96
6639956aee33bd6.pck'

Checked, that file really does not exist. Is there an outbound queue
database that can get corrupted?

-
| Darren Young  | http://www.chicagogsb.edu |
| Senior UNIX Administrator | [EMAIL PROTECTED]   |
| University of Chicago GSB | [EMAIL PROTECTED] |
-
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&fileúq01.027.htp


Re: [Mailman-Users] qrunner running but not flushing qfiles/in

2004-10-22 Thread John Dennis
On Fri, 2004-10-22 at 12:41, [EMAIL PROTECTED] wrote:
> Hey Mark, thanks for the reply.  Yeah I figured that the missing qrunners were
> the problem but there was no log entry that was revealing. Then I read in the
> mailmanctl script that restart doesn't kill the parent ps, just the qrunners.
> So I manually stopped and started and that did it.  We'll see what happens on
> the next boot (last one before yesterday was 72 days ago so I'll have to write
> a note to myself).

Hmm ... depending on your host system arguably its preferable to use the
service command to manage services (e.g. invokes the mailman init.d
script, which then in turn invokes mailmanctl). For what its worth the
vanilla init.d script supplied with mailman calls mailmanctl with the
restart argument when invoked with restart. But a more typical restart
implementation in init.d scripts for services is stop followed by start
(currently done in our distribution). It sounds like Tom would not have
run into this problem if that were the case and perhaps the default
init.d script (misc/mailman.in) should do that, but read on ...

However I'm a little bit perplexed by why a stop followed by a start
caused a missing qrunner to be recreated. The master watches for the
death of a child and automatically restarts it unless the norestart
option is given or a handful of other conditions exist including
exceeding the max number of restart attempts, all of which are logged. A
master restart is implemented via sending the watcher a SIGINT. If the
watcher were dead you should have gotten an error on restart. I'm mildly
troubled you had to perform a stop/start sequence without any errors
logged.
-- 
John Dennis <[EMAIL PROTECTED]>

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running but not flushing qfiles/in

2004-10-22 Thread tomg
On Fri, 22 Oct 2004, Mark Sapiro wrote:

> [EMAIL PROTECTED] wrote:
> >
> >On Slackware 9.1 (kernel 2.4.22), Mailman 2.1.5, Python 2.3.4, Sendmail 8.12.10:
> >
> >ps shows -
> >
> >  PID TTY  STAT   TIME COMMAND
> >26185 ?S  0:00 sendmail: accepting connections
> >26187 ?S  0:00 sendmail: Queue [EMAIL PROTECTED]:25:00 for 
> >/var/spool/client
> > 1359 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> > --runner=NewsRunner:0:1 -s
> > 1360 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> > --runner=BounceRunner:0:1 -s
> > 1361 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> > --runner=RetryRunner:0:1 -s
> > 1362 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> > --runner=CommandRunner:0:1 -s
> >
> >The qrunner daemon was fired up by the mailman script copied to /etc/rc.d and
> >called in rc.local at boot time.
> >
> >When I post to a test list mail sits forever in qfiles/in
> >The entry is owned by daemon.mail (mailman was conf'd with --mail-gid=daemon)
>
>
> Probably because the incoming qrunner is not running. Why it isn't
> started (or quits) I don't know.
>
> Your mailman script should be running "mailmanctl -s -q start".

Hey Mark, thanks for the reply.  Yeah I figured that the missing qrunners were
the problem but there was no log entry that was revealing. Then I read in the
mailmanctl script that restart doesn't kill the parent ps, just the qrunners.
So I manually stopped and started and that did it.  We'll see what happens on
the next boot (last one before yesterday was 72 days ago so I'll have to write
a note to myself).

Thanks again,
Tom

> On my installation "ps -Afw|grep python" shows
>
> 101   1518 1  0 Sep26 ?00:00:00 /usr/bin/python2.3
> /www/grizz/mailman/bin/mailmanctl -s -q start
> 101   1519  1518  0 Sep26 ?00:05:32 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
> 101   1520  1518  0 Sep26 ?00:03:37 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
> 101   1521  1518  0 Sep26 ?00:03:34 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
> 101   1522  1518  0 Sep26 ?00:03:52 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
> 101   1523  1518  0 Sep26 ?00:03:27 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
> 101   1524  1518  0 Sep26 ?00:04:32 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
> 101   1526  1518  0 Sep26 ?00:00:12 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
> 101   1527  1518  0 Sep26 ?00:00:00 /usr/bin/python2.3
> /www/grizz/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
> gpc  17405 16739  0 09:18 pts/200:00:00 grep python
>
>
> >The mail will sit there until I run (as mailman OR root):  qrunner -r All
> >
> >Where have I veered off course?!!
> >
>
> Figure out what is happening to the missing stuff...
>
> The mailman logs may help.
>
> --
> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>


---
Thomas Good  e-mail: [EMAIL PROTECTED]
Programmer/Analyst   phone:   (+1) 718.818.5528
Residential Services fax: (+1) 718.818.5056
Behavioral Health Services, SVCMC-NY mobile:  (+1) 347.524.5631

// When you're untroubled by doubt, when your orthodoxy is full up, it
// resists all irony or interruption, all modification or reflection.
 -- Bill Ayers

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running but not flushing qfiles/in

2004-10-22 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:
>
>On Slackware 9.1 (kernel 2.4.22), Mailman 2.1.5, Python 2.3.4, Sendmail 8.12.10:
>
>ps shows -
>
>  PID TTY  STAT   TIME COMMAND
>26185 ?S  0:00 sendmail: accepting connections
>26187 ?S  0:00 sendmail: Queue [EMAIL PROTECTED]:25:00 for 
>/var/spool/client
> 1359 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> --runner=NewsRunner:0:1 -s
> 1360 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> --runner=BounceRunner:0:1 -s
> 1361 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> --runner=RetryRunner:0:1 -s
> 1362 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
> --runner=CommandRunner:0:1 -s
>
>The qrunner daemon was fired up by the mailman script copied to /etc/rc.d and
>called in rc.local at boot time.
>
>When I post to a test list mail sits forever in qfiles/in
>The entry is owned by daemon.mail (mailman was conf'd with --mail-gid=daemon)


Probably because the incoming qrunner is not running. Why it isn't
started (or quits) I don't know.

Your mailman script should be running "mailmanctl -s -q start".

On my installation "ps -Afw|grep python" shows

101   1518 1  0 Sep26 ?00:00:00 /usr/bin/python2.3
/www/grizz/mailman/bin/mailmanctl -s -q start
101   1519  1518  0 Sep26 ?00:05:32 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
101   1520  1518  0 Sep26 ?00:03:37 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
101   1521  1518  0 Sep26 ?00:03:34 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
101   1522  1518  0 Sep26 ?00:03:52 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
101   1523  1518  0 Sep26 ?00:03:27 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
101   1524  1518  0 Sep26 ?00:04:32 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
101   1526  1518  0 Sep26 ?00:00:12 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
101   1527  1518  0 Sep26 ?00:00:00 /usr/bin/python2.3
/www/grizz/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
gpc  17405 16739  0 09:18 pts/200:00:00 grep python

   
>The mail will sit there until I run (as mailman OR root):  qrunner -r All
>
>Where have I veered off course?!!
>

Figure out what is happening to the missing stuff...

The mailman logs may help.

--
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner running but not flushing qfiles/in

2004-10-22 Thread tomg
Hi all,

On Slackware 9.1 (kernel 2.4.22), Mailman 2.1.5, Python 2.3.4, Sendmail 8.12.10:

ps shows -

  PID TTY  STAT   TIME COMMAND
26185 ?S  0:00 sendmail: accepting connections
26187 ?S  0:00 sendmail: Queue [EMAIL PROTECTED]:25:00 for 
/var/spool/client
 1359 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
--runner=NewsRunner:0:1 -s
 1360 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
--runner=BounceRunner:0:1 -s
 1361 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
--runner=RetryRunner:0:1 -s
 1362 ?S  0:00 /usr/bin/python /usr/local/mailman/bin/qrunner 
--runner=CommandRunner:0:1 -s

The qrunner daemon was fired up by the mailman script copied to /etc/rc.d and
called in rc.local at boot time.

When I post to a test list mail sits forever in qfiles/in
The entry is owned by daemon.mail (mailman was conf'd with --mail-gid=daemon)

The mail will sit there until I run (as mailman OR root):  qrunner -r All

Where have I veered off course?!!

TIA

---
Thomas Good  e-mail: [EMAIL PROTECTED]
Programmer/Analyst   phone:   (+1) 718.818.5528
Residential Services fax: (+1) 718.818.5056
Behavioral Health Services, SVCMC-NY mobile:  (+1) 347.524.5631

// When you're untroubled by doubt, when your orthodoxy is full up, it
// resists all irony or interruption, all modification or reflection.
 -- Bill Ayers

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner

2004-10-15 Thread jaskaran singh
How many qrunner locks should be present besides the master qrunner lock ?
thanks
jack
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner cron "mkdir: cannot create directory"

2004-10-13 Thread Jimmy Henson
I'm running mailman-2.0.13 on a Red Hat 7.2 box.  However, I'm constantly
receiving error messages from the qrunner cron job, like this:

mkdir: cannot create directory
`/opt/data/mailman/hypermail/public/vcc-release': File exists

I've looked through the Python code, but it's not evident to me why qrunner
is trying to mkdir.  Mailman seems to be functioning normally in every other
respect.  

Can someone please explain to me what qrunner is attempting to do, and what
I can or should do about it?

Thank you,
Jimmy

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner using 99% of my CPU time? (RESOLVED)

2004-09-11 Thread Takahiro_Horie
I figured out the problem. (mailman 2.1.5)

In the qrunner script, I changed it to the following:

while not loop.isdone():
for qrunner in qrunners:
# In case the SIGTERM came in the middle of this iteration
if loop.isdone():
break
if verbose:
syslog('qrunner', 'Now doing a %s qrunner iteration',
   qrunner.__class__.__bases__[0].__name__)
time.sleep(10);
qrunner.run()
if once:
break

What I added was the "time.sleep(10)" which pauses the script for 10 
seconds before the next iteration.
Works perfectly. CPU usage down to almost nothing.

Thanks!
--Takahiro





Brad Knowles <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/10/2004 04:29 PM

 
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
    Subject:Re: [Mailman-Users] qrunner using 99% of my CPU time?

At 3:36 PM -0700 2004-09-10, [EMAIL PROTECTED] wrote:

>  None of these are helping, and qrunner -r All is still running at 99% 
cpu
>  usage.

 You read everything at 
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.041.htp>, 
and all the threads that it links to?

 What's in your logs?  Are you sure you're not having NIS 
or DNS problems?

-- 
Brad Knowles, <[EMAIL PROTECTED]>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner using 99% of my CPU time?

2004-09-10 Thread Brad Knowles
At 3:36 PM -0700 2004-09-10, [EMAIL PROTECTED] wrote:
 None of these are helping, and qrunner -r All is still running at 99% cpu
 usage.
	You read everything at 
, 
and all the threads that it links to?

What's in your logs?  Are you sure you're not having NIS or DNS problems?
--
Brad Knowles, <[EMAIL PROTECTED]>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner using 99% of my CPU time?

2004-09-10 Thread Takahiro_Horie
I am running mailman 2.1.5 and postfix 1.1.11.

I tried a few things such as not running ArchRunner (I don't think it was 
ever running in the first place).
I checked the logs such as mail.log mail.err, mail.info and also log files 
in mailman but there was nothing that really showed something obviously 
wrong.
I tried changing my mm_cfg.py to have: QRUNNER_SLEEP_TIME = seconds(5).
I tried changing my /etc/postfix/main.cf to have: 
unknown_local_recipient_reject_code = 550

None of these are helping, and qrunner -r All is still running at 99% cpu 
usage.

Also, the mailing list is actually functioning fine. Everyone is getting 
their e-mail. This is a very small server and I only have one list of 5 
e-mail addresses. Only three messages have been posted so far. There is no 
reason for qrunner to be going crazy.

If anyone has any suggestions, please let me know.
Thanks,
Takahiro






Jim Tittsler <[EMAIL PROTECTED]>
09/07/2004 05:42 PM

 
To: [EMAIL PROTECTED]
cc: 
Subject:    Re: [Mailman-Users] qrunner using 99% of my CPU time?

On Tue, Sep 07, 2004 at 12:20:29PM -0700, [EMAIL PROTECTED] wrote:
> I don't know why, but qrunner (which I guess is related to mailman) is
> using 99% of my cpu all the time.

Make sure that there is no problem connecting to your mail
server from Mailman.  When Mailman's queue runners have
difficulty connecting (and delivering mail) to the local
mail server, they can consume a LOT of CPU time.

-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/
Ringo MUG Tokyo  http://www.ringo.net/rss.html




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner using 99% of my CPU time?

2004-09-07 Thread Takahiro_Horie
Hello,

I don't know why, but qrunner (which I guess is related to mailman) is
using 99% of my cpu all the time.
I ran "qrunner -r All" because I assumed that I needed everything.

Any hints would be appreciated!
Thanks,
Takahiro

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner efficiency

2004-08-20 Thread James Williams
Hello List,

This is my first time posting to the list. I hope you guys can help. I
maintain a list with about 1200 members on it. Recently I upgraded the
operating system on the mail server from redhat 8 to redhat advanced server.
I'm still using the 2.0.13 version that was supplied with redhat 8, but now
when I try to send a message to the list the list does not send the message.
It stay's in the queue and creates a lock file. I read/followed the
recommendation on
(http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.019.htp), but
with no luck. Anybody have any ideas as to what I need to do?

I should be able to provide any information that you guys request.

Thank you,

James
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Re: [Mailman-Users] qrunner using 85% cpu

2004-07-23 Thread Brad Knowles
At 11:57 AM -0700 2004-07-23, Everett Littles wrote:
 I noticed that none of the messages being sent to Mailman are being
 distributed.
See .
 I tried stopping and starting Mailman a few times with no success 
in delivery.
 I then checked  my processes and found that qrunner was taking 85% of my cpu.
	See also 
.

--
Brad Knowles, <[EMAIL PROTECTED]>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner using 85% cpu

2004-07-23 Thread Everett Littles
I noticed that none of the messages being sent to Mailman are being 
distributed.
I tried stopping and starting Mailman a few times with no success in 
delivery.
I then checked  my processes and found that qrunner was taking 85% of 
my cpu.
It reads:
mailman 27228  85.1  0.630344   4564  ??  R11:32AM   2:14.29 
/usr/bin/python /usr/share/mailman/bin/qrunner 
--runner=OutgoingRunner:0:1 -s

All of the other qrunner processes are having minimal impact on the cpu.
Does anyone have an idea of what is going on here?
I was not able to find an answer to this in the archives.

Everett Littles
Computer Resource Spec I
Design Services, UC Davis
[EMAIL PROTECTED]
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] Qrunner OutgoingRunner reached maximum restart limit of 10, not restarting.

2004-07-08 Thread Rodolfo Pilas
I have problems

from logs/qrunner:
Jul 08 10:52:19 2004 (6632) Master qrunner detected subprocess exit
(pid: 16123, sig: None, sts: 1, class: OutgoingRunner, slice: 1/1) [restarting]
Jul 08 10:52:20 2004 (16257) OutgoingRunner qrunner started.
Jul 08 10:52:39 2004 (6632) Master qrunner detected subprocess exit
(pid: 16257, sig: None, sts: 1, class: OutgoingRunner, slice: 1/1) [restarting]
Jul 08 10:52:39 2004 (6632) Qrunner OutgoingRunner reached maximum
restart limit of 10, not restarting.

and the MM stops to deliver mail.  (I have this problem once a day aprox.)

I use Debian + Mailman 2.1.4-5

Can you give me a tip to debug/solve this problem?

I have change MAX_RESTART as suggest message
http://mail.python.org/pipermail/mailman-developers/2003-April/015006.html
but I wish to locate the real problem.

-- 
Rodolfo Pilas
(Ysidoro con 'Y')
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner

2004-06-30 Thread Yogesh Subhash Talekar
This will typically happen when you run "mailmanctl" command as a
non-mailman user.

Make sure that the /etc/rc.d/mailman script runs the "maimanctl
stop/start/restart" command as "su -c mailmanctl mailman
start/stop/restart"

Or add a script to /etc/rc.d/rc.local which runs mailmanctl start command
as a user "mailman". (i.e. use su -mailman as described above)

--yogesh


> At 11:16 AM -0500 2004-06-29, Michael Sullivan wrote:
>
>>  I issued the "service mailman restart" command to which it gave the the
>>  output:
>>
>>  [EMAIL PROTECTED] Mailman]# service mailman restart
>>  PID unreadable in: /var/mailman/data/master-qrunner.pid
>>  [Errno 2] No such file or directory:
>>  '/var/mailman/data/master-qrunner.pid'
>>  Is qrunner even running?
>
>   This should just be a warning.  If not, then issue a "stop"
> followed by a "start", and that should do the job.  If not, then it
> would appear that you've got a problem with your service management
> system -- try using mailmanctl directly.
>
>>  I ls'd /var/mailman/data and the only thing in there was sitelist.cfg
>>  I've encountered this error in my many previous unsucessful attempts to
>>  get mailman to work.  How do I make qrunner run?  I don't understand
>> the
>>  option documentation...
>
>   Did you look at the directory before the restart, or after?  Are
> you sure that there aren't other processes on the system that
> periodically clean out the /var/mailman/data directory?
>
> --
> Brad Knowles, <[EMAIL PROTECTED]>
>
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
>  -Benjamin Franklin, Historical Review of Pennsylvania.
>
>SAGE member since 1995.  See  for more info.
>
> --
> Mailman-Users mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
>


--yogesh


One RAID to backup them all, one RAID to find them, one RAID to bring them
all and in the darkness bind them.



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner

2004-06-29 Thread Brad Knowles
At 11:16 AM -0500 2004-06-29, Michael Sullivan wrote:
 I issued the "service mailman restart" command to which it gave the the
 output:
 [EMAIL PROTECTED] Mailman]# service mailman restart
 PID unreadable in: /var/mailman/data/master-qrunner.pid
 [Errno 2] No such file or directory:
 '/var/mailman/data/master-qrunner.pid'
 Is qrunner even running?
	This should just be a warning.  If not, then issue a "stop" 
followed by a "start", and that should do the job.  If not, then it 
would appear that you've got a problem with your service management 
system -- try using mailmanctl directly.

 I ls'd /var/mailman/data and the only thing in there was sitelist.cfg
 I've encountered this error in my many previous unsucessful attempts to
 get mailman to work.  How do I make qrunner run?  I don't understand the
 option documentation...
	Did you look at the directory before the restart, or after?  Are 
you sure that there aren't other processes on the system that 
periodically clean out the /var/mailman/data directory?

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner

2004-06-29 Thread Michael Sullivan
I issued the "service mailman restart" command to which it gave the the
output:

[EMAIL PROTECTED] Mailman]# service mailman restart
PID unreadable in: /var/mailman/data/master-qrunner.pid
[Errno 2] No such file or directory:
'/var/mailman/data/master-qrunner.pid'
Is qrunner even running?

I ls'd /var/mailman/data and the only thing in there was sitelist.cfg 
I've encountered this error in my many previous unsucessful attempts to
get mailman to work.  How do I make qrunner run?  I don't understand the
option documentation...



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner: Low level smtp error

2004-06-27 Thread Doug Hughes
On Sat, 26 Jun 2004, Brad Knowles wrote:

> At 3:25 PM -0500 2004-06-25, Doug Hughes wrote:
>
> >  adding MX did not help. still same error when qrunner runs.
> >
> >  And, I should have noticed this before. I have another server running
> >  potato (mostly) with 2.0.13 and no issues (even though the source domain
> >  has no MX).
>
>   Have you looked at the logs to see what is there?  Have you
> turned up the log level to show more data?
>

nevermind. I figured it out with some help from ethereal. The virtual
server I had purchased lacked an /etc/hosts entry for localhost at
127.0.0.1 and qrunner didn't like that. I added that in and all appears
to be fixed.

Strange message in smtp-failure though..

Doug



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner: Low level smtp error

2004-06-27 Thread Doug Hughes
On Sat, 26 Jun 2004, Brad Knowles wrote:

> At 3:25 PM -0500 2004-06-25, Doug Hughes wrote:
>
> >  adding MX did not help. still same error when qrunner runs.
> >
> >  And, I should have noticed this before. I have another server running
> >  potato (mostly) with 2.0.13 and no issues (even though the source domain
> >  has no MX).
>
>   Have you looked at the logs to see what is there?  Have you
> turned up the log level to show more data?
>

yeah, logs are pretty much as they were before
smtp-failure log:
Jun 26 22:34:20 2004 (25633) Low level smtp error: (-2, 'Name or service not known'), 
msgid: <[EMAIL PROTECTED]>
Jun 26 22:34:20 2004 (25633) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 
'Name or service not known')
Jun 26 22:34:20 2004 (25633) Low level smtp error: (-2, 'Name or service not known'), 
msgid: <[EMAIL PROTECTED]>
Jun 26 22:34:20 2004 (25633) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 
'Name or service not known')
Jun 26 22:34:20 2004 (25633) Low level smtp error: (-2, 'Name or service not known'), 
msgid: <[EMAIL PROTECTED]>
Jun 26 22:34:20 2004 (25633) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 
'Name or service not known')
Jun 26 22:34:20 2004 (25633) Low level smtp error: (-2, 'Name or service not known'), 
msgid: <[EMAIL PROTECTED]>
Jun 26 22:34:20 2004 (25633) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 
'Name or service not known')

I've tried running qrunner, but it doesn't show anything further.

Oddly, I did receive some messages today, but the errors come, and it took
days for them to get through. I sent another test through and got the same
sorts of log messages. I know it's not the MX this time.

puzzling.
I don't the possibility that I've forgotten something mindboggling simple,
but I've been running various mailman setups in similar format for past
5+ years and this is the first time I've encountered this.

Doug


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner: Low level smtp error

2004-06-26 Thread Brad Knowles
At 3:25 PM -0500 2004-06-25, Doug Hughes wrote:
 adding MX did not help. still same error when qrunner runs.
 And, I should have noticed this before. I have another server running
 potato (mostly) with 2.0.13 and no issues (even though the source domain
 has no MX).
	Have you looked at the logs to see what is there?  Have you 
turned up the log level to show more data?

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner: Low level smtp error

2004-06-26 Thread Doug Hughes
On Fri, 25 Jun 2004, Brad Knowles wrote:

> At 9:12 AM -0500 2004-06-25, Doug Hughes wrote:
>
> >  initial mail queues to the daemon ok and then goes into the qfiles
> >  directory, but then mailman qrunner processes it and I get this:
> >
> >  Jun 23 17:08:05 2004 (19334) Low level smtp error: (-2, 'Name or service
> >  not known'), msgid:
> >  <[EMAIL PROTECTED]>
> >  Jun 23 17:08:05 2004 (19334) delivery to [EMAIL PROTECTED] failed
> >  with code -1: (-2, 'Name or service not known')
> >
> >  I've tried postfix and I've tried sendmail. Both give me the same
> >  message. Has anybody seen this before?
>
>   They don't have any advertised mail servers.  When you ask their
> nameservers for MX records, you get this:
>
> % dig potomacalliance.us. mx
>
> ; <<>> DiG 9.2.2 <<>> potomacalliance.us. mx
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33628
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;potomacalliance.us.IN  MX
>
> ;; AUTHORITY SECTION:
> potomacalliance.us. 10631   IN  SOA potomacalliance.us.
> doug.eng.auburn.edu. 1 7200 600 259200 14400
>
> ;; Query time: 28 msec
> ;; SERVER: 10.0.1.240#53(10.0.1.240)
> ;; WHEN: Fri Jun 25 16:53:26 2004
> ;; MSG SIZE  rcvd: 91
>
>   Repeat this process, asking their advertised nameservers
> directly, and you get the same answer.  See also
> .
>
>
>   Note that eng.auburn.edu is one of the advertised nameservers for
> this zone.  You might want to see if you can get this problem fixed.
>

adding MX did not help. still same error when qrunner runs.

And, I should have noticed this before. I have another server running
potato (mostly) with 2.0.13 and no issues (even though the source domain
has no MX).

Very odd..

running strace it does appear that it errors after several DNS look ups
(port 53) but prior to attempting a connection to port 25 anyplace.



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner: Low level smtp error

2004-06-25 Thread Doug Hughes

mailman 2.1.4-5
debian sarge

postfix (or sendmail)

initial mail queues to the daemon ok and then goes into the qfiles
directory, but then mailman qrunner processes it and I get this:

Jun 23 17:08:05 2004 (19334) Low level smtp error: (-2, 'Name or service
not known'), msgid:
<[EMAIL PROTECTED]>
Jun 23 17:08:05 2004 (19334) delivery to [EMAIL PROTECTED] failed
with code -1: (-2, 'Name or service not known')

I've tried postfix and I've tried sendmail. Both give me the same
message. Has anybody seen this before?

I've never had this issue with an apt-get install mailman in the past.
Strange.




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner: Low level smtp error

2004-06-25 Thread Brad Knowles
At 9:12 AM -0500 2004-06-25, Doug Hughes wrote:
 initial mail queues to the daemon ok and then goes into the qfiles
 directory, but then mailman qrunner processes it and I get this:
 Jun 23 17:08:05 2004 (19334) Low level smtp error: (-2, 'Name or service
 not known'), msgid:
 <[EMAIL PROTECTED]>
 Jun 23 17:08:05 2004 (19334) delivery to [EMAIL PROTECTED] failed
 with code -1: (-2, 'Name or service not known')
 I've tried postfix and I've tried sendmail. Both give me the same
 message. Has anybody seen this before?
	They don't have any advertised mail servers.  When you ask their 
nameservers for MX records, you get this:

% dig potomacalliance.us. mx
; <<>> DiG 9.2.2 <<>> potomacalliance.us. mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33628
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;potomacalliance.us.IN  MX
;; AUTHORITY SECTION:
potomacalliance.us. 10631   IN  SOA potomacalliance.us. 
doug.eng.auburn.edu. 1 7200 600 259200 14400

;; Query time: 28 msec
;; SERVER: 10.0.1.240#53(10.0.1.240)
;; WHEN: Fri Jun 25 16:53:26 2004
;; MSG SIZE  rcvd: 91
	Repeat this process, asking their advertised nameservers 
directly, and you get the same answer.  See also 
.

	Note that eng.auburn.edu is one of the advertised nameservers for 
this zone.  You might want to see if you can get this problem fixed.

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner: Low level smtp error

2004-06-25 Thread Doug Hughes

mailman 2.1.4-5
debian sarge

postfix (or sendmail)

initial mail queues to the daemon ok and then goes into the qfiles
directory, but then mailman qrunner processes it and I get this:

Jun 23 17:08:05 2004 (19334) Low level smtp error: (-2, 'Name or service
not known'), msgid:
<[EMAIL PROTECTED]>
Jun 23 17:08:05 2004 (19334) delivery to [EMAIL PROTECTED] failed
with code -1: (-2, 'Name or service not known')

I've tried postfix and I've tried sendmail. Both give me the same
message. Has anybody seen this before?

I've never had this issue with an apt-get install mailman in the past.
Strange.

non-mailman mail goes to and from the domain just fine, so it does
not appear to be a smtp (postfix|sendmail) configuration issue.

Doug

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-20 Thread Brad Knowles
At 6:28 AM +0100 2004/05/20, Richard Barrett wrote:
 From the dim and distant past I recollect that reducing the archive
 period from say a month to a week for lists that were challenged in
 this way could help.
	ISTR that this issue has come up a few times on the list, so I've 
put this into the FAQ at 
. 
I have also referenced this thread, so that people can get the links 
to the patch, etc

Please let me know if there are any further changes that may be required.
--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-19 Thread Richard Barrett
On 20 May 2004, at 00:14, Paul Smith wrote:
OK, after more poking and prodding, it looks like the problem is  
related
to the private//database directory.

The "article" file here for the list that was causing the problems was
44M, the author was 51K, date was 41K, subject was 55K, and thread was
42k.
I moved all those files aside and ran qrunner, and it didn't pause  
there
at all, although it has paused for lesser amounts of time in other  
(also
larger) lists.

I guess that the size of this list is simply overwhelming the pipermail
archiver.  Is there anything I can do about this short of disabling
archives?  Can I update the archives less often, or do it with a
separate process somehow so that at least my mail keeps flowing even
while the archive is being updated?
From the dim and distant past I recollect that reducing the archive  
period from say a month to a week for lists that were challenged in  
this way could help.

Also, the following link is to a patch that was incorporated into MM  
2.1.4 and which addressed an archiving problem which first glance  
suggests you may be experiencing. I suspect it is applicable with  
modification to the MM 2.0.11 code base but it would probably be much  
easier to do the upgrade to 2.1.5:

http://www.openinfo.co.uk/mailman/patches/835332/index.html
--  
--- 

 Paul D. Smith <[EMAIL PROTECTED]>   HASMAT--HA Software Mthds  
& Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad  
Scientist
--- 

   These are my opinions---Nortel Networks takes no responsibility for  
them.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-19 Thread Paul Smith
OK, after more poking and prodding, it looks like the problem is related
to the private//database directory.

The "article" file here for the list that was causing the problems was
44M, the author was 51K, date was 41K, subject was 55K, and thread was
42k.


I moved all those files aside and ran qrunner, and it didn't pause there
at all, although it has paused for lesser amounts of time in other (also
larger) lists.

I guess that the size of this list is simply overwhelming the pipermail
archiver.  Is there anything I can do about this short of disabling
archives?  Can I update the archives less often, or do it with a
separate process somehow so that at least my mail keeps flowing even
while the archive is being updated?

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-19 Thread Paul Smith
Poking at this a bit more I have more data.

It seems like whenever mail is sent to one list in particular, the
qrunner script hangs up for a very long time processing that mail.  I
think it's that list because I see the lock for that list existing for a
long time with the same pid in the locks directory.


Looking at the truss of this (unfortunately I don't have the start, only
from the middle on) it seems like it's freaking out writing a huge file.
First it has a huge list of break()'s, interspersed with a few mmap()'s,
then it does a bunch of writes in 8K blocks, then it does some cleanup
on the lock files and ends.

Then it does it again for the next message to that list.

The mbox file for this list is about 100M, this month's .txt archive
file is about 32M, and this month's .gz file is about 3M.

I tried stopping qrunner and renaming the .mbox file, but it still has
the same problem so that evidently wasn't it.

If this sounds familiar to anyone, let me know...


In the background I'm working on 2.1.5 but I'd _REALLY_ prefer to not
have an emergency upgrade situation... on the other hand some users are
talking about switching to Exchange lists so it _IS_ something of an
emergency :).  I want to upgrade Python as well since our version is
2.2.1 which is pretty old.

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-19 Thread Brad Knowles
At 12:05 AM -0400 2004/05/19, Paul Smith wrote:
I was
 just wondering whether anyone had any debugging tips, like checking for
 messages stuck in the queue that would be causing this problem, or lock
 files that might be breaking something, or whatever.
	So far as I know, Mailman doesn't have any support for doing any 
kind of debugging for problems like this.  There's list lock 
debugging that you can turn on, and pending lock debugging, but that 
seems to be about it:

# Set this to On to turn on MailList object lock debugging messages, which
# will be written to logs/locks.  If you think you're having lock problems, or
# just want to tune the locks for your system, turn on lock debugging.
LIST_LOCK_DEBUGGING = Off
# Set this to On to turn on lock debugging messages for the pending requests
# database, which will be written to logs/locks.  If you think you're having
# lock problems, or just want to tune the locks for your system, turn on lock
# debugging.
PENDINGDB_LOCK_DEBUGGING = Off
	From what I can gather, Python doesn't have a great deal of 
support in this area, either.  I guess that's why this bug has 
persisted long enough to have only been fixed very recently with 
2.1.5.

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-18 Thread Paul Smith
%% Brad Knowles <[EMAIL PROTECTED]> writes:

  bk> At 5:41 PM -0400 2004/05/18, Paul Smith wrote:
  >> I know this is a really old version, but I'm hoping someone has some
  >> hints for me on troubleshooting this: upgrading to 2.1.4 or 2.1.5 is on
  >> my TODO list but...

  bk> Problem is, runaway Python processes are something that I
  bk> believe 2.1.5 was created to help address.

Yeah, I saw that in the announcement.

But, this system was running fine until a few weeks ago.  I don't know
of any real change in its usage patterns and certainly not in its
configuration that would account for this change in behavior.  I was
just wondering whether anyone had any debugging tips, like checking for
messages stuck in the queue that would be causing this problem, or lock
files that might be breaking something, or whatever.

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-18 Thread Brad Knowles
At 5:41 PM -0400 2004/05/18, Paul Smith wrote:
 I know this is a really old version, but I'm hoping someone has some
 hints for me on troubleshooting this: upgrading to 2.1.4 or 2.1.5 is on
 my TODO list but...
	Problem is, runaway Python processes are something that I believe 
2.1.5 was created to help address.

	I guess you could do a diff on the source code to see what 
changed between 2.1.4 and 2.1.5 and figure out which piece of code 
might be related to the runaway process issue, then back-port those 
changes to your local 2.0.x installation.  But that would be a hell 
of a lot of work.

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
  SAGE member since 1995.  See  for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner running away (Mailman 2.0.11)

2004-05-18 Thread Paul Smith
I know this is a really old version, but I'm hoping someone has some
hints for me on troubleshooting this: upgrading to 2.1.4 or 2.1.5 is on
my TODO list but...


This server has probably 50 lists on it, and it has relatively low
traffic overall.  It's no great shakes hardware-wise (a dual PIII 500MHz
box with 512M RAM), but for a mail server at this level that should be
quite sufficient.  And, in fact, it has been up until fairly recently.
No changes have been made to this box (it's running FreeBSD 4.3-RELEASE)
or its environment that I can think of.


What's happening is that the qrunner process is sucking down one entire
CPU, with 99% cpu usage.  That same qrunner (python instance) will run
for 30 minutes or more, then it will finish and the box will be idle for a
while, then it will start again.  Mail that used to be delivered almost
instantly now can take up to an hour to get through the box.  Top shows
that the box is not memory starved.  I tried to truss the python process
but I get nothing but break() after break(); no real system calls at
all.  This one process ends up using about 190M.

Does anyone have any ideas about how to debug this problem?  Is there
something stuck in the mail queue which is causing all this havoc?  How
can I find it and get it out of there?


Thanks!

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


RE: [Mailman-Users] qrunner

2004-05-07 Thread Tik & Klik Internetdiensten
Thanks for the time.
I notied a old cronjob running.
 
That was the problem with the errors
Its oke now.



Met vriendelijke groet,
 
Steffan Noord
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Richard Barrett
Verzonden: donderdag 6 mei 2004 23:36
Aan: tikkliknl
CC: [EMAIL PROTECTED]
Onderwerp: Re: [Mailman-Users] qrunner

On 6 May 2004, at 22:00, tikkliknl wrote:

> Well it was a new install, but there was an old not used version 
> pressent.
> i installed python 2.3.3

Did you install it in the same location as and replacing any previous
version of python on the system?

> looking at ps -aux i see this:
>
> mailman  28884  0.1  0.9  5964 4792 ?S22:55   0:00
> python2.3 /home/mailman/bin/mailmanctl -s start
> mailman  28885  2.8  0.8  5736 4600 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=ArchRunner:0:1 -s
> mailman  28886  3.0  0.8  5748 4612 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=BounceRunner:0:1 -s
> mailman  28887  2.8  0.8  5740 4596 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=CommandRunner:0:1 -s
> mailman  2  2.8  0.8  5744 4600 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=IncomingRunner:0:1 -s
> mailman  28889  3.1  0.8  5752 4636 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=NewsRunner:0:1 -s
> mailman  28890  2.9  0.9  5764 4668 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=OutgoingRunner:0:1 -s
> mailman  28891  2.9  0.8  5744 4600 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=VirginRunner:0:1 -s
> mailman  28892  3.3  0.8  5736 4600 ?S22:55
> 0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
> runner=RetryRunner:0:1 -s
>
> only thing i changed was when starting mailmanctl it looked for 
> qrunner but he didnt find it

which indicates something went wrong with your installation if your install
$prefix was /home/mailman and the 'make install' did not put a copy of the
MM 2.1.4 qrunner into /home/mailman/bin

> so i put t there

put what from where to where?

> fronm the install files.

If the 'make install' had executed correctly you should not have had to copy
over/install any files by hand.

MM 2.1.4 does not normally execute a file called $prefix/cron/qrunner and
not from its normal crontab. If cron is trying to execute a qrunner scr8pt
it is probably the old Mailman installation's crontab that is so doing. Did
you check that this had been removed before you installed the new MM 2.1.4
crontab? Did you install the MM 2.1.4 crontab?

The syntax error you reported originally could come about if:

1. your old MM crontab was not removed

2. you copied a copy of the MM 2.1.4 qrunner into $prefix/cron/

3. your old MM crontab referenced an older python installation still on your
system and not the Python 2.3.3 you have installed

4. as a result, an entry in the old MM crontab tried to execute the
(daemon) qrunner used by MM 2.1.4 with an old version of python which saw a
feature used in the new code as being a syntax error

> thanxs
> steffan.
>
>> Hello did a new install of mailman 2.1.4 now cron gives this error
>>
>> File "/home/mailman/cron/qrunner", line 96
>> print >> fd, _(__doc__)
>>^
>> SyntaxError: invalid syntax
>
>> any idees
>>
>
> what version of python are you running? the README says
>
>
> MM 2.1.x normally operates its qrunners as daemons, unlike MM 2.0.x 
> which used a cron executed qrunner.
>
> You appear to have a cron based qrunner yet say you are running a 
> newly installed MM 2.1.4.
>
> Did you install this over an earlier MM 2.0.x install and if so did 
> you remove the old crontab before installing the one for the newer
release?
>


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner

2004-05-07 Thread tikkliknl
Well it was a new install, but there was an old not used version pressent.
i installed python 2.3.3
looking at ps -aux i see this:

mailman  28884  0.1  0.9  5964 4792 ?S22:55   0:00 
python2.3 /home/mailman/bin/mailmanctl -s start
mailman  28885  2.8  0.8  5736 4600 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=ArchRunner:0:1 -s
mailman  28886  3.0  0.8  5748 4612 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=BounceRunner:0:1 -s
mailman  28887  2.8  0.8  5740 4596 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=CommandRunner:0:1 -s
mailman  2  2.8  0.8  5744 4600 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=IncomingRunner:0:1 -s
mailman  28889  3.1  0.8  5752 4636 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=NewsRunner:0:1 -s
mailman  28890  2.9  0.9  5764 4668 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=OutgoingRunner:0:1 -s
mailman  28891  2.9  0.8  5744 4600 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=VirginRunner:0:1 -s
mailman  28892  3.3  0.8  5736 4600 ?S22:55   
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=RetryRunner:0:1 -s

only thing i changed was when starting mailmanctl it looked for qrunner but 
he didnt find it so i put t there fronm the install files.


thanxs 
steffan.

> Hello did a new install of mailman 2.1.4 now cron gives this error
>
> File "/home/mailman/cron/qrunner", line 96
> print >> fd, _(__doc__)
>^
> SyntaxError: invalid syntax

> any idees
>

what version of python are you running? the README says


MM 2.1.x normally operates its qrunners as daemons, unlike MM 2.0.x which 
used a cron executed qrunner.

You appear to have a cron based qrunner yet say you are running a newly 
installed MM 2.1.4.

Did you install this over an earlier MM 2.0.x install and if so did you 
remove the old crontab before installing the one for the newer release?

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner

2004-05-06 Thread Richard Barrett
On 6 May 2004, at 22:00, tikkliknl wrote:

Well it was a new install, but there was an old not used version 
pressent.
i installed python 2.3.3
Did you install it in the same location as and replacing any previous 
version of python on the system?

looking at ps -aux i see this:

mailman  28884  0.1  0.9  5964 4792 ?S22:55   0:00
python2.3 /home/mailman/bin/mailmanctl -s start
mailman  28885  2.8  0.8  5736 4600 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=ArchRunner:0:1 -s
mailman  28886  3.0  0.8  5748 4612 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=BounceRunner:0:1 -s
mailman  28887  2.8  0.8  5740 4596 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=CommandRunner:0:1 -s
mailman  2  2.8  0.8  5744 4600 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=IncomingRunner:0:1 -s
mailman  28889  3.1  0.8  5752 4636 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=NewsRunner:0:1 -s
mailman  28890  2.9  0.9  5764 4668 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=OutgoingRunner:0:1 -s
mailman  28891  2.9  0.8  5744 4600 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=VirginRunner:0:1 -s
mailman  28892  3.3  0.8  5736 4600 ?S22:55
0:00 /usr/local/bin/python2.3 /home/mailman/bin/qrunner --
runner=RetryRunner:0:1 -s
only thing i changed was when starting mailmanctl it looked for 
qrunner but
he didnt find it
which indicates something went wrong with your installation if your 
install $prefix was /home/mailman and the 'make install' did not put a 
copy of the MM 2.1.4 qrunner into /home/mailman/bin

so i put t there
put what from where to where?

fronm the install files.
If the 'make install' had executed correctly you should not have had to 
copy over/install any files by hand.

MM 2.1.4 does not normally execute a file called $prefix/cron/qrunner 
and not from its normal crontab. If cron is trying to execute a qrunner 
scr8pt it is probably the old Mailman installation's crontab that is so 
doing. Did you check that this had been removed before you installed 
the new MM 2.1.4 crontab? Did you install the MM 2.1.4 crontab?

The syntax error you reported originally could come about if:

1. your old MM crontab was not removed

2. you copied a copy of the MM 2.1.4 qrunner into $prefix/cron/

3. your old MM crontab referenced an older python installation still on 
your system and not the Python 2.3.3 you have installed

4. as a result, an entry in the old MM crontab tried to execute the 
(daemon) qrunner used by MM 2.1.4 with an old version of python which 
saw a feature used in the new code as being a syntax error

thanxs
steffan.
Hello did a new install of mailman 2.1.4 now cron gives this error

File "/home/mailman/cron/qrunner", line 96
print >> fd, _(__doc__)
   ^
SyntaxError: invalid syntax

any idees

what version of python are you running? the README says

MM 2.1.x normally operates its qrunners as daemons, unlike MM 2.0.x 
which
used a cron executed qrunner.

You appear to have a cron based qrunner yet say you are running a newly
installed MM 2.1.4.
Did you install this over an earlier MM 2.0.x install and if so did you
remove the old crontab before installing the one for the newer release?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner

2004-05-06 Thread Richard Barrett
On 6 May 2004, at 21:12, Steffan wrote:



Hello did a new install of mailman 2.1.4
now cron gives this error
File "/home/mailman/cron/qrunner", line 96
print >> fd, _(__doc__)
   ^
SyntaxError: invalid syntax


any idees

what version of python are you running? the README says


It is recommended that you use Python 2.3.3, the latest release as
of this writing (31-Dec-2003).  Mailman will work with Python
2.2.3 as well, which is the latest release on the Python 2.2 branch.
Mailman 2.1 is not compatible with Python 2.0 or any earlier
version.

MM 2.1.x normally operates its qrunners as daemons, unlike MM 2.0.x 
which used a cron executed qrunner.

You appear to have a cron based qrunner yet say you are running a newly 
installed MM 2.1.4.

Did you install this over an earlier MM 2.0.x install and if so did you 
remove the old crontab before installing the one for the newer release?
 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner

2004-05-06 Thread Steffan


Hello did a new install of mailman 2.1.4
now cron gives this error 
  
File "/home/mailman/cron/qrunner", line 96
print >> fd, _(__doc__)
   ^
SyntaxError: invalid syntax



any idees

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner lockup / mass moderation (solved)

2004-05-04 Thread Stephan Uhlmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Just as a followup to my post explaining how I solved the problem.

The lockup didn't have something to do with the overfull moderation queue.

There was a 8 MB big file in the qfiles/ directory. The size was not that 
unusual and Mailman normally has no problems dealing with that, but it had 
the following strange content:

 This is an automated response.
 Command 'this' not recognized.

 There were problems with the email commands you sent to Mailman via
 Command 'there' not recognized.
 the administrative address
 Command 'the' not recognized.
 <[EMAIL PROTECTED]>.
 Command '<[EMAIL PROTECTED]>.' not recognized.

 To obtain instructions on valid Mailman email commands, send email to
 Command 'to' not recognized.
 <[EMAIL PROTECTED]> with the word
 Command '<[EMAIL PROTECTED]>' not recognized.
 "help" in the subject line or in the body of the message.
 Command '"help"' not recognized.

... and so on and so on.
(email address of the list removed to protect the innocent and avoiding spam).
This was a reply from a wronggoing majordomo to a mailman request address. I 
guess Mailman had problems with all these special characters and commands and 
locked up while parsing everything.

I removed the qfile and everything was running smooth again.
If somebody wants the file for debugging purposes, just email me in private 
and I can send it to you.


Anyway. While searching through the web I also found a solution to the mass 
moderation problem via "withlist".
Stephen J. Turnbull suggested to just delete the files in the data/ directory, 
then start the mailman web interface again and mailman will reinitialize 
everything. This will probably work too, but the follwing  seems to be a more 
elegant way:

As user mailman execute:

python -i bin/withlist listname

Then type:

m.Lock()
from Mailman import mm_cfg
h = m.GetHeldMessageIds()
for i in h: m.HandleRequest(i,mm_cfg.DISCARD)

m.Save()


I found it here: 
http://mm.tkikuchi.net/pipermail/mmjp-users/2001-November/000154.html
It's in japanese but even without understanding the mail, the script a good 
hint.
There is even a python script which deletes all mails older than x days from 
the queue (or that's what I think what it does). I didn't try it yet, but it 
seems to be a nice way to get rid of all the spam in moderation queues via an 
automatic cronjob.

Cheers,
Stephan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAl7Mx0TAeRPnvmyERAnjuAJ9oCuwkCSZ03zRHLeQxRkzldhJnUgCggLBE
YiJJyabdyBwDcISziDFjm3Y=
=Ihql
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] qrunner lockup / mass moderation

2004-05-04 Thread Stephen J. Turnbull
> "Stephan" == Stephan Uhlmann <[EMAIL PROTECTED]> writes:

Stephan> Is there another way to do such mass moderation?  I tried
Stephan> to move away the files in the data/ directory but then
Stephan> Mailman complains about missing them, so I guess I have
Stephan> to do it the "Mailman way" to keep everything consistent.

I've seen this done a couple of times on a 2.0.13 installation with
nothing being the worse for wear.  Delete the spam messages, get the
page, which will still take a lot of time because Mailman looks for
them all and builds up a 1000-message long page, each of which says
"couldn't find the message file", pling any new spam that has come in
while you were fooling around, and Mailman will decide that all the
spam got thrown in a black hole, and reset itself.  I've actually lost
spam messages (once) because of a race with a co-moderator; odds are
it happens once a day somewhere on the planet, so I'm sure Mailman
knows how to deal.

Probably you'll get a better answer, and there's no rush, really.  But
if you _have_ to do that, I'm pretty sure it will work without harm to
anything except the spam.  :-)


-- 
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
   Ask not how you can "do" free software business;
  ask what your business can "do for" free software.

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner lockup / mass moderation

2004-05-03 Thread Stephan Uhlmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

since a few days I have the following problem:

The qrunner locks up (strace output repeats and repeats as if the process is 
caught in an endless loop) and uses 100% of my CPU.
The lock-files are dated in the future (but I have a ntp synched clock).
The only qrunner log file (which is not dated in the future) keeps saying 
"Could not acquire qrunner lock".

What could be the problem?

I have two lists with a relatively large amount of messages in the moderation 
queue (800+ and 1100+). Maybe the queue runner needs more and more time to 
process these? The messages are all spam and can be thrown away, but I just 
can't delete them by the browser admin interface. This would take too much 
time. Is there another way to do such mass moderation?
I tried to move away the files in the data/ directory but then Mailman 
complains about missing them, so I guess I have to do it the "Mailman way" to 
keep everything consistent.
Maybe with the "withlist" tool?

In the archives I found this message:
http://mail.python.org/pipermail/mailman-users/2000-January/003419.html
but the link there points to the Mailman documentation which does not have 
such a script (anymore).

I run Mailman 2.0.13 and Python 2.1.1. Yes, I know this is a pretty old setup 
but I can't upgrade right now.


Cheers,
Stephan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAlt5h0TAeRPnvmyERAqN1AJ9Os8eTuaKPaezYGTb+BBMqEB9I0gCfaOb5
xgr+KKm4woc1yaL5a07zbfw=
=Uzhm
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] qrunner error

2003-12-04 Thread Andrew Watson
My lists appear to be working fine, but...
In preparing for an upgrade, i was scanning the files in my mailman 
directory. In the logs directory, I found one named qrunner, 52 MB in 
size. In looking at the contents, I found a pattern of error reports, 
about 2 per minute, of the following form:

Dec 01 18:59:01 2003 (68374) Exception reading qfile: 
/usr/local/mailman/qfiles/7a7baddd735b00123d23c50888c8cdc435105eee
[Errno 2] No such file or directory: 
'/usr/local/mailman/qfiles/7a7baddd735b00123d23c50888c8cdc435105eee.db'
Dec 01 18:59:01 2003 (68374) Exception reading qfile: 
/usr/local/mailman/qfiles/869fcb5218865c09d37a448a3259b014a7e6ee4d
[Errno 2] No such file or directory: 
'/usr/local/mailman/qfiles/869fcb5218865c09d37a448a3259b014a7e6ee4d.db'

My questions are:

1) what is this error?
2) can it be fixed?
3) can it be ignored?
--
-Andrew

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner fails to start

2003-12-04 Thread Erick Mechler
(Following up with a self-post just for archival purposes)

:: I'm getting this error when I try to start the mailman qrunner daemon after
:: upgrading to 2.1.3 from 2.0.13.  Actually, I get this 10x, each one causing
:: the qrunner process to die and spawn anew:

::   File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 264, in _ext_read
:: dict = marshal.load(fp)
:: EOFError: EOF read where object expected

If you get a marshal.load error, chances are it's a problem loading one of
the Marshal .db files somewhere underneath your Mailman $PREFIX.  In some
other posts, I've seen problems with the list config.db files, and the list
request.db files getting corrupted.  However, my specific problem was with
a damaged queue file in $PREFIX/qfiles/in/.

If you get this error, run the marshal.load() routine on each of your .db 
files to see which one is causing the problem.  I used a modified version 
of the code originally written by Cillian Sharkey in this post:

http://mail.python.org/pipermail/mailman-developers/2001-December/010269.html

Cheers - Erick

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner fails to start

2003-12-03 Thread Erick Mechler
I'm getting this error when I try to start the mailman qrunner daemon after
upgrading to 2.1.3 from 2.0.13.  Actually, I get this 10x, each one causing
the qrunner process to die and spawn anew:

Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 270, in ?
main()
  File "/usr/local/mailman/bin/qrunner", line 230, in main
qrunner.run()
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 65, in run
filecnt = self._oneloop()
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 93, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 158, in 
dequeue
data = self._ext_read(dbfile)
  File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 264, in 
_ext_read
dict = marshal.load(fp)
EOFError: EOF read where object expected

The corresponding entries in the qrunner log is this:

Dec 03 12:42:52 2003 (24329) IncomingRunner qrunner started.
Dec 03 12:42:52 2003 (24300) Master qrunner detected subprocess exit
(pid: 24329, sig: None, sts: 1, class: IncomingRunner, slice: 1/1) [restarting]
Dec 03 12:42:52 2003 (24300) Qrunner IncomingRunner reached maximum restart 
limit of 10, not restarting.

This is on FreeBSD 4.9-STABLE (Tue Dec 2 16:27:33 PST 2003), mailman 2.1.3,
and Python 2.3.2 (both from ports).  Has anybody seen this before, or
perhaps know how I can do more debuggin'?

Cheers - Erick

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner

2003-11-30 Thread Brad Knowles
At 12:22 PM + 2003/11/30, John Poltorak wrote:

 Is there any alternative to running qrunner via cron?
	In mailman 2.1.x, qrunner is not run via cron.  The qrunner 
processes are left continually running, separate from system 
facilities such as cron.

 I am used to Majordomo which just sends outgoing mail straight through to
 Sendmail and it gets sent out automatically as and when necessary.
 Can I get Mailman to do this?
	Nope.

 What I would like to do is avoid mail from being queued, or at least
 process it as soon as it has arrived in the qfiles directory. Is there any
 option for doing this?
	If the qrunner processes are working correctly, they should pick 
up the mail as quickly as it is available and deliver it to the MTA. 
This is a big improvement over the previous process of running 
qrunner via cron.

--
Brad Knowles, <[EMAIL PROTECTED]>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI$ P+>++ L+ !E-(---) W+++(--) N+
!w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+() DI+() D+(++) G+() e++> h--- r---(+++)* z(+++)
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner

2003-11-30 Thread John Poltorak
Is there any alternative to running qrunner via cron?

I am used to Majordomo which just sends outgoing mail straight through to 
Sendmail and it gets sent out automatically as and when necessary.

Can I get Mailman to do this?

What I would like to do is avoid mail from being queued, or at least 
process it as soon as it has arrived in the qfiles directory. Is there any 
option for doing this?


-- 
John






--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner dieing?

2003-11-12 Thread Sean

Hi,

I'm runing mailman 2.0.6.  Posts to my lists are not going out. It seems
like qrunning is dieing.  The error logs have this in it:

Nov 12 13:48:03 2003 qrunner(65767): Traceback (most recent call last):
Nov 12 13:48:03 2003 qrunner(65767):   File "/usr/mailman/cron/qrunner",
line 282, in ?
Nov 12 13:48:03 2003 qrunner(65767):  kids = main(lock)
Nov 12 13:48:03 2003 qrunner(65767):   File "/usr/mailman/cron/qrunner",
line 252, in main
Nov 12 13:48:03 2003 qrunner(65767):  keepqueued =
dispose_message(mlist, msg, msgdata)
Nov 12 13:48:03 2003 qrunner(65767):   File "/usr/mailman/cron/qrunner",
line 157, in dispose_message
Nov 12 13:48:03 2003 qrunner(65767):  mlist.ParseMailCommands(msg)
Nov 12 13:48:03 2003 qrunner(65767):   File
"/usr/mailman/Mailman/MailCommandHandler.py", line 151, in
ParseMailCommands
Nov 12 13:48:03 2003 qrunner(65767):  if (subject and
Nov 12 13:48:03 2003 qrunner(65767): IndexError :  list index out of range
Nov 12 13:50:01 2003 (65779) Delivery exception: not enough arguments for
format string
Nov 12 13:50:01 2003 (65779) Traceback (most recent call last):
  File "/usr/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
do_pipeline
func(mlist, msg, msgdata)
  File "/usr/mailman/Mailman/Handlers/Decorate.py", line 44, in process
footer = string.replace(mlist.msg_footer % d, '\r\n', '\n')
TypeError: not enough arguments for format string

Nov 12 13:50:02 2003 (65779) Delivery exception: not enough arguments for
format string
Nov 12 13:50:02 2003 (65779) Traceback (most recent call last):
  File "/usr/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
do_pipeline
func(mlist, msg, msgdata)
  File "/usr/mailman/Mailman/Handlers/Decorate.py", line 44, in process
footer = string.replace(mlist.msg_footer % d, '\r\n', '\n')
TypeError: not enough arguments for format string

Nov 12 13:50:02 2003 (65779) Delivery exception: not enough arguments for
format string
Nov 12 13:50:02 2003 (65779) Traceback (most recent call last):
  File "/usr/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in
do_pipeline
func(mlist, msg, msgdata)
  File "/usr/mailman/Mailman/Handlers/Decorate.py", line 44,


Any ideas what is causing it?

Any assistance will be very much appreciated.

Sean


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


RE: [Mailman-Users] Qrunner with 98% load

2003-10-06 Thread Wim Bonis
> > The pck files look fine, It is e.g. a message to the normal list 
> > address.
> 
> Yet this message hangs out in the queue? Or rather the queue 
> is stalled out on it?
> 
> If you delete this message and send a different message to a 
> different list what happens?

Normal messages just go thru.

I looked a little bit more arround, the messages which make the problems, 
are already delivered to the list and have been processed to the other 
members.

But in the .db file they are two emailadresses in the recip-Filed which are 
not resolvable (no MX record for the emaildomain).

So i know now what the main Problem is

But is this the right behavior which mailman shows? I think the way it 
should work is it should try to deliver the messages again to the MTA, and 
Wait for the response from the MTA. (And it should not take all the
CPU-Time)

Is there anything in mailman which can explain this behavior? Does mailman
lookup
DNS/MX entrys before contacting the MTA. Or dos mailman has a internal state
of 
already failed messages?

-- 
---
Wim Bonis ,+'^'+, Telefon:06301-791868
  NetwerkAnalyse und SystemDesign Fax:06301-791867
   +,.,+Mobil:0170-5664234
email: [EMAIL PROTECTED]  Kaiserslautern/Mehlbach

There are only 10 types of people in the world, those who understand binary
and those who don't. 



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Qrunner with 98% load

2003-10-06 Thread Jon Carnes
On Mon, 2003-10-06 at 12:01, Wim Bonis wrote:

> I did all this already, there is nothing in the logfiles, even if i
> start with "qrunner -v -o -r Outgoing"
> 
> There also no traffic/logs for the MTA
> 
> The pck files look fine, It is e.g. a message to the normal list
> address.

Yet this message hangs out in the queue? Or rather the queue is stalled
out on it?

If you delete this message and send a different message to a different
list what happens?

Jon Carnes


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Qrunner with 98% load

2003-10-06 Thread Wim Bonis
On Mon, 2003-10-06 at 17:46, Jon Carnes wrote:
> On Mon, 2003-10-06 at 06:26, Wim Bonis wrote:
> > Hello List,
> > 
> > I just upgrades my Server to mailman 2.1.3, and it basicly works, but some
> > messages trigger a 98% load of qrunner.
> > 
> > The messages are in qfiles/out and get renamed more than once in a second.
> > There is no log entry in logs or syslog.
> > 
> > I already read the archives about the "qrunner with over 90% CPU" subject.
> > But in that thread the people blame the MTA reporting a 451. I straced and
> > tcpdumped the qrunner, and it does not try to contact the MTA.
> > 
> > What else can i try to get more useful debugging output?
> 
> Look in the log files for both Mailman and your MTA to see what is going
> on.
> 
> Also, stop Mailmanctl and look at the files in the queue.

I did all this already, there is nothing in the logfiles, even if i
start with "qrunner -v -o -r Outgoing"

There also no traffic/logs for the MTA

The pck files look fine, It is e.g. a message to the normal list
address.

-- 
---
Wim Bonis ,+'^'+, Telefon:06301-791868
  NetwerkAnalyse und SystemDesign Fax:06301-791867
   +,.,+Mobil:0170-5664234
email: [EMAIL PROTECTED]  Kaiserslautern/Mehlbach

There are only 10 types of people in the world, those who understand
binary and those who don't



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Qrunner with 98% load

2003-10-06 Thread Jon Carnes
On Mon, 2003-10-06 at 06:26, Wim Bonis wrote:
> Hello List,
> 
> I just upgrades my Server to mailman 2.1.3, and it basicly works, but some
> messages trigger a 98% load of qrunner.
> 
> The messages are in qfiles/out and get renamed more than once in a second.
> There is no log entry in logs or syslog.
> 
> I already read the archives about the "qrunner with over 90% CPU" subject.
> But in that thread the people blame the MTA reporting a 451. I straced and
> tcpdumped the qrunner, and it does not try to contact the MTA.
> 
> What else can i try to get more useful debugging output?

Look in the log files for both Mailman and your MTA to see what is going
on.

Also, stop Mailmanctl and look at the files in the queue.

Jon Carnes


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Qrunner with 98% load

2003-10-06 Thread Wim Bonis
Hello List,

I just upgrades my Server to mailman 2.1.3, and it basicly works, but some
messages trigger a 98% load of qrunner.

The messages are in qfiles/out and get renamed more than once in a second.
There is no log entry in logs or syslog.

I already read the archives about the "qrunner with over 90% CPU" subject.
But in that thread the people blame the MTA reporting a 451. I straced and
tcpdumped the qrunner, and it does not try to contact the MTA.

What else can i try to get more useful debugging output?

-- 
---
Wim Bonis ,+'^'+, Telefon:06301-791868
  NetwerkAnalyse und SystemDesign Fax:06301-791867
   +,.,+Mobil:0170-5664234
email: [EMAIL PROTECTED]  Kaiserslautern/Mehlbach

There are only 10 types of people in the world, those who understand binary
and those who don't. 


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-14 Thread Paul H Byerly
Jon Carnes wrote:
Paul, I have never seen this on a sendmail install. Maybe your problem is 
a different one.
 Perhaps I miss read the issue.  Give that my runaway is Python I 
suspect this is the case.  Sorry.

 I posted about my problem a while back, see 
.   It 
seems MM is a little over eager about retrying messages when sendmail (or 
any MTA) reports a temporary failure. Richard said a change had been made 
in the CVS, and wondered if a patch was available.

what version of python are your running, and what is the OS?
Mailman 2.1.2
Redhat 7.1
Python 2.2.2
<>< Paul 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-14 Thread Paul H Byerly
Richard Barrett wrote:
Take a look at:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg17786.html
 Of course it's not just postfix, it bites me about once a week with 
sendmail.  I watch it and kill the PID when it happens, but it's a 
PITA.  Any chance of a patch?  I know it's in the CVS, but I'm in over my 
head with that.

<>< Paul 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-14 Thread Jens Gutzeit
On Saturday 09 August 2003 20:29, Jens Gutzeit wrote:

> Now I've seen that qrunner has a high CPU usage, I had restartet mailman
> but that doens't change anything.

Hmm, sorry I hate answering my own mails ;)

Richard Barret had pointed me at
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17786.html 
in private mail, that wasn't the problem, but after I had stopped mailman, 
restartet postfix and then started mailman again all is well.

Seems like a problem with my system, sorry for bothering you with this.

Jens


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-14 Thread Jon Carnes
Paul, I have never seen this on a sendmail install. Maybe your problem
is a different one.

what version of python are your running, and what is the OS?
  From a command line type: python
  look at the first line printed:
Python 2.2.2 
  Type a cntl-d to get out of python

Jon Carnes


On Sun, 2003-08-10 at 18:13, Paul H Byerly wrote:
> Richard Barrett wrote:
> >Take a look at:
> >
> >http://www.mail-archive.com/[EMAIL PROTECTED]/msg17786.html
> 
>   Of course it's not just postfix, it bites me about once a week with 
> sendmail.  I watch it and kill the PID when it happens, but it's a 
> PITA.  Any chance of a patch?  I know it's in the CVS, but I'm in over my 
> head with that.
> 
> 
> <>< Paul 
> 
> 
> --
> Mailman-Users mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> 
> This message was sent to: [EMAIL PROTECTED]
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-11 Thread Jon Carnes
On Sun, 2003-08-10 at 22:09, Paul H Byerly wrote:
> Jon Carnes wrote:
> >Paul, I have never seen this on a sendmail install. Maybe your problem is 
> >a different one.
> 
>   Perhaps I miss read the issue.  Give that my runaway is Python I 
> suspect this is the case.  Sorry.
> 
>   I posted about my problem a while back, see 
> .   It 
> seems MM is a little over eager about retrying messages when sendmail (or 
> any MTA) reports a temporary failure. Richard said a change had been made 
> in the CVS, and wondered if a patch was available.
> 
> >what version of python are your running, and what is the OS?
> 
> Mailman 2.1.2
> Redhat 7.1
> Python 2.2.2
> 
> 
> <>< Paul 

Are you running NFS or NIS on the server?  How big are your volumes? Are
the errors always on trying to open "/etc/mail/access.db" or do they
occur for other files as well?

Finally, what modifications (if any) have you made to Sendmail?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner with over 90% CPU

2003-08-09 Thread Jens Gutzeit
Hi all,

I'm new to mailman, I've it running on my mailserver for 2 internal 
mailinglists with low traffic (10-40 mails per day), nothing special, most 
text mails, a few Multipart-Mime mails and a bit HTMl crap.

Now I've seen that qrunner has a high CPU usage, I had restartet mailman but 
that doens't change anything.

Here's ps aux|grep mailman output
mailman   1089  0.0  1.6  5980 3988 ?S20:08   0:00 /usr/bin/python 
/home/mailman/bin/mailmanctl -s -q start
mailman   1090  0.0  1.7  5884 4268 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
mailman   1091  0.0  1.7  5888 4272 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
mailman   1092  0.0  1.7  5884 4268 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
mailman   1093  0.0  1.7  5888 4272 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
mailman   1094  0.0  1.7  5924 4308 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
mailman   1095 95.4  1.7  5936 4360 ?R20:08   8:39 qrunner 
/home/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s

mailman   1096  0.0  1.7  5892 4272 ?S20:08   0:00 qrunner 
/home/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
root  1421  0.0  0.2  1780  736 pts/6S20:17   0:00 grep mailman

Well that looks something strange to me, I can't find anything special in the 
logs.

I'm running 2.1.2 on Debian woody with Postfix-2 as MTA.

The time for the qrunner --runner=OutgoingRunner:0:1 -s was at 683 before I 
had restartet mailman, for me it looks like an infinite loop, but what could 
cause this?

BTW: I can still post to the lists, without any problems or high delay.

Thanks in advance,
Jens Gutzeit


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner with over 90% CPU

2003-08-09 Thread Richard Barrett
Take a look at:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg17786.html

On Saturday, August 9, 2003, at 07:29  pm, Jens Gutzeit wrote:

Hi all,

I'm new to mailman, I've it running on my mailserver for 2 internal
mailinglists with low traffic (10-40 mails per day), nothing special, 
most
text mails, a few Multipart-Mime mails and a bit HTMl crap.

Now I've seen that qrunner has a high CPU usage, I had restartet 
mailman but
that doens't change anything.

Here's ps aux|grep mailman output
mailman   1089  0.0  1.6  5980 3988 ?S20:08   0:00 
/usr/bin/python
/home/mailman/bin/mailmanctl -s -q start
mailman   1090  0.0  1.7  5884 4268 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
mailman   1091  0.0  1.7  5888 4272 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
mailman   1092  0.0  1.7  5884 4268 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
mailman   1093  0.0  1.7  5888 4272 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
mailman   1094  0.0  1.7  5924 4308 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
mailman   1095 95.4  1.7  5936 4360 ?R20:08   8:39 qrunner
/home/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s

mailman   1096  0.0  1.7  5892 4272 ?S20:08   0:00 qrunner
/home/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
root  1421  0.0  0.2  1780  736 pts/6S20:17   0:00 grep 
mailman

Well that looks something strange to me, I can't find anything special 
in the
logs.

I'm running 2.1.2 on Debian woody with Postfix-2 as MTA.

The time for the qrunner --runner=OutgoingRunner:0:1 -s was at 683 
before I
had restartet mailman, for me it looks like an infinite loop, but what 
could
cause this?

BTW: I can still post to the lists, without any problems or high delay.

Thanks in advance,
Jens Gutzeit
---
Richard Barrett   http://www.openinfo.co.uk
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner looping on confirm message

2003-05-31 Thread Gerald Combs
On 28 May 2003, Jon Carnes wrote:

> Make sure you local MTA correctly identifies the local user as bogus.  
> 
> Postfix by default does not correctly identify a user as being missing
> and instead sends a lesser error indicating that the user is just
> temporarily unavailable.
> 
> Modify your MTA to report the bogus user correctly, then Mailman will
> not loop on that error.  A check is being added to the next version so
> this will not be a problem in the future (though it is not Mailman's
> error).

The setting in question appears to be "unknown_local_recipient_reject_code".  
Postfix's main.cf has the following section:

# The unknown_local_recipient_reject_code specifies the SMTP server
# response code when a recipient domain matches $mydestination or
# $inet_interfaces, while $local_recipient_maps is non-empty and the
# recipient address or address local-part is not found.
#
# The default setting is 550 (reject mail) but it is safer to start
# with 450 (try again later) until you are certain that your
# local_recipient_maps settings are OK.
#
#unknown_local_recipient_reject_code = 550

I migrated to a new server last week, and had it set to 450.  After
changing it to 550 it works as expected.  Thanks for the help.




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner looping on confirm message

2003-05-29 Thread Jon Carnes
Make sure you local MTA correctly identifies the local user as bogus.  

Postfix by default does not correctly identify a user as being missing
and instead sends a lesser error indicating that the user is just
temporarily unavailable.

Modify your MTA to report the bogus user correctly, then Mailman will
not loop on that error.  A check is being added to the next version so
this will not be a problem in the future (though it is not Mailman's
error).

Jon Carnes

On Tue, 2003-05-27 at 17:22, Gerald Combs wrote:
> I recently upgraded from Mailman 2.0.8 to 2.1.2.  Since then I've run into
> a wierd problem where qrunner appears to be looping on a message in the
> "out" queue.  The message itself is a subscription confirmation from a
> nonexistent local user; apparently someone tried to subscribe and forgot
> to add the domain to their email address.
> 
> The only fix I've found so far is to manually stop qrunner, remove the
> offending .db and .pck file, and restart qrunner.
> 
> 
> --
> Mailman-Users mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> 
> This message was sent to: [EMAIL PROTECTED]
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] qrunner looping on confirm message

2003-05-28 Thread Gerald Combs
I recently upgraded from Mailman 2.0.8 to 2.1.2.  Since then I've run into
a wierd problem where qrunner appears to be looping on a message in the
"out" queue.  The message itself is a subscription confirmation from a
nonexistent local user; apparently someone tried to subscribe and forgot
to add the domain to their email address.

The only fix I've found so far is to manually stop qrunner, remove the
offending .db and .pck file, and restart qrunner.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] qrunner Outgoing getting stuck?

2003-02-15 Thread Tokio Kikuchi
Hi,

Looks like your message db file in queue is somehow corrupted.
Try ~/bin/dumpdb .{db,pck}
and find oddities.

Tokio

Daniel A. Jacobs wrote:

Running Python 2.2.2, Mailman 2.1.1, Sendmail. 

For all lists, messages make it to the archives, but get stuck in
qfiles/out. If I run 'qrunner -r out -v' I get this:

Traceback (most recent call last):
  File "/home/mailman/bin/qrunner", line 270, in ?
main()
  File "/home/mailman/bin/qrunner", line 230, in main
qrunner.run()
  File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
filecnt = self._oneloop()
  File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
if data.has_key('rejection-notice'):
AttributeError: 'NoneType' object has no attribute 'has_key'


I can move files in and out of qfiles/out and run the queue manually, and
some of them get run and some don't. I can't find any references to the
above error. Any suggestions?

Thank you,

Daniel




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



RE: [Mailman-Users] qrunner Outgoing getting stuck? - includingrelevant code

2003-02-15 Thread Daniel A. Jacobs
This is where the assertion is being thrown:
~mailman/Mailman/Queue/Switchboard.py, line 148:

 # Between 2.1b4 and 2.1b5, the `rejection-notice' key in the metadata
 # was renamed to `rejection_notice', since dashes in the keys are not
 # supported in METAFMT_ASCII.
if data.has_key('rejection-notice'):
data['rejection_notice'] = data['rejection-notice']
del data['rejection-notice']
msgfp = None

> On Fri, 2003-02-14 at 12:21, Daniel A. Jacobs wrote:
> > Running Python 2.2.2, Mailman 2.1.1, Sendmail.
> >
> > For all lists, messages make it to the archives, but get stuck in
> > qfiles/out. If I run 'qrunner -r out -v' I get this:
> >
> > Traceback (most recent call last):
> >  File "/home/mailman/bin/qrunner", line 270, in ?  main()
> >  File "/home/mailman/bin/qrunner", line 230, in main qrunner.run()
> >  File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
> >filecnt = self._oneloop()
> >  File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> >msg, msgdata = self._switchboard.dequeue(filebase)
> >  File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
> > if data.has_key('rejection-notice'):
> > AttributeError: 'NoneType' object has no attribute 'has_key'
> >
> > I can move files in and out of qfiles/out and run the queue manually,
> > and some of them get run and some don't. I can't find any references to
> > the above error. Any suggestions?
> >
> > Thank you,
> > > >
> > > > Daniel
> > > >
> >
> >


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



RE: [Mailman-Users] qrunner Outgoing getting stuck?

2003-02-15 Thread Daniel A. Jacobs

I also should mention that I am running this on FreeBSD-4.3.

> DEFAULT_CHARSET = None is how mine is set.
> 
> This is driving me crazy. Has no one else ever seen this error?
> 
> > -Original Message-
> > From: Jon Carnes [mailto:[EMAIL PROTECTED]]
> >
> > I just peeked at the code, but just for a second (have to get to bed...)
> > and I have a WAG.  What is your DEFAULT_CHARSET set to in
> > ~mailman/Mailman/mm_cfg.py (or Default.py)?  Mine is:
> >   DEFAULT_CHARSET = None
> >
> > Hope its not a waste of time - Jon Carnes
> >
> > On Fri, 2003-02-14 at 12:21, Daniel A. Jacobs wrote:
> > > Running Python 2.2.2, Mailman 2.1.1, Sendmail.
> > >
> > > For all lists, messages make it to the archives, but get stuck in
> > > qfiles/out. If I run 'qrunner -r out -v' I get this:
> > >
> > > Traceback (most recent call last):
> > >   File "/home/mailman/bin/qrunner", line 270, in ?
> > > main()
> > >   File "/home/mailman/bin/qrunner", line 230, in main
> > > qrunner.run()
> > >   File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
> > > filecnt = self._oneloop()
> > >   File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> > > msg, msgdata = self._switchboard.dequeue(filebase)
> > >   File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in
> > dequeue
> > > if data.has_key('rejection-notice'):
> > > AttributeError: 'NoneType' object has no attribute 'has_key'
> > >
> > >
> > > I can move files in and out of qfiles/out and run the queue manually,
> > and
> > > some of them get run and some don't. I can't find any references to
> the
> > > above error. Any suggestions?
> > >
> > > Thank you,
> > >
> > > Daniel
> > >
> 
> 
> --
> Mailman-Users mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-
> users%40python.org/
> 
> This message was sent to: [EMAIL PROTECTED]
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-
> users/danielj%40cheshirecat.net


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



RE: [Mailman-Users] qrunner Outgoing getting stuck?

2003-02-15 Thread Daniel A. Jacobs
DEFAULT_CHARSET = None is how mine is set.

This is driving me crazy. Has no one else ever seen this error?

> -Original Message-
> From: Jon Carnes [mailto:[EMAIL PROTECTED]]
> 
> I just peeked at the code, but just for a second (have to get to bed...)
> and I have a WAG.  What is your DEFAULT_CHARSET set to in
> ~mailman/Mailman/mm_cfg.py (or Default.py)?  Mine is:
>   DEFAULT_CHARSET = None
> 
> Hope its not a waste of time - Jon Carnes
> 
> On Fri, 2003-02-14 at 12:21, Daniel A. Jacobs wrote:
> > Running Python 2.2.2, Mailman 2.1.1, Sendmail.
> >
> > For all lists, messages make it to the archives, but get stuck in
> > qfiles/out. If I run 'qrunner -r out -v' I get this:
> >
> > Traceback (most recent call last):
> >   File "/home/mailman/bin/qrunner", line 270, in ?
> > main()
> >   File "/home/mailman/bin/qrunner", line 230, in main
> > qrunner.run()
> >   File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
> > filecnt = self._oneloop()
> >   File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> > msg, msgdata = self._switchboard.dequeue(filebase)
> >   File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in
> dequeue
> > if data.has_key('rejection-notice'):
> > AttributeError: 'NoneType' object has no attribute 'has_key'
> >
> >
> > I can move files in and out of qfiles/out and run the queue manually,
> and
> > some of them get run and some don't. I can't find any references to the
> > above error. Any suggestions?
> >
> > Thank you,
> >
> > Daniel
> >


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] qrunner Outgoing getting stuck?

2003-02-14 Thread Jon Carnes
I just peeked at the code, but just for a second (have to get to bed...)
and I have a WAG.  What is your DEFAULT_CHARSET set to in
~mailman/Mailman/mm_cfg.py (or Default.py)?  Mine is:
  DEFAULT_CHARSET = None  

Hope its not a waste of time - Jon Carnes

On Fri, 2003-02-14 at 12:21, Daniel A. Jacobs wrote:
> Running Python 2.2.2, Mailman 2.1.1, Sendmail. 
> 
> For all lists, messages make it to the archives, but get stuck in
> qfiles/out. If I run 'qrunner -r out -v' I get this:
> 
> Traceback (most recent call last):
>   File "/home/mailman/bin/qrunner", line 270, in ?
> main()
>   File "/home/mailman/bin/qrunner", line 230, in main
> qrunner.run()
>   File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
> filecnt = self._oneloop()
>   File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> msg, msgdata = self._switchboard.dequeue(filebase)
>   File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
> if data.has_key('rejection-notice'):
> AttributeError: 'NoneType' object has no attribute 'has_key'
> 
> 
> I can move files in and out of qfiles/out and run the queue manually, and
> some of them get run and some don't. I can't find any references to the
> above error. Any suggestions?
> 
> Thank you,
> 
> Daniel
> 
> 
> --
> Mailman-Users mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> 
> This message was sent to: [EMAIL PROTECTED]
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] qrunner Outgoing getting stuck?

2003-02-14 Thread Daniel A. Jacobs
Running Python 2.2.2, Mailman 2.1.1, Sendmail. 

For all lists, messages make it to the archives, but get stuck in
qfiles/out. If I run 'qrunner -r out -v' I get this:

Traceback (most recent call last):
  File "/home/mailman/bin/qrunner", line 270, in ?
main()
  File "/home/mailman/bin/qrunner", line 230, in main
qrunner.run()
  File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
filecnt = self._oneloop()
  File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
if data.has_key('rejection-notice'):
AttributeError: 'NoneType' object has no attribute 'has_key'


I can move files in and out of qfiles/out and run the queue manually, and
some of them get run and some don't. I can't find any references to the
above error. Any suggestions?

Thank you,

Daniel


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] qrunner Outgoing getting stuck?

2003-02-14 Thread Daniel A. Jacobs
Running Python 2.2.2, Mailman 2.1.1, Sendmail. 

For all lists, messages make it to the archives, but get stuck in
qfiles/out. If I run 'qrunner -r out -v' I get this:

Traceback (most recent call last):
  File "/home/mailman/bin/qrunner", line 270, in ?
main()
  File "/home/mailman/bin/qrunner", line 230, in main
qrunner.run()
  File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
filecnt = self._oneloop()
  File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
if data.has_key('rejection-notice'):
AttributeError: 'NoneType' object has no attribute 'has_key'


I can move files in and out of qfiles/out and run the queue manually, and
some of them get run and some don't. I can't find any references to the
above error. Any suggestions?

Thank you,

Daniel


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



  1   2   3   >