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

Mongod give error "too many opens file"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Sharding
    • None
    • Environment:
      OEL Linux
    • Linux

      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".

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

              Created:
              Updated:
              Resolved: