- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to detect memory leak
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
How to detect memory leak
SOLVED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-12-2009 03:24 AM
06-12-2009 03:24 AM
I think we have a memory leak on our SAP DB server. vhand was sometimes as high as 40%, we rebooted, and now it is rising again.
How can I found out which process is consuming the memory?
I attach top and vmstat output. How can I find out more?
best regards,
Michaela
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-12-2009 03:44 AM
06-12-2009 03:44 AM
Re: How to detect memory leak
Re: How to detect memory leak
>>How can I found out which process is consuming the memory?
oracleC11 is taking more memory see one process is taking 8627M
#ps -aef | grep oracleC11
#ps -aef | grep oracleC11 | wc -l
Your most of the memory is taking by Oracle
I think you need to tune your oracle
Suraj
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-12-2009 04:14 AM
06-12-2009 04:14 AM
Re: How to detect memory leak
Re: How to detect memory leak
best regards,
Michaela
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-15-2009 01:54 AM
06-15-2009 01:54 AM
Re: How to detect memory leak
Re: How to detect memory leak
The above output does not always shows you have a memory leak on your server..
There are many tools like kmeminfo ( HP ), which can clearly tell if there is a memory leak . So i would suggest you either download & install this tool or log a case with HP Vendor
Analyzing memory performance / Memory leak issues takes lot of understanding of how memory management in HPUX
Thanks
Jitesh
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-15-2009 02:03 AM
06-15-2009 02:03 AM
Re: How to detect memory leak
Re: How to detect memory leak
check the glance or gpm ( gui ) monitoring tool, if you have some bootleneck, a warning message will be generated in other window.
export display where you have X-server and them run gpm.
mikap
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-15-2009 02:34 AM
06-15-2009 02:34 AM
Re: How to detect memory leak
Re: How to detect memory leak
Use my handy, dandy memory leak detector.
http://www.hpux.ws/?p=8
Works in Solaris, Linux, HP-UX
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-15-2009 02:41 AM
06-15-2009 02:41 AM
SolutionLarge amounts of activity from vhand in 11iv3 do not necessarily mean you have memory pressure. In 11iv3 vhand is also responsible for freeing pages in the file cache. Have a look at the white paper here:
http://h71028.www7.hp.com/ERC/downloads/4AA0-7157ENW.pdf
And Don Morris's comments in this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1241686
So first things first, make sure you are up-to-date on any VM subsystem patches for 11iv3
From what we see here you aren't getting any VM page-outs, so the chances are the vhand activity is associated with the file cache. As this appears to be an Oracle/SAP system, you should probably ensure that all your Oracle filesystems don't use filecache by setting "minacache=direct,convosync=direct" on your VxFS filesystem mount options (I'm assuming here that you have Online JFS). That might stop the apparent cache thrashing (if thats what's happening and its only a guess based on data provided).
HTH
Duncan
HTH
Duncan
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP