Siyao Meng created HDDS-17166:
---------------------------------

             Summary: Add open file descriptor count to Ozone service metrics
                 Key: HDDS-17166
                 URL: https://issues.apache.org/jira/browse/HDDS-17166
             Project: Apache Ozone
          Issue Type: Improvement
          Components: metrics
            Reporter: Siyao Meng


Ozone services do not expose the number of open file descriptors. Datanodes 
keep block files open, and OM, SCM and datanodes all open many RocksDB SST 
files, so running out of file descriptors is a realistic failure mode that is 
currently invisible until it happens.

Expose OpenFileDescriptorCount and MaxFileDescriptorCount from 
UnixOperatingSystemMXBean as gauges in OM, SCM, datanode, S3 Gateway and Recon. 
The count is per process, so it includes files opened by native RocksDB code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to