[issue8426] multiprocessing.Queue fails to get() very large objects

Brian Cain report at bugs.python.org
Thu Dec 9 07:16:44 CET 2010


Brian Cain <brian.cain at gmail.com> added the comment:

I was able to reproduce the problem on a more recent release.

7279 entries fails, 7278 entries succeeds.


$ ./multiproc3.py 
on 3.1.2 (r312:79147, Apr 15 2010, 12:35:07) 
[GCC 4.4.3] - Linux mini 2.6.32-26-generic #47-Ubuntu SMP Wed Nov 17 15:59:05 UTC 2010 i686 
7278 entries in flight, join() took 12517.93 usec, get() did 413756.736588 items/sec
7278 entries in flight, join() took 19458.06 usec, get() did 345568.562217 items/sec
7278 entries in flight, join() took 21326.07 usec, get() did 382006.563784 items/sec
7278 entries in flight, join() took 14937.16 usec, get() did 404244.835554 items/sec
7278 entries in flight, join() took 18877.98 usec, get() did 354435.878968 items/sec
7278 entries in flight, join() took 20811.08 usec, get() did 408343.738456 items/sec
7278 entries in flight, join() took 14394.04 usec, get() did 423727.055218 items/sec
7278 entries in flight, join() took 18940.21 usec, get() did 361012.624762 items/sec
7278 entries in flight, join() took 19073.96 usec, get() did 367559.024118 items/sec
7278 entries in flight, join() took 16229.87 usec, get() did 424764.763755 items/sec
7278 entries in flight, join() took 18527.03 usec, get() did 355546.367937 items/sec
7278 entries in flight, join() took 21500.11 usec, get() did 390429.802164 items/sec
7278 entries in flight, join() took 13646.84 usec, get() did 410468.669903 items/sec
7278 entries in flight, join() took 18921.14 usec, get() did 355873.819767 items/sec
7278 entries in flight, join() took 13582.94 usec, get() did 287553.877353 items/sec
7278 entries in flight, join() took 21958.11 usec, get() did 405549.873285 items/sec
^C7279 entries: join() ABORTED by user after 5.54 sec
^CError in atexit._run_exitfuncs:
Segmentation fault

----------
Added file: http://bugs.python.org/file19982/multiproc3.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8426>
_______________________________________


More information about the Python-bugs-list mailing list