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

Cannot start mongod httpinterface: sockets higher than 1023 not supported

    • Fully Compatible
    • ALL
    • Hide

      Create more than 1023 collections, force a crash of mongod, restart with --httpinterface

      Show
      Create more than 1023 collections, force a crash of mongod, restart with --httpinterface

      Issue Status as of Apr 02, 2015

      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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: