Reads from /dev/random can hang forever on Solaris
(Doc ID 1503179.1)
Last updated on MAY 11, 2022
Applies to:
Solaris Operating System - Version 10 3/05 to 11 11/11 [Release 10.0 to 11.0]Information in this document applies to any platform.
Symptoms
Applications reading from /dev/random can hang forever
sample truss, from a test case which was used to duplicate the issue:
Base time stamp: 1350501634.7058 [ Wed Oct 17 15:20:34 EDT 2012 ]
...
...
/1: 0.0257 0.0002 write(1, " O p e n i n g : / d e".., 21) = 21
/1: 0.0263 0.0002 open64("/dev/random", O_RDONLY) = 3
/1: 0.0266 0.0000 time() = 1350501634
/1: read(3, 0xFFBFDC50, 8192) (sleeping...)
/1: 6257.1425 1.4646 Received signal #2, SIGINT, in read() [default]
/1: siginfo: SIG#0
/1: 6257.1584 1.4653 read(3, "\0\002A107D1 1D1\0\0\0\0".., 8192) = 1040
##
## Note, the over 6000 seconds when the process was killed with a SIGINT
##
Changes
N/A
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |