qrunner --runners=All blocks one CPU core
Bug #1818205 reported by
Michael Lutonsky
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:/
[2]: https:/
Related branches
lp:~mluto/mailman/qrunnersleep
- Mark Sapiro: Approve
-
Diff: 20 lines (+3/-0)1 file modifiedbin/qrunner (+3/-0)
Changed in mailman: | |
assignee: | nobody → Mark Sapiro (msapiro) |
importance: | Undecided → Medium |
milestone: | none → 2.1.30 |
status: | New → Fix Committed |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
a fix was suggested in https:/ /code.launchpad .net/~mluto/ mailman/ qrunnersleep/ +merge/ 363767