- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- shared memory / ipcs
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
Discussions
Discussions
Forums
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
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
тАО11-07-2007 02:10 AM
тАО11-07-2007 02:10 AM
shared memory / ipcs
If you notice below (just looking at the shared memory segments without a key) the largest segment has a NATTACH # of 6129. Is this symptomatic of bad shared memory usage by the applications, or simply a different method than what I'd see with HP-UX? There's <200 processes running at the moment.
(underlines mine to keep spacing)
key_______shmid______owner_____perms____bytes___nattch__status
0x00000000_147816448__sapadm____701__131072______2
0x00000000_143163393___sapadm____701__131072______2
0x00000000_163844______dr1fenc1____701__23052288____50
0x00000000_294919______sapadm____777__1024________1
0x00000000_10747921____sapadm____777__12582912000_6129__dest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2007 05:06 AM
тАО11-07-2007 05:06 AM
Re: shared memory / ipcs
# ipcrm shm 10747921
You can also get more info on the segment by running:
# ipcs -m -i 10747921
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2007 05:14 AM
тАО11-07-2007 05:14 AM
Re: shared memory / ipcs
# ipcs -m -i 10747921
look at the cpid. That should be the process that created the segment. You could then grep ps for that pid to see if it is still running or you could
# kill -0 pid
If it states that there is no such process, you could ipcrm the shm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2007 05:29 AM
тАО11-07-2007 05:29 AM
Re: shared memory / ipcs
Thanks for the reply. The kicker is that that the PID does exist...it is basically the root SAP process that all the other work processes in SAP spawn from (its the parent of 40 more processes). It is active and this symptom is exhibited by other SAP on Linux systems we have.
I suspect it is the type of Linux we're using (ZLinux/Suse on a mainframe!). Yes, IBM product but I'm mostly an HP guy so thought I'd post here.
Shared memory Segment shmid=10747921
uid=27902 gid=1001 cuid=27902 cgid=1001
mode=01777 access_perms=0777
bytes=12582912000 lpid=7190 cpid=2835 nattch=10346
att_time=Wed Nov 7 11:26:36 2007
det_time=Wed Nov 7 11:25:41 2007
change_time=Sun Nov 4 13:07:00 2007
Wed Nov 7 11:26:39 MST 2007
I wouldn't care but I'm working an issue that may or may not be shm related. Probably will just let the IBM/SAP people review.
Thanks - G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2007 08:19 AM
тАО11-07-2007 08:19 AM