[Mailman-Developers] qrunner infinite loop?

Greg Ward gward at python.net
Sun Aug 24 21:49:07 EDT 2003


I've just installed the mailman 2.1.2-7 package on a Debian sarge
(testing) system, and qrunner goes into an apparent infinite loop as
soon as it starts.  Here's a snapshot from "top" shortly after running
"/etc/init.d/mailman start":


  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  Command           
 4498 list      19   0  4656 4656 1844 R 99.7  0.5   0:48.36 python            
 4484 gward      9   0   940  940  748 R  0.3  0.1   0:00.17 top               

Memory use is stable, hence my assumption that this is a garden-variety
infinite loop.

And "ps -fu list" reports this:

UID        PID  PPID  C STIME TTY          TIME CMD
list      4492     1  0 02:42 ?        00:00:00 [mailmanctl]
list      4493  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
list      4494  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
list      4495  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
list      4496  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
list      4497  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
list      4498  4492 97 02:42 ?        00:01:01 qrunner /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
list      4499  4492  0 02:42 ?        00:00:00 qrunner /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s

... so it's just one qrunner (OutgoingRunner) that's responsible for all
the CPU sucking.

Hmmm: there *are* files in the queue, but I'm not sure what they're
doing there or how they got there (this is a new, fairly inactive system
with no lists and no incoming traffic, apart from me testing things):

# cd /var/lib/mailman/
# find qfiles/ -type f
qfiles/out/1061532001.524745+03e15ef2a9a7d27904406a659cdb4922a204431b.pck
qfiles/out/1061497885.874818+cf5f7e2e03cbca8bb84a23a60f055679c16e81fa.pck
qfiles/out/1061704802.107101+4617d8731ecb303dd756e475b5362bd5a64b1fcf.pck
qfiles/out/1061497885.871999+3453d7caa05a1aad6b230da61b39d4937405fcc8.pck
qfiles/out/1061497885.871999+3453d7caa05a1aad6b230da61b39d4937405fcc8.db
qfiles/out/1061497885.874818+cf5f7e2e03cbca8bb84a23a60f055679c16e81fa.db
qfiles/out/1061704802.107101+4617d8731ecb303dd756e475b5362bd5a64b1fcf.db
qfiles/out/1061532001.524745+03e15ef2a9a7d27904406a659cdb4922a204431b.db

Any clues?  I'll try to investigate more tomorrow evening.

        Greg
-- 
Greg Ward <gward at python.net>                         http://www.gerg.ca/
We have always been at war with Oceania.



More information about the Mailman-Developers mailing list