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

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/qrun... [2]: https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/...
** Affects: mailman Importance: Undecided Status: New

a fix was suggested in https://code.launchpad.net/~mluto/mailman/qrunnersleep/+merge/363767

** Branch linked: lp:mailman/2.1

** Changed in: mailman Importance: Undecided => Medium
** Changed in: mailman Status: New => Fix Committed
** Changed in: mailman Milestone: None => 2.1.30
** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro)
** Branch linked: lp:~mluto/mailman/qrunnersleep

** Changed in: mailman Status: Fix Committed => Fix Released
participants (3)
-
Launchpad Bug Tracker
-
Mark Sapiro
-
Michael Lutonsky