[New-bugs-announce] [issue34140] Possible multiprocessing deadlock when placing too many objects in Queue()

Horace Stoica report at bugs.python.org
Tue Jul 17 10:21:19 EDT 2018


New submission from Horace Stoica <fhstoica at gmail.com>:

I am trying to use the  multiprocessing module for a simulation on a spherical lattice, but the process hangs when the lattice is too large. 

In the file IssuesWithQueueMultiProcessing.py, the method createLattice(), use either "return(I4)" for the small lattice or "return(I5)" for the large lattice. 

Running the script when using the large lattice causes the process to hang while for the small lattice it works fine. I have tested with Python 3.5.2 and 3.6.1 and the behavior is the same in both versions.

----------
files: IssuesWithQueueMultiProcessing.tar.bz
messages: 321832
nosy: fhstoica
priority: normal
severity: normal
status: open
title: Possible multiprocessing deadlock when placing too many objects in Queue()
type: performance
versions: Python 3.5, Python 3.6
Added file: https://bugs.python.org/file47702/IssuesWithQueueMultiProcessing.tar.bz

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34140>
_______________________________________


More information about the New-bugs-announce mailing list