Solved

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

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
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.

757 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

23 Experts available now in Live!

Get 1:1 Help Now