- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ipcs -m in rx8640 11.23 server
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
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
08-29-2007 07:33 PM
08-29-2007 07:33 PM
ipcs -m in rx8640 11.23 server
I have a clustered server (separate servers) running in 11.23 as OS SFRAC 4.1 oracle10g. My database administrators and developers just reported me the high memory utilization 80% on node1 and 75% on node2. After they have killed applications and shutted down oracle, node2 memory utilization dropped to 20%. But in node1, it still as high as 67%. I have run kmeminfo and the output in both nodes are almost the same. But the ipcs -m command shows that the shared memory segments that root has been eating up in node1 is high than that of node2. Please see the outputs below:
NODE1:
# cat ipcs.txt
IPC status from /dev/kmem as of Thu Aug 30 14:24:06 2007
T ID KEY MODE OWNER GROUP
Shared Memory:
m 0 0x411c07db --rw-rw-rw- root root
m 1 0x4e0c0002 --rw-rw-rw- root root
m 2 0x41208954 --rw-rw-rw- root root
m 3 0x00a5c581 --rw------- sfmdb users
m 65540 0x06347849 --rw-rw-rw- root root
m 131077 0x0c6629c9 --rw-r----- root root
m 7 0x49180468 --rw-r--r-- root root
m 4718603 0x4d4e5251 --rw-r--r-- root sys
m 458764 0x55315352 --rw-rw-rw- root sys
m 458765 0x44525354 --rw-r--r-- root sys
m 458766 0x53494152 --rw-r--r-- root sys
m 262159 0x00005643 --rw-rw-rw- root sys
m 262160 0x00005654 --rw-rw-rw- root sys
m 65553 0x0000cace --rw-rw-rw- root sys
NODE2:
$ cat ipcs.txt
IPC status from /dev/kmem as of Thu Aug 30 14:24:34 2007
T ID KEY MODE OWNER GROUP
Shared Memory:
m 0 0x411c07db --rw-rw-rw- root root
m 1 0x4e0c0002 --rw-rw-rw- root root
m 2 0x412089cc --rw-rw-rw- root root
m 3 0x00a5c581 --rw------- sfmdb users
m 196612 0x0c6629c9 --rw-r----- root root
m 5 0x06347849 --rw-rw-rw- root root
m 32774 0x49180468 --rw-r--r-- root root
m 458763 0x4d4e5251 --rw-r--r-- root sys
m 360460 0x55315352 --rw-rw-rw- root sys
m 360461 0x44525354 --rw-r--r-- root sys
m 360462 0x53494152 --rw-r--r-- root sys
m 196623 0x00005643 --rw-rw-rw- root sys
m 196624 0x00005654 --rw-rw-rw- root sys
m 98321 0x0000cace --rw-rw-rw- root sys
For your expertise, can you please help me how to explain these? Is there a possibilities that i can point what particular process consume share memory segments?
Since I don't know what to kill, I just decided to reboot the systems since we are still in POC. Memory utilization is now normal.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 08:18 PM
08-29-2007 08:18 PM
Re: ipcs -m in rx8640 11.23 server
If you ever encounter the same issue, run ipcs -ma. The "a"-option will show more details about memory segment sizes and connected processes.
Further, there is a tool called "kmeminfo". It's not standard on your system, but you can get it through HP support (or maybe a download on the internet somewhere). With this tool, you can better see where the exessive memory usage is going to (buffer cache, private segments, kernel memory, shared segments, ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 08:28 PM
08-29-2007 08:28 PM
Re: ipcs -m in rx8640 11.23 server
--------------------------------------------------------------------------------
Since all shared memory segments are owned by root, it's hard to tell what to do. Certainly because both servers show the same. That makes me think you don't have a shared-memory issue, but something els.
If you ever encounter the same issue, run ipcs -ma. The "a"-option will show more details about memory segment sizes and connected processes.
Further, there is a tool called "kmeminfo". It's not standard on your system, but you can get it through HP support (or maybe a download on the internet somewhere). With this tool, you can better see where the exessive memory usage is going to (buffer cache, private segments, kernel memory, shared segments, ...)
Thanks for the answer Wim.
Actually, as stated in my mail, I used kmeminfo and the output on both nodes is just the same in terms of memory, rss utilization. Both servers dont show the same.
Please see the ipcs output of node1 and this is what i suspected.
m 4718603 0x4d4e5251 --rw-r--r-- root sys
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 08:36 PM
08-29-2007 08:36 PM
Re: ipcs -m in rx8640 11.23 server
And while you are at it, provide "swapinfo -tam".
You say the kmeminfo output is almost the same, what percent of the output is the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 08:41 PM
08-29-2007 08:41 PM
Re: ipcs -m in rx8640 11.23 server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 09:09 PM
08-29-2007 09:09 PM
Re: ipcs -m in rx8640 11.23 server
Your total physical size is close.
But would about kernel tunables for the disk cache? dbc_max_pct(5) dbc_min_pct(5)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 09:10 PM
08-29-2007 09:10 PM
Re: ipcs -m in rx8640 11.23 server
Please note that in the row you suspect:
m 4718603 0x4d4e5251 --rw-r--r-- root sys
The value 4718603 is NOT a size, it's a shared memory ID.
As already noted, you need to run ipcs -ma to see the size of these areas.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 10:00 PM
08-29-2007 10:00 PM
Re: ipcs -m in rx8640 11.23 server
Nextime i encountered the problem, i will issue the ipcs -ma.
Thanks!