Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Tracking Too Many Files Open or Too Many File Handles Open


#1

Looking for a way to use the Infrastructure tool and the AWS integration to be able to track file handles and having too many open in NR. Ideally when we hit a threshold we would alert and can mitigate. We are alerted when from APM when we see an error, but then have to dig into it to find out too many files are open…want to see if there is a way to warn and predict before we get to the point of too many and the service/server begins to error out.

Thanks as always!
D


#2

Hi @david95,

The Infrastructure agent currently doesn’t natively support counting the number of open files on a system, but you could write a custom integration for the agent that could collect that number and report it. It could be as simple as writing a short shell script that runs lsof and encodes the result into JSON.

This would make a great feature idea!