too many log entries from initAndListen() on "too many open files"

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.2
    • Component/s: Sharding
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: