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

Donald Stufft report at bugs.python.org
Fri Aug 16 19:33:44 CEST 2013


Donald Stufft added the comment:

Looking at random.SystemRandom it appears it would suffer from the same FD exhaustion problem.

So as of right now afaik none of the sources of cryptographically secure random in the python stdlib offer a way to open a persistent FD. The primary question on my mind is if os.urandom can't be modified to maintain a persistent FD can Python offer a urandom class that *will* maintain a persistent FD?

----------

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


More information about the Python-bugs-list mailing list