From owner-freebsd-current Fri Jun 23 10:55:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (Postfix) with ESMTP id 0EA5437B551; Fri, 23 Jun 2000 10:55:39 -0700 (PDT) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id NAA14681; Fri, 23 Jun 2000 13:55:29 -0400 (EDT) Message-ID: <20000623135528.A13894@netmonger.net> Date: Fri, 23 Jun 2000 13:55:28 -0400 From: Christopher Masto To: Maxim Sobolev Cc: gnome-list@gnome.org, current@FreeBSD.org Subject: Re: Gnome INSANE shared memory usage References: <20000623131006.A10060@netmonger.net> <39539CB7.FCB177A0@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <39539CB7.FCB177A0@FreeBSD.org>; from Maxim Sobolev on Fri, Jun 23, 2000 at 08:22:00PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 23, 2000 at 08:22:00PM +0300, Maxim Sobolev wrote: > > Hmm, where my crystal ball... Aha, I see - probably you are using > Xfree 4.0, while your friend Xfree3.5*. It is where the problem lie > (see below). That is correct. > "It has noting to do with kernel/gnome. XFree 4.0 is known to be > very hungry for the shared memory, so you should increase SHMSEG > parameter in your kernel config file. There are no guidelines as to > what exact number will be sufficient, so you should define it in > experimental way. I personally set it to 100 (options SHMSEG=100) > and do not see any warnings anymore." Unfortunately, these are my current settings: options SHMALL=1025 options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=1025 options SHMMIN=2 options SHMMNI=256 options SHMSEG=128 I can increase it more, but I think this is quite a ridiculous amount of shared memory to be using. Something must be wrong. I am now searching for a way to disable the MIT-SHM extension in the X server, but I think I may have to recompile. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message