SUMMARY: Sys_check, semaphores and shared memory

From: lawries@btinternet.com
Date: Fri Dec 20 2002 - 08:43:02 EST


Many thanks to Mark Deiss for the following:

ipcs -mo (or for more complete listing, use -mqsob)

when you scan down the column for NATTCH, you will see segments with no
processes attached (count is 0). You can delete this shared segment via:

ipcrm -m $ID

Sizes of 2048 are not unusual to see hung - they are usually indicative of a
miss-behaving application. You typically do not need to worry about them
especially if they are owned by root account. Where it gets to be a key item
is for shared memory segments that involve Oracle databases - they can be
large as they are based on the database's SGA. There are instances where you
cannot restart a downed database until you manually go in and release the
shared segments. These segments typically stand out as they can be quite
huge.

Same comment also applies to other third party applications such as
Peoplesoft or Unikix etc. A non-root administrator may be unable to restart
an application process suite as things are still locked in shared memory.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:02 EDT