From owner-freebsd-current Wed Mar 1 7:28:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id EE0E837C334 for ; Wed, 1 Mar 2000 07:28:13 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id HAA23450; Wed, 1 Mar 2000 07:58:34 -0800 (PST) Date: Wed, 1 Mar 2000 07:58:34 -0800 From: Alfred Perlstein To: Cliff Rowley Cc: Christopher Masto , freebsd-current@FreeBSD.ORG Subject: Re: Shared memory - Was: 2 Queries Message-ID: <20000301075833.R21720@fw.wintelcom.net> References: <20000229134143.B4903@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dozprompt@onsea.com on Tue, Feb 29, 2000 at 08:08:45PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Cliff Rowley [000301 03:54] wrote: > > In any case, one major offender is imlib. Since I've recently gone > > Gnome, I've had to turn off imlib's "MIT-SHM shared memory" option > > or things would go bad after a few minutes or hours of use. > > That explains the errors when running xchat, but that doesnt explain > Netscape ;) Yes it does. Since all your programs run as _you_ then it's entriely possible that imlib went apesh*t and did something nasty to the wrong shared segment. > The annoying thing about this is that if a program decides to die because > of this error, it seems I've got a 50/50 chance that it's taken out for > good. I have to reboot to reclaim memory >:( no you don't, see below... > It'd be nice if we had a utility that could clean out and reclaim the > shared memory in 1 swoop. Then we'd be able to shut down XFree86 (and > obviously any other apps using shared memory), and get on with life :) > > (anyone listening?) er, yes this is entirely possible. If you want to clear SHM then use 'ipcs' to list and 'ipcrm' to delete. I used to have a shell script to do this, but i don't know where it went. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message