Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3707

Don't try to accept() if out of fds

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None

      I think we basically infinite loop trying to accept since there will always be an incoming connection ready to be accepted that we can't accept. We should check if there is an available fd, and issue a warning and sleep for a second if not.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: