- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory leackage
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
04-29-2002 03:15 AM
04-29-2002 03:15 AM
ipcrm with idno can remove memory leak but how we know which memory causing problem
when I was trying to recover file system using frecover but it does not work then i did ipcrm oracle id i found with ipcm command then it work but i was not sure about the id, but can we know there any leakage.
Regards
CSD
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:24 AM
04-29-2002 03:24 AM
Re: memory leackage
You can see memory used with ps
/bin/rm /tmp/$PPID 2>/dev/null
UNIX95= ps -e -o ruser,vsz,pid,args > /tmp/$PPID
head -n 1 /tmp/$PPID
tail -n +2 /tmp/$PPID|
sort -rnk2
/bin/rm /tmp/$PPID 2>/dev/null
Will give processes by memory usage.
If one process grows it is leaking.
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:34 AM
04-29-2002 03:34 AM
Re: memory leackage
Thanks for your response I got like this from this how I know oracle process have leackage
Regards
CSD
applcrp1 30212 27866 oracleCRP1 (LOCAL=NO)
applcrp1 30212 27858 oracleCRP1 (LOCAL=NO)
applcrp1 30212 27850 oracleCRP1 (LOCAL=NO)
applcrp1 30212 27834 oracleCRP1 (LOCAL=NO)
applcrp1 30212 27810 oracleCRP1 (LOCAL=NO)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:35 AM
04-29-2002 03:35 AM
Re: memory leackage
Processes cause memory leaks, not physical memory itself. Along with Steve's suggestion, use glance to "drill" into potential offenders.
Also, make sure you have the latest Patches for your OS and your applications.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 04:11 AM
04-29-2002 04:11 AM
Solutioncheck the size of your processes
You can get the top virtual memory usage processes like this:
UNIX95= ps -e -o ruser,sz,vsz,pid,args | sort -rnk3 | head -3
If they stay constant you dont have a memory leak in user space.
There might still be a meory leak in the kernel.
check this with kmeminfo. If you dont't have kmeminfo download PHCO_20262. This contains kmeminfo.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 04:12 AM
04-29-2002 04:12 AM
Re: memory leackage
This problem is associated with 32bit applications and can only be fixed by stopping all the processes using shared memory and then restarting them in a specific order. You'll need to read the white papers on memory management and process management which are found in /usr/share/doc. Also get a copy of shminfo so you can see the fragmentation:
ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/
Bill Hassell, sysadmin