From owner-freebsd-stable Mon Apr 23 6:50:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from amant.pdl.cs.cmu.edu (AMANT.PDL.CS.CMU.EDU [128.2.189.84]) by hub.freebsd.org (Postfix) with ESMTP id 05CC537B423 for ; Mon, 23 Apr 2001 06:50:20 -0700 (PDT) (envelope-from dpetrou@amant.pdl.cs.cmu.edu) Received: (from dpetrou@localhost) by amant.pdl.cs.cmu.edu (8.11.1/8.11.1) id f3NDmeD49773; Mon, 23 Apr 2001 09:48:40 -0400 (EDT) (envelope-from dpetrou) Date: Mon, 23 Apr 2001 09:48:40 -0400 From: David Petrou To: Andrew Hesford Cc: David Petrou , freebsd-stable@freebsd.org Subject: Re: shared mem default limits Message-ID: <20010423094840.B48878@amant.pdl.cs.cmu.edu> Reply-To: dpetrou@cs.cmu.edu References: <20010423022135.A48878@amant.pdl.cs.cmu.edu> <20010423014551.A94798@cec.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010423014551.A94798@cec.wustl.edu>; from ajh3@chmod.ath.cx on Mon, Apr 23, 2001 at 01:45:51AM -0500 X-Hit-Pick: Lucio Battisti / Il Meglio Di Lucio Battisti Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > After throwing in: > > > > options SHMMAXPGS=8192 > > options SHMMNI=4096 > > options SHMSEG=1024 > > > > my problems went away. (Problems would manifest themselves as windows > > disappearing when starting new apps, etc.) > > Is that the solution? Works for me. I'll know for sure after a few more days of intensive X usage. > I've been having a similar problem. In an attempt > to solve the problem, I tried deleting shared memory segments, and I got > this error with certain values: > > % ipcrm -m 65543 > ipcrm: shmid(65543): : Invalid argument > > I know the segment exists, I can see it in ipcs. Also, I own it. How can > I forcefully delete those segments which just don't die? I'm not sure I understand your attempted fix. Are you saying that user apps are buggily holding onto segments too long? Or the kernel isn't freeing them properly after the user is done with them?? At any rate, I don't know why you can't kill them. > Andrew Hesford > ajh3@chmod.ath.cx david To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message