From owner-freebsd-questions Thu Sep 14 21:32:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 1F8AB37B424 for ; Thu, 14 Sep 2000 21:32:46 -0700 (PDT) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id IAA07426 for ; Fri, 15 Sep 2000 08:49:46 +0400 (MSD) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.0/8.10.0) id e8F4WVr05736 for freebsd-questions@freebsd.org; Fri, 15 Sep 2000 08:32:31 +0400 Date: Fri, 15 Sep 2000 08:32:31 +0400 From: Igor Roboul To: FreeBSD questions Subject: Re: safe way to increase shm pages Message-ID: <20000915083231.D5384@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: FreeBSD questions References: <20000914212139.A80135@seanrees.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <20000914212139.A80135@seanrees.com>; from sean@seanrees.com on Thu, Sep 14, 2000 at 09:21:39PM -0700 X-Operating-System: Linux linux.rainbow 2.2.14-plus-SMP X-Best-Window-Manager: Window Maker (www.windowmaker.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 14, 2000 at 09:21:39PM -0700, Sean-Paul Rees wrote: > I need more SHM pages, lots more. Last time I increased them (options > SHMMAX in kern conf), I got a lot of odd behavior, especially with GNOME. > (borders would fail to appear, etc.) > > I'm running 5.0-C pre-SMPng. sysctl -a | grep shm you'll get list of SHM related sysctl settable vaules. SHMMAX in kernel conf is obsolete (AFAIK): %sysctl -a | grep shm kern.ipc.shmmax: 40960000 kern.ipc.shmmin: 1 kern.ipc.shmmni: 100 kern.ipc.shmseg: 10 kern.ipc.shmall: 10000 kern.ipc.shm_use_phys: 0 %uname -a FreeBSD demon.rainbow 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Sep 10 19:56:47 MSD 2000 root@demon.rainbow:/usr/obj/usr/src/sys/DEMON i386 % -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message