-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: 2.6.9, 3.0.1
-
Component/s: HTTP Console, Networking, WiredTiger
-
None
-
Fully Compatible
-
ALL
-
ISSUE SUMMARY
If a mongod process opens too many file descriptors early in the initialization process, the process may fail to start if later parts of the initialization process require the server to allocate a socket. For instance, this may arise when the mongod runs with the httpinterface option, and the storage engine needs to open a large number of file descriptors, as happens during recovery following an unclean shutdown.
If you observe the following error, this may indicate that you've encountered this issue.
sockets higher than 1023 not supported
WORKAROUNDS
Disable the httpinterface until mongod can effectively start with a smaller number of file descriptors.
AFFECTED VERSIONS
3.0.0+
FIX VERSION
The fix is included in the 3.0.2 production release.
Original description
As per SERVER-17652, attempting to start mongod --httpinterface may fail if the storage engine opens too many file descriptors. In particular, WiredTiger may trigger this if recovery is required.