- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shared Memory 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
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
02-22-2005 01:09 AM
02-22-2005 01:09 AM
Shared Memory Issue?
I used ipcs to take a look at shared memory and it shows the following. I tried to look at the CPID and LPID but there is no such process. Is it possible that some prevous process left a bunch of memory in use that should not be? How do I trouble shoot this? In the past I have run out of memory and can't find out what's using it all as Glance does not report what process is using all the memory up.
root# ipcs -ma | sort -rnk10 | more
m 404 0x0c6629c9 --rw-r----- root root root root 2 19057872 2021 17160 8:09:
21 8:20:49 14:16:01
m 3 0x301c567c --rw-rw-rw- root root root root 3 1048576 1111 1140 14:16:3
0 no-entry 14:15:38
m 5 0x06347849 --rw-rw-rw- root root root root 1 77384 2021 2099 14:16:04
14:16:01 14:16:01
m 1 0x4e0c0002 --rw-rw-rw- root root root root 1 61760 526 526 14:15:08
14:15:12 14:15:05
m 6 0xffffffff --rw-r--rw- root root root root 0 22908 2018 2018 14:16:03
14:16:03 14:16:03
m 2 0x41204c2a --rw-rw-rw- root root root root 1 8192 526 538 14:15:08
14:15:05 14:15:05
m 0 0x411c28ee --rw-rw-rw- root root root root 0 348 526 526 14:15:12
14:15:12 14:15:05
IPC status from /dev/kmem as of Tue Feb 22 09:00:59 2005
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME
DTIME CTIME
Shared Memory:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 01:46 AM
02-22-2005 01:46 AM
Re: Shared Memory Issue?
vmstat and swapinfo is also can be used
EX :vmstat -S 5 5 and swapinfo -tam
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 01:49 AM
02-22-2005 01:49 AM
Re: Shared Memory Issue?
Perhaps you could provide the output from 'kmtune' and 'kmsystem'. Some kernel parms and loaded modules can increase the size of your system memory.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 01:49 AM
02-22-2005 01:49 AM
Re: Shared Memory Issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 01:53 AM
02-22-2005 01:53 AM
Re: Shared Memory Issue?
Look at NATTACH column if it is not 0 that means shared memory segment is still attached to no of processes in NATTACH column. If it is 0 that means shared memory segment is not in use and is not released by processes. Also please check your dbc_max_pct value which by default is 50% of your total memory. With 5GB of memory you should set it to 8%.
Rajeev