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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.0-rc1
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: