[Mailman-Users] mailman python-2.4 using 96% cpu

Mark Sapiro mark at msapiro.net
Sat Feb 7 02:04:41 CET 2009

Goodman, William wrote:

>Cool Mike that helped a lot...

It's Mark ...

>I was so frustrated I set it to:
>QRUNNER_SLEEP_TIME = seconds(10)
>That seem to calm it down a bit.
>top - 18:38:02 up 56 min,  2 users,  load average: 1.25, 1.20, 1.83
>Tasks: 109 total,   1 running, 108 sleeping,   0 stopped,   0 zombie
>Cpu(s): 20.3%us,  0.3%sy,  0.0%ni, 79.2%id,  0.2%wa,  0.0%hi,  0.0%si,
>Mem:   3866604k total,   494800k used,  3371804k free,   175632k buffers
>Swap:  4194296k total,        0k used,  4194296k free,   172108k cached
>19021 mailman   25   0  150m  12m 2752 S   41  0.3   1:59.92 python2.4
>    8 root      10  -5     0    0    0 S    0  0.0   0:03.72 events/0
>19797 root      16   0 12584 1068  800 S    0  0.0   0:00.30 top
>    1 root      15   0 10324  692  580 S    0  0.0   0:00.40 init
>But I still see 99% spikes from time to time. Is there a BOUNCERUNNER
>and INCOMINGRUNNER parameter?

QRUNNER_SLEEP_TIME applies to all the runners.

I suppose it's possible you are just being bombarded with mail. Perhaps
there is some kind of mail loop.

What's in Mailman's vette log?

What do you see if you stop Mailman and while it is stopped do

ls -aR qfiles/

Do you see any entries? If so, and you do the ls again are there more
entries or the same ones? If there are entries, what's in them (use
bin/show_qfiles to list them)?

Also, as root do

strace -p xxx -o filename

where xxx is the pid of incoming runner. Let it run for 10 or 20
seconds and then stop it with control-C and see what's in the output

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list