[pypy-issue] [issue629] "Cannot find gc roots" messages on Linux
klankschap
tracker at bugs.pypy.org
Mon Feb 18 18:01:21 CET 2013
klankschap <vm at klankschap.nl> added the comment:
On 18 Feb 2013, at 17:31, Armin Rigo wrote:
>
> Armin Rigo <armin.rigo at gmail.com> added the comment:
>
> klankschap: you need to give us more information, ideally a way to reproduce it
> (e.g. the complete script you're running).
As i mentioned, it appears randomly.
No way to reproduce.
It just seems to happen when i have more tasks in the pool then i have processors.
With 4 cores (8 virtual cores) installed:
nrTask = 32
taskSeeds = [random.random() for i in range(nrTask)]
pool = multiprocessing.Pool()
for iid,s in enumerate(taskSeeds):
arg = ( iid, s, G )
pool.apply_async(task, args=arg, callback=log_result)
pool.close()
pool.join()
With nrTasks larger then 8 it is more likely to happen.
.F
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue629>
________________________________________
More information about the pypy-issue
mailing list