[ mailman-Patches-1776178 ] Use inotify instead of polling in Runner.py

SourceForge.net noreply at sourceforge.net
Fri Aug 17 13:53:36 CEST 2007


Patches item #1776178, was opened at 2007-08-17 13:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1776178&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: mail delivery
Group: Mailman 2.2 / 3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tomas Smetana (tsmetana)
Assigned to: Nobody/Anonymous (nobody)
Summary: Use inotify instead of polling in Runner.py

Initial Comment:
Hi,
  the Mailman wakes up 7 times per second which is somehow resource unfriendly.  This is caused by qrunners that poll for new files in queue directory.  The proposed patch replaces polling in Runner.py with inotify which enables CPU to idle when possible.

The patch requires python-inotify (http://pyinotify.sourceforge.net) to be installed.
--ts

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1776178&group_id=103


More information about the Mailman-coders mailing list