To fix that you find where the code forgot to close a file, release memory etc. Very common problem.
Please read the below scenario.....
I have a linux server in which many applications resides. I am running one application among them. The application creates 4 instance and each instance in turn creates file descriptor according to the request (instance actually called a library...which created the file descriptor).
The problem is ... it created the FD but doesn't close it. after a certain time each of the instance (4) reaches the max and system crashed/bogged down and doesn't respond to any of the query.
As a user certainly I don't know that this is the application which is culprit.
Could any one of you please let me know how to find out the culprit process
in above scenario.
PS: result of top command show CPU% MEM% as 0/1 for the particular application.