Re: [Mailman-Users] Excessive CPU usage

2003-07-01 Thread Jon Carnes
Check your postfix configuration and make sure you have changed the
bounce code for local users. Postfix initially sets this to a "retry"
error code, which means that a errantly typed local username in a mail
will literally bounce forever.  Get a few of those going, and you can
really peg the CPU.

Jon Carnes

On Tue, 2003-07-01 at 02:57, Rikard Florin wrote:
> Hi,
> 
> > Barry Warsaw did make a change in the CVS a short while ago to help deal 
> > with this class of problem. Take a look at:
> > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mailman/mailman/Mailman/Queue/OutgoingRunner.py
> 
> I'm running mailman 2.1.2 and having serious problems with CPU usage, is 
> there any chance to have a patch for the above CVS changes or something? 
> I don't know if it's the solution to my problems, but right now mailman 
> is eating about 80-90% of my CPU time and I have to try something.
> 
> I'm not running any huge lists which would require heavy archiving or 
> anything so the above mentioned problem seemed like a possibility, but if 
> someone has got a better suggestion I'm all ears... :)
> 
> my setup: python 2.3, postfix, mailman 2.1.2, Mac OS X 10.3 DP
> 
> cheers,
> rikard
> 
> --
> 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] Excessive CPU usage [Looping read/close/mmap] (.db , .pck) (qfiles/out)

2003-06-19 Thread Richard Barrett
At 11:28 19/06/2003, foobar wrote:
> >= 0x40227000
> >read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
> >
> >Could you tell what is wrong, no messages are going currently out or in,
> >MTA is working properly and bounces were handled correctly.
> >
> >   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> >x mailman   25   0  6188 4848  2820 R94,5  1,8  1192m python
> >
> >What _could_ cause this kind of looping?
> >
> >Mailman (see directory) version is 2.1.2
> >
> >Could it be error 450 (I reject every delivery to non-existent domain):
> >
> >XXX XX XX:XX:XX 2003 (XXYYZZ) delivery to [EMAIL PROTECTED] failed with
> >code 450: <[EMAIL PROTECTED]>: Recipient address rejected: Domain not
> >found
>
> Surely 450 indicates a transient failure which effectively invites the
> sender to try again.
>
> Maybe, if you return a 550 indicating permanent failure, Mailman will stop
> trying so hard.
>
Barry Warsaw did make a change in the CVS a short while ago to help deal 
with this class of problem. Take a look at:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mailman/mailman/Mailman/Queue/OutgoingRunner.py

Hi,

By that way I get troubles if there is temporary error with A/MX-records
and if I throw away reject_unknown_recipient_domain users will not notice
immediately that recipient is not correct :/
Is there any way that mailman could delete these mails when error happens
after 5days and not re-sending in so high frequency.. this looping is
kinda annoying (banging head against wall). Yes I could reply with 550 and
mailman would delete these mails but what if we have temporarily A/MX
records broken just and those would be fixed in few hours?
And..

I just wonder why that process loops with read/close/mmap when there is
actually no sending to be done (infinite read/close/open/rename/mmap-loop)
while sending happens to be just every 4minutes or so.
Best regards,
Veli Pirttila |  ++Titus
--
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] Excessive CPU usage [Looping read/close/mmap](.db , .pck) (qfiles/out)

2003-06-19 Thread foobar
> >= 0x40227000
> >read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
> >
> >Could you tell what is wrong, no messages are going currently out or in,
> >MTA is working properly and bounces were handled correctly.
> >
> >   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> >x mailman   25   0  6188 4848  2820 R94,5  1,8  1192m python
> >
> >What _could_ cause this kind of looping?
> >
> >Mailman (see directory) version is 2.1.2
> >
> >Could it be error 450 (I reject every delivery to non-existent domain):
> >
> >XXX XX XX:XX:XX 2003 (XXYYZZ) delivery to [EMAIL PROTECTED] failed with
> >code 450: <[EMAIL PROTECTED]>: Recipient address rejected: Domain not
> >found
>
> Surely 450 indicates a transient failure which effectively invites the
> sender to try again.
>
> Maybe, if you return a 550 indicating permanent failure, Mailman will stop
> trying so hard.
>

Hi,

By that way I get troubles if there is temporary error with A/MX-records
and if I throw away reject_unknown_recipient_domain users will not notice
immediately that recipient is not correct :/

Is there any way that mailman could delete these mails when error happens
after 5days and not re-sending in so high frequency.. this looping is
kinda annoying (banging head against wall). Yes I could reply with 550 and
mailman would delete these mails but what if we have temporarily A/MX
records broken just and those would be fixed in few hours?

And..

I just wonder why that process loops with read/close/mmap when there is
actually no sending to be done (infinite read/close/open/rename/mmap-loop)
while sending happens to be just every 4minutes or so.

Best regards,
Veli Pirttila |  ++Titus

--
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] Excessive CPU usage [Loopingread/close/mmap] (.db , .pck) (qfiles/out)

2003-06-19 Thread Richard Barrett
At 07:36 19/06/2003, foobar wrote:
Hi,

Some strace:

-- Opening that db --

open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.db",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=2054, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "{s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\10"..., 4096) = 2054
close(9)= 0
munmap(0x40227000, 4096)= 0
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.db")
= 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.pck",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=7441, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
read(9, "tor\" CONTENT=3D\"MS Exchange Serv"..., 4096) = 3345
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.pck")
= 0
close(9)= 0
munmap(0x40227000, 4096)= 0
--- Locale (Why do we need locale here?) ---

stat64("/opt/mailman-2.1.2/messages/en_US.ISO8859-1/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en_US/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en.ISO8859-1/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
gettimeofday({1056003211, 26430}, NULL) = 0
gettimeofday({1056003211, 26915}, NULL) = 0
umask(07)   = 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.pck",
O_WRONLY|O_CRET|O_TRUNC|O_LARGEFILE, 0666) = 9
umask(0)= 07
fstat64(9, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
write(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
write(9, "59-1\">\n
open("/opt/mailman-2.1.2/qfiles/out",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
fstat64(9, {st_mode=S_IFDIR|S_ISGID|0770, st_size=4096, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
getdents64(0x9, 0x83f27c8, 0x1000, 0x1) = 224
getdents64(0x9, 0x83f27c8, 0x1000, 0x838e718) = 0
close(9)= 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=2054, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "{s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\10"..., 4096) = 2054
close(9)= 0
munmap(0x40227000, 4096)= 0
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db")
= 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.pck",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=7441, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
Could you tell what is wrong, no messages are going currently out or in,
MTA is working properly and bounces were handled correctly.
  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
x mailman   25   0  6188 4848  2820 R94,5  1,8  1192m python
What _could_ cause this kind of looping?

Mailman (see directory) version is 2.1.2

Could it be error 450 (I reject every delivery to non-existent domain):

XXX XX XX:XX:XX 2003 (XXYYZZ) delivery to [EMAIL PROTECTED] failed with
code 450: <[EMAIL PROTECTED]>: Recipient address rejected: Domain not
found
Surely 450 indicates a transient failure which effectively invites the 
sender to try again.

Maybe, if you return a 550 indicating permanent failure, Mailman will stop 
trying so hard.

If yes, is there any workaround for this?

Best regards,
Veli Pirttila  |  ++Titus
--
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/r.barrett%40openinfo.co.uk
--
Richard Barrett  http://www.openinfo.co.uk

Re: [Mailman-Users] Excessive cpu usage

2003-05-30 Thread Arnar Birgisson
Thanks..

This episode does bring up some thoughts though. My problem was for the
most part that I didn't know where to look ("ps aux | grep mail" would
have made a good place to start, but that was my fault :o), and the logs
didn't give me anything. Failure to contact an smtp server should
perhaps be logged in mailman's logfiles, what do you think?

Arnar

>>> Raquel Rice <[EMAIL PROTECTED]> 30.5.2003 08:20:04 >>>
On Fri, 30 May 2003 07:59:22 +
"Arnar Birgisson" <[EMAIL PROTECTED]> wrote:

> I'm sorry all.. the private mail I sent Tom was meant to go to the
> list as well.. I'm simply used to mailing lists rewriting the
> Reply-To header..
> But here it is.. (one might think I didn't send this to the list
> from embarassment .. :o):
> 
> F*ck.. I'm terribly sorry for wasting your time. I'm just stupid..
> that's all. It turned out that my MTA wasn't running at all.. no
> wonder mailman couldn't contact an smtp server >o((.
> 
> Thanks all.. and sorry again.
> 
> Arnar
> 

I'm not so sure that "stupid" is the correct word to use here.  We
all do things which, with hindsight, seem we should not have done or
something we should have caught.  It's good to know that the "fix"
was something so simple.

--
Raquel

Courage is resistance to fear, mastery of fear--not absence of fear.
  --Mark Twain


--
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/arnarb%40oddi.is

--
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] Excessive cpu usage

2003-05-30 Thread Arnar Birgisson
I'm sorry all.. the private mail I sent Tom was meant to go to the list
as well.. I'm simply used to mailing lists rewriting the Reply-To
header..
But here it is.. (one might think I didn't send this to the list from
embarassment .. :o):

F*ck.. I'm terribly sorry for wasting your time. I'm just stupid..
that's all. It turned out that my MTA wasn't running at all.. no wonder
mailman couldn't contact an smtp server >o((.

Thanks all.. and sorry again.

Arnar

>>> Raquel Rice <[EMAIL PROTECTED]> 28.5.2003 17:45:23 >>>
On Wed, 28 May 2003 10:01:04 -0700
Tom Eastep <[EMAIL PROTECTED]> wrote:

> On Wed, 28 May 2003 09:15:45 -0700, Mark Dadgar
> <[EMAIL PROTECTED]> wrote:
> 
> > Arnar Birgisson at [EMAIL PROTECTED] wrote:
> >> I'm running mailman 2.1 on a linux machine. My problem is that
> >the> mailman qrunner daemon constantly consumes 65-95% of cpu
> >time. Nothing> shows up in the logs while this goes on. Any ideas
> >of how to locate the> fault?
> >
> > Is there a massively large (like 20+ Meg) piece of email being
> > processed for
> > the mailman list?  Like from root or something?
> 
> Arnar informed me in a private email that he has resolved the
> problem.
> 
> -Tom

Could Arnar share with us how he got it fixed?

--
Raquel

The life of the individual only has meaning insofar as it aids in
making the life of every living thing nobler and more beautiful.
Life is sacred, that is to say, it is the supreme value to which all
other values are subordinate.
  --Albert Einstein


--
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/arnarb%40oddi.is

--
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] Excessive cpu usage

2003-05-29 Thread Jon Carnes
In some cases this problem is caused by the way that the MTA handles
local deliveries (where there is a problem with the local user).

In postfix for example, the default install has local bounces
mis-identified so that Mailman will try, try again to deliver to a bogus
local user address.  Nothing shows up in the logs, since the MTA
indicates that the user is legal, just not currently available.

I suggest that you-all look in the MTA log files to see if there are
multiple failed deliveries to a local user.

Barry has a work-around for this problem that will be included in the
next release.

Jon Carnes

On Wed, 2003-05-28 at 13:20, Ryan K. Brooks wrote:
> Odd. I have the same problem! (postfix here, and it's fine)
> 
> -R
> 
> Arnar Birgisson wrote:
> 
> >Something of the sort yes.. if I stop mailman, there is one message in
> >the out queue. However, using dumpdb reveals that this is just a normal
> >
> 
> 
> 
> --
> 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] Excessive cpu usage

2003-05-29 Thread Ryan K. Brooks
Odd. I have the same problem! (postfix here, and it's fine)

-R

Arnar Birgisson wrote:

Something of the sort yes.. if I stop mailman, there is one message in
the out queue. However, using dumpdb reveals that this is just a normal


--
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] Excessive cpu usage

2003-05-29 Thread Tom Eastep
On Wed, 28 May 2003 09:15:45 -0700, Mark Dadgar <[EMAIL PROTECTED]> 
wrote:

Arnar Birgisson at [EMAIL PROTECTED] wrote:
I'm running mailman 2.1 on a linux machine. My problem is that the
mailman qrunner daemon constantly consumes 65-95% of cpu time. Nothing
shows up in the logs while this goes on. Any ideas of how to locate the
fault?
Is there a massively large (like 20+ Meg) piece of email being processed 
for
the mailman list?  Like from root or something?
Arnar informed me in a private email that he has resolved the problem.

-Tom
--
Tom Eastep\ Shorewall - iptables made easy
Shoreline, \ http://www.shorewall.net
Washington USA  \ [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/
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] Excessive cpu usage

2003-05-29 Thread Mark Dadgar
Arnar Birgisson at [EMAIL PROTECTED] wrote:
> I'm running mailman 2.1 on a linux machine. My problem is that the
> mailman qrunner daemon constantly consumes 65-95% of cpu time. Nothing
> shows up in the logs while this goes on. Any ideas of how to locate the
> fault?

Is there a massively large (like 20+ Meg) piece of email being processed for
the mailman list?  Like from root or something?

- Mark
--
[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/

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] Excessive cpu usage

2003-05-29 Thread Tom Eastep
On Wed, 28 May 2003 14:33:05 +, Arnar Birgisson <[EMAIL PROTECTED]> wrote:

Hi there..

I verified this.. the MTA seems to be configured correctly. Since
switching to Exim recently, mailman lists have worked as they should.
As I mentioned earlier, some files are constantly being created in the
out queue directory. I wasn't right when I said earlier that there was
no traffic, apparently there is one message in the out queue, according
to the contents of those files.
What makes me unable to diagnose the problem however is that nothing
shows up in neither the mailman log files nor exim's log files.
I had a similar problem after a recent MTA reconfiguration. I traced it to 
the fact that the my MTA was no longer listening on the port that I has 
specified with the SMTPPORT variable. Once I set SMTPPORT correctly, 
qrunner CPU utilization returned to normal and list posts were delivered.

-Tom
--
Tom Eastep\ Shorewall - iptables made easy
Shoreline, \ http://www.shorewall.net
Washington USA  \ [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/
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] Excessive cpu usage

2003-05-29 Thread Josep L. Guallar-Esteve
On Wednesday 28 May 2003 10:16 am, Raquel Rice wrote:
> The FAQ that is included in the Mailman download indicates that it
> could also be a problem with your MTA.  Make certain that your MTA
> isn't set up to do DNS lookups on each address.

Thank you for your suggestion.

I did read the FAQ and  checked the MTA configuration, as well as my server 
settings. I went through this mailing list archives. And I found nothing.

With the logs, I was able to trace wich messages were the ones causing 
problems.  And  all the problematic messages were +300 KB. I discovered it 
using top, watch, less and patience. 


Regards,
Josep
-- 
Josep L. Guallar-Esteve Eastern Radiologists, Inc.
Systems and Network Administration  http://www.easternrad.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] Excessive cpu usage

2003-05-29 Thread Arnar Birgisson
Something of the sort yes.. if I stop mailman, there is one message in
the out queue. However, using dumpdb reveals that this is just a normal
message being posted to a list, not a confirm message. dumpdb on the .db
file gives (I have replaced @ with 'at' in email addresses..)

{   'decorated': 1,
'lang': 'en',
'listname': 'configfiles-commits',
'original_sender': 'arnarb at oddi.is',
'origsubj': '[CVS] cvs-configfiles: poki.oddi.is/etc/mail/ exim',
'received_time': 1054116645.529613,
'recips': ['x at oddi.is', 'arnarb at oddi.is', 'x at oddi.is'],
'tolist': 1,
'version': 3}

and dumpdb on the .pck file gives the message source, complete with
mailman-added headers and all.
The headers are..

>From root at linux.oddi.is Wed May 28 10:10:44 2003
Received: from root by poki.oddi.is with local (Exim 4.20)
id 19KxtM-0004OC-K3 for configfiles-commits at
listar.oddi.is;
Wed, 28 May 2003 10:10:44 +
From: "Ofurpaur" 
To: configfiles-commits at listar.oddi.is 
User-Agent: OSSP shiela 1.0.4 [CVS 1.11.5+RSE]
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Lines: 605
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 28 May 2003 10:10:44 +
Subject: [Configfiles-commits] [CVS] cvs-configfiles:
poki.oddi.is/etc/mail/
exim
X-BeenThere: configfiles-commits at listar.oddi.is 
X-Mailman-Version: 2.1
List-Id: Patchar við hvert commit á breytingum á
 config-skrám í CVS 
List-Unsubscribe:
,

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe:
,



Arnar

>>> Gerald Combs <[EMAIL PROTECTED]> 28.5.2003 14:34:04 >>>
On Wed, 28 May 2003, Arnar Birgisson wrote:

> Sorry for replying to my own post.. but I just noticed by watching
the
> $prefix/qfiles/out directory.. that files are being created and
removed
> there constantly.. still, nothing in the logs. There is however no
> ongoing traffic at the moment, this is a private server with few
lists.
> My MTA is Exim 4, since recently.

This sounds similar to a problem I'm having.  In my case, if I stop
qrunner there's a single message in the "out" queue. 
$prefix/bin/dumpdb
shows that it's a malformed confirm message.  Like you, nothing shows
up
in Mailman's nor (in my case) Postfix's logs.


--
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] Excessive cpu usage

2003-05-29 Thread Gerald Combs
On Wed, 28 May 2003, Arnar Birgisson wrote:

> Sorry for replying to my own post.. but I just noticed by watching the
> $prefix/qfiles/out directory.. that files are being created and removed
> there constantly.. still, nothing in the logs. There is however no
> ongoing traffic at the moment, this is a private server with few lists.
> My MTA is Exim 4, since recently.

This sounds similar to a problem I'm having.  In my case, if I stop
qrunner there's a single message in the "out" queue.  $prefix/bin/dumpdb
shows that it's a malformed confirm message.  Like you, nothing shows up
in Mailman's nor (in my case) Postfix's logs.


--
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] Excessive cpu usage

2003-05-29 Thread Arnar Birgisson
Hi there..

I verified this.. the MTA seems to be configured correctly. Since
switching to Exim recently, mailman lists have worked as they should.

As I mentioned earlier, some files are constantly being created in the
out queue directory. I wasn't right when I said earlier that there was
no traffic, apparently there is one message in the out queue, according
to the contents of those files.

What makes me unable to diagnose the problem however is that nothing
shows up in neither the mailman log files nor exim's log files.

Arnar

>>> Raquel Rice <[EMAIL PROTECTED]> 28.5.2003 14:16:00 >>>
On Wed, 28 May 2003 09:46:01 -0400
"Josep L. Guallar-Esteve" <[EMAIL PROTECTED]> wrote:

> On Wednesday 28 May 2003 09:24 am, Arnar Birgisson wrote:
> > Hello
> 
> Hi
> 
> > I'm running mailman 2.1 on a linux machine. My problem is that
> > the mailman qrunner daemon constantly consumes 65-95% of cpu
> > time. Nothing shows up in the logs while this goes on. Any ideas
> > of how to locate the fault?
> 
> The problem might be the message size. Mailman parses all the
> messages with python,who is a little unefficient.
> 
> For example, on my mailman machine, messages of size=300 KB
> required 300 MB of RAM for processing... and used up (+90%) the
> CPU (P-III-Xeon-550).
> 
> In my case, the solution was to reduce the message size,
> 
> > Arnar
> 
> 
> Josep

The FAQ that is included in the Mailman download indicates that it
could also be a problem with your MTA.  Make certain that your MTA
isn't set up to do DNS lookups on each address.

--
Raquel

The life of the individual only has meaning insofar as it aids in
making the life of every living thing nobler and more beautiful.
Life is sacred, that is to say, it is the supreme value to which all
other values are subordinate.
  --Albert Einstein


--
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/arnarb%40oddi.is

--
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] Excessive cpu usage

2003-05-29 Thread Arnar Birgisson
Sorry for replying to my own post.. but I just noticed by watching the
$prefix/qfiles/out directory.. that files are being created and removed
there constantly.. still, nothing in the logs. There is however no
ongoing traffic at the moment, this is a private server with few lists.
My MTA is Exim 4, since recently.

Arnar


>>> "Arnar Birgisson" <[EMAIL PROTECTED]> 28.5.2003 14:00:35 >>>
Hello.. and thanks for the response.

I probably should have mentioned that there is currently no traffic on
the server.. no messages are being sent and all queues are empty. 

Arnar

>>> "Josep L. Guallar-Esteve" <[EMAIL PROTECTED]> 28.5.2003
13:46:01 >>>
On Wednesday 28 May 2003 09:24 am, Arnar Birgisson wrote:
> Hello

Hi

> I'm running mailman 2.1 on a linux machine. My problem is that the
> mailman qrunner daemon constantly consumes 65-95% of cpu time.
Nothing
> shows up in the logs while this goes on. Any ideas of how to locate
the
> fault?

The problem might be the message size. Mailman parses all the messages
with 
python,who is a little unefficient.

For example, on my mailman machine, messages of size=300 KB required
300 MB of 
RAM for processing... and used up (+90%) the CPU (P-III-Xeon-550).

In my case, the solution was to reduce the message size,

> Arnar


Josep
-- 
Josep L. Guallar-Esteve Eastern Radiologists, Inc.
Systems and Network Administration  http://www.easternrad.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/arnarb%40oddi.is 

--
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/arnarb%40oddi.is

--
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] Excessive cpu usage

2003-05-29 Thread Arnar Birgisson
Hello.. and thanks for the response.

I probably should have mentioned that there is currently no traffic on
the server.. no messages are being sent and all queues are empty. 

Arnar

>>> "Josep L. Guallar-Esteve" <[EMAIL PROTECTED]> 28.5.2003
13:46:01 >>>
On Wednesday 28 May 2003 09:24 am, Arnar Birgisson wrote:
> Hello

Hi

> I'm running mailman 2.1 on a linux machine. My problem is that the
> mailman qrunner daemon constantly consumes 65-95% of cpu time.
Nothing
> shows up in the logs while this goes on. Any ideas of how to locate
the
> fault?

The problem might be the message size. Mailman parses all the messages
with 
python,who is a little unefficient.

For example, on my mailman machine, messages of size=300 KB required
300 MB of 
RAM for processing... and used up (+90%) the CPU (P-III-Xeon-550).

In my case, the solution was to reduce the message size,

> Arnar


Josep
-- 
Josep L. Guallar-Esteve Eastern Radiologists, Inc.
Systems and Network Administration  http://www.easternrad.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/arnarb%40oddi.is

--
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] Excessive cpu usage

2003-05-28 Thread Josep L. Guallar-Esteve
On Wednesday 28 May 2003 09:24 am, Arnar Birgisson wrote:
> Hello

Hi

> I'm running mailman 2.1 on a linux machine. My problem is that the
> mailman qrunner daemon constantly consumes 65-95% of cpu time. Nothing
> shows up in the logs while this goes on. Any ideas of how to locate the
> fault?

The problem might be the message size. Mailman parses all the messages with 
python,who is a little unefficient.

For example, on my mailman machine, messages of size=300 KB required 300 MB of 
RAM for processing... and used up (+90%) the CPU (P-III-Xeon-550).

In my case, the solution was to reduce the message size,

> Arnar


Josep
-- 
Josep L. Guallar-Esteve Eastern Radiologists, Inc.
Systems and Network Administration  http://www.easternrad.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