qrunner --runners=All blocks one CPU core

Bug #1818205 reported by Michael Lutonsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Mark Sapiro

Bug Description

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

Related branches

Revision history for this message
Michael Lutonsky (mluto) wrote :
Mark Sapiro (msapiro)
Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Medium
milestone: none → 2.1.30
status: New → Fix Committed
Mark Sapiro (msapiro)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.