-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Security
-
None
-
Server Security
-
(copied to CRM)
The current approach is to use and toss out the secure random source after
essentially one use. That means three syscalls are required for every generated number, including an expensive file open.
Opening urandom once at startup, will help to find out early if there
is a problem with the device permissions or descriptor limits, and could quit early with a better diagnostic message.
- is duplicated by
-
SERVER-26995 mongos crashed with cannot open /dev/urandom Too many open files
- Closed
-
SERVER-43641 platform/random.h causing bugs, upgrade overdue
- Closed
-
SERVER-51803 Please backport SERVER-43641
- Closed
- is related to
-
SERVER-28001 Mongodb Crashed with the Got signal: 6 (Aborted)
- Closed
- links to