- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory leak issue
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
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
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
тАО07-15-2009 12:29 AM
тАО07-15-2009 12:29 AM
Memory leak issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 12:33 AM
тАО07-15-2009 12:33 AM
Re: Memory leak issue
Attaching the excel file in zip format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 12:45 AM
тАО07-15-2009 12:45 AM
Re: Memory leak issue
What exactly is the problem are you running out of memory.
What does glance -m says do you have lots of page fault.
Any other observation.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 12:53 AM
тАО07-15-2009 12:53 AM
Re: Memory leak issue
Try the memory leak detector for HP-UX.
http://www.hpux.ws/?p=8
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 12:58 AM
тАО07-15-2009 12:58 AM
Re: Memory leak issue
Actually problem is as observed from the top the Resident memory size of my process is increasing. But,i ncrease is random some time it is stable for 2 hrs some time more then that. I have checked the business logic many time, even tried wdb but unable to find any memory related issue. I am not sure wether actually there is a problem in my code or it is HP related problem? Whether it is memory leak, corruption of memory fragmentation. From the data first i want to be sure what actually is the problem then would like to go for fixing it
The sheet i have attached has the VSS, RSS, DATA VSS, DATA RSS field as observed from glance at interval of 5 minute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 01:49 AM
тАО07-15-2009 01:49 AM
Re: Memory leak issue
I have couple of more questions.
Is this graph always going UP, does Resident memory (CODE+DATA) coming down anytime or going up.
If its coming down sometime to its real level then i would say that there is no memory leak and if thats going up and up and up.
It would suggest memory leak.
The graph you shared can lead to anlysis that there is leak but it we willl have to see broad picture over long period of time.
Since when u facing the issue.
Any changes in server??
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 01:53 AM
тАО07-15-2009 01:53 AM
Re: Memory leak issue
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351858
Calling mallopt(3) and adding the values will show you if the amount of free space increase but used space is the same.
>tried wdb but unable to find any memory related issue.
If WDB doesn't report any leaks, it's fragmentation.
What HP-UX version are you using? You may be able to use MallocNextGen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 01:56 AM
тАО07-15-2009 01:56 AM
Re: Memory leak issue
Hmm, that was your thread, it would have been helpful to mention that. Is this the same problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:04 AM
тАО07-15-2009 02:04 AM
Re: Memory leak issue
>>>>>>>>>>Yes graph is going up
The graph you shared can lead to anlysis that there is leak but it we willl have to see broad picture over long period of time.
>>>>The graph is of data collected over 11 days of run
Any changes in server??
>>>No changes in the server
What HP-UX version are you using?
>>>B.11.23
You may be able to use MallocNextGen
>>>mallocnextgen cannot be used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:12 AM
тАО07-15-2009 02:12 AM
Re: Memory leak issue
It would be helpful if you could explain why?
Also, you could install it as an experiment to see if it even solves your problem. This may explain what kind of fragmentation you don't have.