[SERVER-3721] too many log entries from initAndListen() on "too many open files" Created: 30/Aug/11 Updated: 31/Aug/11 Resolved: 31/Aug/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.8.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Mongos (and potentially mongod?), when hitting open file limits, quickly creates a huge number (thousands per second) of log messages like : Tue Aug 30 11:23:39 [mongosMain] Listener: accept() returns -1 errno:24 Too many open files The messages are triggered from the event loop of Listener::initAndListen(), when a new client connection is detected but cannot be accepted for lack of fds, we log an error. However the event loop continues and the error continues to be retriggered. Probably needs special-casing as done for other error types. Untested on 1.9/2.0. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 31/Aug/11 ] |