- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IPC And memory leak
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
09-08-2007 10:17 PM
09-08-2007 10:17 PM
Regards
Safar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2007 11:19 PM
09-08-2007 11:19 PM
Solutionhttp://hpuxconsulting.com/mem.mon
Works on Linux HP-UX and Solaris.
This script is beta and I'm improving it regularly, so bookmark the site.
Detects leaky processes.
also:
ipcs
ipcrm
The latter command lets you clear shared memory blocks if they are not in use. If you hit something that is active, its possible to disable Oracle.
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
09-09-2007 12:28 AM
09-09-2007 12:28 AM
Re: IPC And memory leak
Thanks for your support
I got the following output how I know there is a leakage in the memory
sh memtest
utility is running....
Building command line HP-UX
memtest[123]: test: Specify a parameter with this command.
memtest[130]: test: Specify a parameter with this command.
Using custom log:
Sun Sep 9 15:31:55 WAT 2007
PROC# -Vmem- Resident Memory --------- command ---------
18039 30830 208628 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
18037 30801 202676 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
18042 29250 204468 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
18038 28669 223668 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
14297 28561 204212 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
18041 28182 192948 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
14298 27572 198708 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
3255 27043 205620 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
14299 24676 185780 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
27707 21075 192388 dw.sapSBX_DVEBMGS02 pf=/usr/sap/SBX/SYS/profile/SBX_DVEBMGSr
14300 19541 166964 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
14301 18486 171956 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
18107 17310 159796 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
9347 17064 157316 dw.sapSBX_DVEBMGS02 pf=/usr/sap/SBX/SYS/profile/SBX_DVEBMGSr
3311 16799 158836 dw.sapSBW_DVEBMGS04 pf=/usr/sap/SBW/SYS/profile/SBW_DVEBMGSr
4096 16315 153076 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
18043 15841 157364 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
5097 15643 151796 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
1678 15606 155252 dw.sapSBR_DVEBMGS00 pf=/usr/sap/SBR/SYS/profile/SBR_DVEBMGSr
9346 15307 159876 dw.sapSBX_DVEBMGS02 pf=/usr/sap/SBX/SYS/profile/SBX_DVEBMGSr
--------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2007 03:49 AM
09-09-2007 03:49 AM
Re: IPC And memory leak
safarali,
You can use kmeminfo tool from HP to collect the memory info for a start. Please log case to HP support to obtain the tool
Also you also can use perfview to view your measureware data to look at your memory utilization.
Usually memory leak can be fixed by patches.
What HPUX version you are running?
WK
please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2007 06:25 AM
09-09-2007 06:25 AM
Re: IPC And memory leak
UNIX95=1 ps -e -o vsz,ruser,pid,args | sort -rn | head -20
The first column shows local memory in Kbytes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 11:23 PM
05-13-2008 11:23 PM