[issue18756] os.urandom() fails under high load

Tarek Ziadé report at bugs.python.org
Fri Aug 16 18:22:54 CEST 2013


Tarek Ziadé added the comment:

> Can tarek tell us more about its usecases: is he directly calling os.urandom() or does he use the random module? How many threads?

I was using ws4py inside greenlets. ws4py uses os.urandom() to generate some keys. So one single thread, many greenlets.

----------

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


More information about the Python-bugs-list mailing list