From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lawries@btinternet.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Sys_check, semaphores and shared memory Date: Fri, 20 Dec 2002 13:43:02 +0000 (GMT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <747845.1040391782299.JavaMail.root@127.0.0.1> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040391780 24089 80.91.224.249 (20 Dec 2002 13:43:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2002 13:43:00 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18PNQY-0006GP-00 for ; Fri, 20 Dec 2002 14:42:58 +0100 Original-Received: (qmail 15659 invoked by uid 5); 20 Dec 2002 13:43:15 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15650 invoked by uid 49493); 20 Dec 2002 13:43:15 -0000 Original-Received: from lawries@btinternet.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.4/5.0):. Processed in 0.360303 secs); 20 Dec 2002 13:43:15 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 20 Dec 2002 13:43:14 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7F005VR7FWJE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 20 Dec 2002 08:43:14 -0500 (EST) Original-Received: from actinium.btinternet.com (actinium.btinternet.com [194.73.73.66]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTPS id <0H7F00AI37FRIA@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 20 Dec 2002 08:43:05 -0500 (EST) Original-Received: from germanium ([194.75.226.53]) by actinium.btinternet.com with esmtp (Exim 3.22 #8) id 18PNQc-0005Ou-00 for tru64-unix-managers@ornl.gov; Fri, 20 Dec 2002 13:43:02 +0000 Original-Received: from 194.129.126.228 by germanium ([194.75.226.53]); Fri, 20 Dec 2002 13:43:02 +0000 (GMT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: talk21.com WAS v2 Xref: main.gmane.org gmane.os.tru64.managers:2790 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2790 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.