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

Replica set Primary should step down if Out of file descriptors

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.7
    • Component/s: Replication
    • None
    • Replication

      A replica set Primary should step down and let a secondary take over instead of locking up the database when this happens:

      2015-02-08T22:07:14.675-0500 [journal] In File::open(), ::open for '/mongodb/mongod/data/journal/lsn' failed with errno:24 Too many open files
      2015-02-08T22:07:14.675-0500 [journal] warning: open of lsn file failed
      2015-02-08T22:07:15.592-0500 [conn171] Assertion: 13538:couldn't open [/proc/7329/stat] errno:24 Too many open files
      2015-02-08T22:07:15.631-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      2015-02-08T22:07:15.631-0500 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections.
      2015-02-08T22:07:16.631-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      2015-02-08T22:07:16.631-0500 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections.
      2015-02-08T22:07:17.631-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      2015-02-08T22:07:17.632-0500 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections.
      2015-02-08T22:07:18.603-0500 [conn183] Assertion: 13538:couldn't open [/proc/7329/stat] errno:24 Too many open files
      2015-02-08T22:07:18.632-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      2015-02-08T22:07:18.632-0500 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections.
      2015-02-08T22:07:19.632-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      2015-02-08T22:07:19.632-0500 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections.
      2015-02-08T22:07:20.632-0500 [initandlisten] Listener: accept() returns -1 errno:24 Too many open files
      

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            aerospace SRR
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: