Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11191

Add a config to set max_open_files for OM RocksDB.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • OM

    Description

      Currently the max_open_files rocksdb config is -1 by default and not set anywhere via Ozone code. However in situations where the number of SST Files in the rocksdb instance becomes greater than the ulimit (open file limit of the OS), Rocksdb will not respect the OS config and try to open all files at once thereby leading to "Too many open files" error. 

      Introducing a config in Ozone to set this is helpful to avoid/recover from such crashes.

      Attachments

        Issue Links

          Activity

            People

              sadanand_shenoy Sadanand Shenoy
              sadanand_shenoy Sadanand Shenoy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: