Monitoring memory usage using /proc/<PID>/smaps
Hi all,
I have had a big problem with Java and Oracle Coherence based application in the last few months. Our application is consuming increasingly more memory. It needs to be restarted every 3 weeks.
We monitored several java processes usinf ps -ef and found that theyre increasing their VSZ and RSS.
We have been suggested to monitor "/proc/<PID>/smaps" of those processes. I compared smaps files for one of the growing processes during several days and I found that more memory segments have appeared. However these are anonymous and not mapped to a particular file. Is there a way to find whats taking up the memory segments?
Distributor ID: RedHatEnterpriseServer
Release: 5.8
|