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

Mongod give error "too many opens file"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      OEL Linux
    • Operating System:
      Linux

      Description

      Hi,
      We have following setup:
      mongos :1
      config server :3
      mongod (shards):10
      all shards are journal enabled.
      Every shard have 1.5 tb Disk space.
      We make 365 days database.

      Get error logs "too many opens files".

      After some time of above log we check following:

      1> ulimit -n is 35000
      2> lsof | wc -l is 7343.
      3> lsof | grep mongod | wc -l is 3455.

      Why did error "too many opens files" come??

      Kindly help me.

      Regards,
      JRV

      We check
      ulimit -n
      all shards are journal enabled.

      Mongod1 become non-responsive. Logs show error "too many opens files".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jitendra908 jitendra
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: