LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-17-2013, 06:09 AM   #1
Ondrej
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pmap or /proc/<pid>smap or /proc/<pid>/status iQoder Linux - Newbie 1 07-16-2009 06:32 PM
Monitoring memory usage kenneho Linux - Server 4 10-02-2008 08:35 AM
Monitoring process CPU and Memory usage jdt05 Programming 5 05-02-2008 08:10 AM
CPU, Memory usage in Linux from /proc ruj.sabya Linux - General 1 03-05-2007 09:03 AM
/proc/<pid>/stat shows zero cpu usage simchac Linux - Kernel 0 07-25-2006 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration