Subject: Re: SysV SHM never removed
To: NetBSD current-users mailing list <current-users@netbsd.org>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: current-users
Date: 02/12/2000 17:06:02
Thilo Manske wrote:
> You can try ipcs(1) & ipcrm(1) to manually remove shared memory segments,

Bill Sommerfeld wrote:
> Not a bug in the implementation -- it's a "feature" of the the
> API... :-) SysV shared memory segments outlast the programs which
> create them.
> 
> This sounds like an application bug -- it should probably be storing
> the ID of the shared memory segment in a file in /var/games or some
> such and recycling it from run to run if it already exists..

Thanks for the information.  ipcs(1) & ipcrm(1) work.  I'll either make
the package not define SHM or make the code clean up.

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/