Operating System - Linux
1753918 Members
7662 Online
108810 Solutions
New Discussion юеВ

Re: How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

 

How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

Dear Masters

I work in a system testing team and we work on complete black box testing with no access to the code or programs.
While running traffic on the system we would like to observer if any of the process are leaking memory and if there are an leaks in the memory of the system at a high level.

Are there an tools that can be used on RHEL4, RHEL5 systems.

Any inputs in this direction is very helpful to us.

Thank you in anticipation.

Kind Regards,
Satya Prasad
Patience pays....but you will need pateince for that........
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

Check this link:

http://ktown.kde.org/~seli/memory/analysis.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

In order to easy present/analyze historical data I suggest you to install some monitoring tool - Zenoss (I personally like it), Cacti, Ganglia or so on.

Rgds,
Vitaly
dirk dierickx
Honored Contributor

Re: How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

i can recommend valgrind - http://valgrind.org/

on RH5 you have the use of systemtap, a solaris dtrace like tool - http://sourceware.org/systemtap/

note however that none of these tools are easy, the are _great_ tools. but you need to take time to learn them.

Steven E. Protter
Exalted Contributor

Re: How to detect memory leaks on RHEL releases (RHEL4, RHEL5)

Shalom,

I wrote my own.

http://www.hpux.ws/?p=8

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com