klankschap <[email protected]> added the comment:

On 18 Feb 2013, at 17:31, Armin Rigo wrote:

> 
> Armin Rigo <[email protected]> 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 <[email protected]>
<https://bugs.pypy.org/issue629>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to