[Bug 1818205] [NEW] qrunner --runners=All blocks one CPU core

Michael Lutonsky 1818205 at bugs.launchpad.net
Fri Mar 1 05:09:31 EST 2019


Public bug reported:

When runner qrunner with --runners=All it calls all defined runners in
an endless loop[1]. Most of the time the runners have nothing to do and
quickly reach the point where they shut down again[2]. Note that this
happens before they sleep in self._snooze(), which is intended to
prevent a busy-loop. After that, the runners get started again without
delay, in an endless loop, eating up a CPU core.

As far as I know this should happen in any mailman2.1 setup when using
qrunner with --runners=All.

[1]: https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/qrunner#L260
[2]: https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Queue/Runner.py#L76

** Affects: mailman
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1818205

Title:
  qrunner --runners=All blocks one CPU core

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1818205/+subscriptions


More information about the Mailman-coders mailing list