The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shared memory in shared library DreamWarrior High Level Programming 12 05-30-2007 04:33 PM
memory sharing - not shared memory - elzalem High Level Programming 9 05-02-2007 07:45 AM
Shared Memory segments catwomen HP-UX 2 02-28-2006 10:07 AM
Shared memory shortage but lots of unused memory cjcamaro UNIX for Advanced & Expert Users 1 10-13-2004 05:10 PM
Shared Memory Jayathirtha UNIX for Advanced & Expert Users 3 03-03-2003 12:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-17-2008
scotbuff scotbuff is offline
Registered User
  
 

Join Date: Jun 2005
Location: Middletown, PA
Posts: 73
HP-UX Trying to Understand Shared Memory Segments

I am fairly new to HP-UX and trying to get a better understanding of the operating system. While poking around a bit I find myself questioning whether I should be concerned about Shared Memory segments with missing CPID and LPID? For example:

ipcs -mp
IPC status from /dev/kmem as of Mon Mar 17 12:36:43 2008
T ID KEY MODE OWNER GROUP CPID LPID
Shared Memory:
m 0 0x411c0846 --rw-rw-rw- root root 720 720
m 1 0x4e0c0002 --rw-rw-rw- root root 720 720
m 2 0x4120127e --rw-rw-rw- root root 720 732
m 48643 0x5e10000b --rw------- root root 2495 2495

The 720 PID is not found any longer. Is this necessarily a problem? The main reason I ask is that we have another server, much busier than this machine and while trying to identify how much shared memory is being used by various processes I have encountered other segments with missing CPID and LPID. Thanks in advance.
  #2 (permalink)  
Old 03-17-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Not necessarily a problem, but probably a problem. A shared memory segment will not go away until explicitly removed. Most likely the process died without cleaning up. This is often caused by newbie sysadmins who jump into "kill -9". "ipcs -mb" will tell you how much memory is being consumed. "ipcrm" can get rid of it.
  #3 (permalink)  
Old 03-17-2008
scotbuff scotbuff is offline
Registered User
  
 

Join Date: Jun 2005
Location: Middletown, PA
Posts: 73
Thank you Sir

We have a few "kill -9" sysadmins. This is something I will continue keeping my eye on. Thanks for the info.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0