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

Mongod give error "too many opens file"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.3
    • Sharding
    • None
    • OEL Linux
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: