Solved

How to debug memory leaking issue of offending process in Solaris?

Posted on 2011-02-17
5
1,027 Views
Last Modified: 2013-12-27
Hello, I am trying to figure out and debug one process for the memory leaking.. I have seen the usage of a process keeps increasing from 15MB to 1050MB in 7 days.. though the process is idle and there is no usage. Could someone point me on how to proceed in order to troubleshoot the memory leaking? Thanks!
0
Comment
Question by:beer9
5 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 167 total points
ID: 34919714
You can use "prstat -a" command to see how much memory is used by all processes.


0
 
LVL 77

Expert Comment

by:arnold
ID: 34919999
you can use truss -f -p <pid_of_process> to see what it is doing.
0
 
LVL 9

Assisted Solution

by:amolg
amolg earned 167 total points
ID: 34925972
0
 
LVL 1

Assisted Solution

by:nrosier
nrosier earned 166 total points
ID: 34926017
Have you tried looking at the process with dtrace? Maybe this blog can help you a bit further: http://blogs.sun.com/chrisg/entry/using_dtrace_to_track_down
0
 

Author Closing Comment

by:beer9
ID: 34960836
Thank you! :-)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now