Solved

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

Posted on 2011-02-17
5
1,030 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 79

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 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

623 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