Related:
There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set.
There are other sites that have a similar code pattern to the issues linked above within SessionFlusher and BackgroundWorker that will need to be updated to prevent this deadlock from happening.
Related:
os.fork()#6149Monitor._thread_lockleaked into forked children causing deadlocks #6148There have been a couple of reported cases where a deadlock occurs when
os.forkis used and the child process inherits an acquired lock that the parent process had set.There are other sites that have a similar code pattern to the issues linked above within
SessionFlusherandBackgroundWorkerthat will need to be updated to prevent this deadlock from happening.