Processes probe - How many file descriptors is it really using?
search cancel

Processes probe - How many file descriptors is it really using?

book

Article ID: 220065

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The processes probe seems to be using all the allowed file descriptors. How many file descriptors is it really using?

 

Environment

Release : 20.x

Component : UIM - PROCESSES

Resolution

Follow these steps to determine how many file descriptors (fd) the probe is currently using and compare with the max allowed:

- determine the pid of "processes"

    ps -fea | grep processes

- note down the pid for "nimbus(processes)"

- count how many file descriptors are used by the probe "processes" by running this command

     ls /proc/<pid>/fd | wc -l         ==> note that <pid> is the process id noted in the previous step

- compare the result with the fd limit

     cat /proc/<pid>/limits | grep open

These numbers will indicate how many file descriptors are currently in use by the probe processes and which is the max they can reach.