Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: afj@DrMemory.nuc.ucla.edu (Andy Jacobson)
Subject: Re: Q: "orphaned" shared memory segments
Date: 26 Jul 1994 00:45:03 GMT	[thread overview]
Message-ID: <311maf$398@news.mic.ucla.edu> (raw)
In-Reply-To: peyton.bland-250794142117@86.12.med.umich.edu

In article <peyton.bland-250794142117@86.12.med.umich.edu> peyton.bland@med.umich.edu (Peyton Bland) writes:
>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 <nnn>" 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 is an AVS thing. I use AVS on both Sun and Alpha AXP and they both
have this problem. I have confered with AVS about it, and they explain that
this is what happens anytime you exit AVS not through the main menu.
I suppose that AVS has a destruct function that cleans these all out, otherwise
there is nothing to delete them when AVS processes die. 
It would be nice if there were a utility (aside from reboot) that would clean
out shmsegs that are not attached, but, not knowing of any, I use ipcrm -m
for all the segs. (Quite a bother). One thing that I wonder about is why
is /usr/bin/X11/X creating these shmsegs too? These appear to just pile up
and are perhaps just fragmenting the available memory? On SunOS, there does
not appear to be anything systemwise that creates these, why so on the DEC?
-- 
Andy Jacobson   <afj@DrMemory.nuc.ucla.edu>  <afj@chem.ucla.edu>


  reply	other threads:[~1994-07-26  0:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-25 18:30 Q: "orphaned" shared memory segments Peyton Bland
1994-07-26  0:45 ` Andy Jacobson [this message]
1994-07-26 14:33   ` Peyton Bland
1994-07-26 15:57 ` David Potter
1994-07-26 16:43   ` Steve Peltz
1994-07-26 22:02     ` Peter da Silva
1994-07-28  0:39       ` Steve Peltz
1994-07-28 14:42         ` Peter da Silva
1994-07-28 20:06           ` Steve Peltz
1994-07-29 15:24             ` Peter da Silva
1994-07-29  8:58           ` Burkhard Neidecker-Lutz
1994-07-29 15:26             ` Peter da Silva
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox