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 aduncan
Recipients Julian, aduncan, davin, itamarst, itamarst2, pitrou
Date 2021-04-29.23:10:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2021-04-29 23:10:59aduncansetrecipients: + aduncan, pitrou, Julian, itamarst, davin, itamarst2
2021-04-29 23:10:59aduncansetmessageid: <[email protected]>
2021-04-29 23:10:59aduncanlinkissue40379 messages
2021-04-29 23:10:59aduncancreate