- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory management tools for HP-UX?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 09:17 AM
тАО03-10-2004 09:17 AM
Does anybody have any ideas on other memory management tools that could be used to find memory leaks specifically on HP's?
Any help is much appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 09:38 AM
тАО03-10-2004 09:38 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 09:56 AM
тАО03-10-2004 09:56 AM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 03:25 PM
тАО03-10-2004 03:25 PM
Re: Memory management tools for HP-UX?
Also run SAR and VMSTAT and IOSTAT to find your memory and io bottle necks.
Glance will give you real time as well as SAR. Perfview will track the data over time and allow it to be graphed and tracked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 12:50 AM
тАО03-11-2004 12:50 AM
Re: Memory management tools for HP-UX?
Memory leak detection is a 2 step process :
(1)Use /usr/sbin/swap -s to check the swap size and try repeatedly over intervals to see
if available swap space keeps getting smaller
(2) ps -lu
Finally I would profile the process using a new tool from HP called prospect which could potentially help you.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,,3282,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 01:41 AM
тАО03-11-2004 01:41 AM
Re: Memory management tools for HP-UX?
Clay, you have suggested installing Purify, we have not been able to get that to run on our HP system. We use a combination of both malloc() and new. We did use Purify on the Sun and it proved to find a couple of small areas where we would leak but that wasn't all. Do you have any tips for getting Purify to work on the HP?
One other option we have thought about is updating the compiler since we are using the oldest compiler that Purify supports. Updating the compiler does have risks though, does anyone have any thoughts if a new compiler would help or hurt?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 02:20 AM
тАО03-11-2004 02:20 AM
Re: Memory management tools for HP-UX?
You can try the trial version.
http://www.parasoft.com/jsp/products.jsp?/insure/support/index.htm
If the leak is in the code a compiler cannot help though we can always make sure to customise the flags on the HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 02:38 AM
тАО03-11-2004 02:38 AM
Re: Memory management tools for HP-UX?
I'm actually betting that the new run-time library will fix you but I would update to at least the A.03.45 compiler as well. I have very seldom been bitten by updating compilers.
I suspect you really appreciated all the hints at helping you determine if you had a memory leak that you already knew you had. I would be interested in knowing if you are hitting maxdsiz or maxssiz. If it's maxssiz then you just might have a real bug in your code. Of course, if you tell me that you have a 1GB stack, I ain't gonna help you no more on account of that's way too big.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 03:22 AM
тАО03-11-2004 03:22 AM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 04:47 AM
тАО03-11-2004 04:47 AM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 05:06 AM
тАО03-11-2004 05:06 AM
Re: Memory management tools for HP-UX?
The wdb debugger has a simple memory leak checker in it. You can get the most current wdb from http://www.hp.com/go/wdb .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 05:44 AM
тАО03-11-2004 05:44 AM
Re: Memory management tools for HP-UX?
IBM has a memory interceptor library thats Free and available for download at :
http://www.alphaworks.ibm.com/tech/mil
-Paddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2004 11:59 AM
тАО03-11-2004 11:59 AM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2004 03:32 AM
тАО03-19-2004 03:32 AM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 04:00 PM
тАО04-18-2004 04:00 PM
Re: Memory management tools for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 02:41 AM
тАО04-19-2004 02:41 AM
Re: Memory management tools for HP-UX?
We did find a way to link the process so that it can grow to over a gig but our client doesn't feel that is a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 06:29 PM
тАО05-06-2004 06:29 PM
Re: Memory management tools for HP-UX?
What all flags and technique to used to link the process so that it doesn't do core dump after crossing 1G restriction.
Many Thanks
Lalit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2004 04:25 AM
тАО05-07-2004 04:25 AM
Re: Memory management tools for HP-UX?
1) Purify doesn't catch all types of memory "leak"; we had an algorithmic problem where memory was being added to an internal (complex) data structure, and not being removed correctly. When our process exited, the memory structure was cleaned up properly, so Purify didn't detect the problem (as we didn't have a classic leak; we had a logic bomb).
2) We've also encountered scenarios where the algorithms in a process were such that the process could grow to > maxdsize (with the inevitable core dump).
3) Where we've had problems with purify, and to address (1) or (2), we've instrumented our code by logging the size of a process's data segment (found by calling pstat_getproc). This can help pin down exactly where in your code a process is growing (which is the first step to working out why it's growing).