[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: /dev/random blocked
- From: Ken Snider <ken snider datawire net>
- To: "Discussion of Red Hat Enterprise Linux 3 (Taroon)" <taroon-list redhat com>
- Subject: Re: /dev/random blocked
- Date: Tue, 01 Jun 2004 06:09:55 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jos Vos wrote:
| Are there others having the problem that a process (on a busy system)
| in rare occasions blocks on reading /dev/random? I have now seen this
| twice, one time on RHL 9 and one time on RHEL 3 and in both cases I
| tried several things but finally had to reboot to solve the problem.
|
| I see with strace that a processes reading /dev/random blocks
| (not sure if it was /dev/urandom in the other case), also when I start
| a new process, the device just doesn't provide a single byte anymore.
/dev/random *WILL* block if there isn't enough entropy available to generate
random data. For an unblocking /dev/random, use /dev/urandom, which will use
"pseudo-random" data when system entropy is low.
- --
Ken Snider
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAvFXz409OqHEpU1kRAqQ+AKCXKG1EzskWKcEUBZqjzVaXPibi0ACfV5gB
vDJVXpCvLKr322Qaghxw1AQ=
=fHNE
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]