- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory leakes from oracle client libraries on hpux...
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
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
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-31-2006 07:36 AM
03-31-2006 07:36 AM
We suspect that there are memory leakage from some oracle 9.2.x.x client libraries runnning on hpux 11i vi.
Can someone suggest some commands of hpux or tools to identify which libraries are producing the memory leaks ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 08:44 AM
03-31-2006 08:44 AM
Re: memory leakes from oracle client libraries on hpux 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 02:21 PM
03-31-2006 02:21 PM
SolutionUNIX95=1 ps -e -o vsz,pid,ppid,args | sort -rn | head -20
Just run this on a regular basis to monitor the largest processes. Now memory usage in Unix is complex and the processes may not be growing but shared memory may be growing. ipcs -bmop will monitor this, but it will be difficult to find which process is growing the segment. And be sure your buffer cache is reasonable (no more than 800 to 1500 megs).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 04:54 PM
03-31-2006 04:54 PM
Re: memory leakes from oracle client libraries on hpux 11i
in Unix is complex and the processes may not be growing but shared memory may be growing"
Apreciate help from any Unix Guru of the forum.
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 05:06 PM
03-31-2006 05:06 PM
Re: memory leakes from oracle client libraries on hpux 11i
There is shminfo toll that may help you. Also if you monitor shared memory usage with ipcs -m, and you see over a period of time the usage is going up, you need to start at looking which user is using it and associate it with pid and troubleshoot it further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 05:51 PM
03-31-2006 05:51 PM
Re: memory leakes from oracle client libraries on hpux 11i
Finding out memory leak is not an easy task, sometimes you may be fooled around by memory. If you are good in debugging, you can find out memory leak with GDB. Otherwise, better log a call with Oracle Support, they might help you.
BTW, Have you checked the latest patches available for Oracle as well as HP-UX ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 02:47 AM
04-01-2006 02:47 AM
Re: memory leakes from oracle client libraries on hpux 11i
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 05:22 AM
04-01-2006 05:22 AM
Re: memory leakes from oracle client libraries on hpux 11i
I find memory leaks by watching a process either with glance or a UNIX95 ps command.
It the amount of memory for a process continues to grow over time, its a suspect.
These problems are sometimes solved with Operating System patches, but more often with patches to the application.
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
04-01-2006 03:30 PM
04-01-2006 03:30 PM
Re: memory leakes from oracle client libraries on hpux 11i
A very white good paper,
http://docs.hp.com/en/1218/mem_mgt.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 06:58 AM
04-02-2006 06:58 AM
Re: memory leakes from oracle client libraries on hpux 11i
Regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 12:08 PM
04-02-2006 12:08 PM
Re: memory leakes from oracle client libraries on hpux 11i
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 01:56 PM
04-02-2006 01:56 PM
Re: memory leakes from oracle client libraries on hpux 11i
As Bill said, you have to have source code handy with you before start using any 3rd party tools. Anyways, here are some tools available to detect memory leaks
Rational Purify ($$$)
http://www.ibm.com/software/awdtools/purifyplus/
Insure++ ($$$)
Valgrind
http://developer.kde.org/~sewardj
MEMWATCH
http://www.linkdata.se/sourcecode.html
A very good reading
http://en.wikipedia.org/wiki/Memory_leak
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 05:13 PM
04-02-2006 05:13 PM
Re: memory leakes from oracle client libraries on hpux 11i
I have heard of Rational Purify and some other tools for detecting memory leakage. What surpriese me is that most of the enterprise are using tools for testing applicaton packages which doesn't detect memory leakage and exceptions in the coding.
I have seen mostly people use mercury test tools and other similar tools just to check some other fuctionalities.
It surprises me for few thousands dollars cost of Rational Purify tools, enterprises are taking risk of not testing their applications for memory leakage and extensive excetpion handling.
Seems like developers are not aware of these tools.
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 05:18 PM
04-02-2006 05:18 PM
Re: memory leakes from oracle client libraries on hpux 11i
Most of the Enterprise applications will go through an extensive Performance and Reliability testing. P&R team is responsible for detecting memory leak errors. In Linux, Valgrind is the best way of detecing memory leaks.
I feel, you should rasie a ticket with Oracle support to dig in further.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 06:50 AM
05-18-2006 06:50 AM
Re: memory leakes from oracle client libraries on hpux 11i
Thanks,
Shiv