Andrew Duncan <mountaindrew.dun...@gmail.com> added the comment:

I just ran into and fixed (thanks to itamarst's blog post) a problem likely 
related to this.

Multiprocessing workers performing work and sending a logging message back with 
success/fail info. I had a few intermittent deadlocks that became a recurring 
problem when I sped up the process that skipped tasks which had previously 
completed (I think this shortened the time between forking and attempting to 
send messages causing the third process to deadlock). After changing that it 
deadlocked *every time*.

Switching to "spawn" at the top of the main function has fixed it.

----------
nosy: +aduncan

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

Reply via email to