This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yjhong
Recipients yjhong
Date 2014-06-04.18:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401907144.02.0.926823813171.issue21664@psf.upfronthosting.co.za>
In-reply-to
Content
When running many managers (e.g. > 10) in parallel on a decent machine, there is often a number of pymp-xxx directories left in /tmp after the run.

After some digging and debugging, I think the cause is that multiprocessing.managers.SyncManager waits for the manager process to shutdown and join with a timeout of 0.2s, and this timeout is way too low. This leads to processes being forced to terminate before cleaning up the temporary directories properly.

Could the timeout being raised a bit, or at least allowing the timeout to be set when creating the SyncManager through Manager()?
History
Date User Action Args
2014-06-04 18:39:04yjhongsetrecipients: + yjhong
2014-06-04 18:39:04yjhongsetmessageid: <1401907144.02.0.926823813171.issue21664@psf.upfronthosting.co.za>
2014-06-04 18:39:03yjhonglinkissue21664 messages
2014-06-04 18:39:03yjhongcreate