Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-17
5
Medium Priority
?
1,033 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 668 total points
ID: 34919714
You can use "prstat -a" command to see how much memory is used by all processes.


0
 
LVL 80

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:Amol
Amol earned 668 total points
ID: 34925972
0
 
LVL 1

Assisted Solution

by:nrosier
nrosier earned 664 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

916 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