From owner-freebsd-hackers Mon Apr 8 23:20:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from imr1.aus.deuba.com (bagheera.aus.deuba.com [203.0.62.7]) by hub.freebsd.org (Postfix) with ESMTP id 9203037B41B for ; Mon, 8 Apr 2002 23:20:43 -0700 (PDT) Received: from imr1.aus.deuba.com by imr1.aus.deuba.com id g396KeFm020864; Tue, 9 Apr 2002 16:20:41 +1000 (EST) Received: from merton.aus.deuba.com by imr1.aus.deuba.com id g396KdU8020855; Tue, 9 Apr 2002 16:20:39 +1000 (EST) Received: (qmail 17056 invoked by uid 107); 9 Apr 2002 06:20:39 -0000 Message-ID: <20020409062039.17055.qmail@merton.aus.deuba.com> From: callum.gibson@db.com Subject: Re: ipcrm/shmctl failure To: tlambert2@mindspring.com Date: Tue, 9 Apr 2002 16:20:39 +1000 (EST) Cc: hackers@freebsd.org In-Reply-To: <3CB276CB.89703872@mindspring.com> from "tlambert2@mindspring.com" at Apr 08, 2002 10:06:19 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I replied privately to Terry, but I perhaps should have mentioned also that some of these segments were days old and they were definitely not in use by any process. I logout at the end of every day. tlambert2@mindspring.com writes: }All you are doing is marking the segment as removed. The segment }remains attached by the processes which have it open, and those }references don't go awaya until the processes in question detach }the segments, and the reference count goes to zero. } }In other words, shared memory segments are like files; you can't }delete them out from under programs that still hold references }to them. [ snip ] Callum Gibson callum.gibson@db.com Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620 ### The opinions in this message are mine and not Deutsche's ### To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message