New submission from Horace Stoica <fhsto...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue34140> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com