Currently, nodes can reach a "too many open files" state with a low number of connections and low wiredTiger data handle usage. Reporting file descriptors used as part of index builds will help close a diagnostic gap to identify index builds as a source of index file descriptors use.
Ideally, record this as two counters:
- file handles opened
- file handles closed
- is related to
-
SERVER-64660 Report in serverStatus number of file descriptors used by the query system outside of the storage engine
- Open
-
SERVER-54791 Excessive file descriptor usage during index build with external sort
- Closed
- related to
-
SERVER-68158 serverstatus_indexbulkbuilder.js should run listIndexes on primary after creating indexes
- Closed
-
SERVER-54791 Excessive file descriptor usage during index build with external sort
- Closed
-
SERVER-60789 FTDC Collector for open files
- Closed
-
SERVER-65796 convert serverStatus metrics for index builds from gauges to counters.
- Closed