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

Understanding number of file descriptors needed by mongod process

    • Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      3.0.15

      Hi,
      Currently I am using Mongodb 3.0.15 with Wiredtiger storage engine. I am facing "too many open files" issue while performing mongodump. we have approximately 3000 databases having 10 collections each. I have increased "max open files limit" for mongod process. I have changed "max open files limit" to 1 lac from 64000. I can see 62000 file descriptors for mongod process using lsof command even though I am not performing any operation on it. I have read that Wiredtiger tries to open 2 files for each collection and 1 for each index. If so is there a way to limit number of file descriptors and how can I scale going forward as in practice kernel has some limit on number of file descriptor. Please tell me if I am missing something. Thanks in advance.

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            onkarb onkar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: