Solved

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

Posted on 2011-02-17
5
1,028 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 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