From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3a6754711ac14f3e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-26 09:15:12 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!news.kei.com!world!decwrl!netcomsv!netcom.com!potter From: potter@netcom.com (David Potter) Subject: Re: Q: "orphaned" shared memory segments Message-ID: Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: Date: Tue, 26 Jul 1994 15:57:43 GMT X-Original-Newsgroups: comp.unix.osf.osf1 In article , Peyton Bland wrote: >We are running OSF/1 V1.3a on a DEC Alpha 3000 Model 500. Our main >application (avs) uses shared memory extensively. Over time, we run out of >shared memory segments. The "ipcs -mo" command shows "orphaned" segments; >ie, segments that have no process attached to them. There are other >segments that show that they are attached to processes but were created by >users that are no longer logged on. I assume these result if the >application terminates abnormally. > >These can be cleaned up manually using the "ipcrm -m " command. >Anybody else seen this? Is this a problem with OSF or with the >application? It's easy to write a short script that uses awk to do some of >this cleanup, but shouldn't this be handled a little better than this? > >Thanks, Peyton > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Peyton Bland Digital Image Processing Lab >Dept. of Radiology University of Michigan >----------------------------------------------------------- >"We all have better moments than anybody ever knows, and so >do all the others.... We are a great mystery. Each one of >us is a secret, and on that basis we ought to treat each >other with the deepest respect." > -- Garrison Keillor >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=- This is quite normal for shared memory. Even programs that end normally leave their shared memory around, unless they explicitly remove it. I have a problem that the shared memory detach and remove fail sometimes. I do not know why (This occurs on an SCO Unix system.) -- David Potter, Open System Performance, Inc., (916)987-7531 potter@osperf.com