Charles-François Natali added the comment:

That's due to a leak in forker-registered handlers:
The _afterfork_registry is never cleared, so spawning processes recursively 
keeps feeling it, which ends up consuming a huge amount of memory and slowing 
process creation greatly.

Could you try the attached patch?

----------
keywords: +patch
nosy: +neologix
Added file: http://bugs.python.org/file29592/afterfork.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17555>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to