From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 03:14:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B3516A4F7 for ; Tue, 28 Oct 2003 03:14:01 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E0943FDD for ; Tue, 28 Oct 2003 03:14:00 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 28 Oct 2003 10:45:06 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1AERIL-0001AS-00; Tue, 28 Oct 2003 10:41:49 +0000 Date: Tue, 28 Oct 2003 10:41:49 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Wayne Pascoe In-Reply-To: <20031028083134.GB64947@marvin.penguinpowered.org> Message-ID: References: <20031027124247.GD61438@marvin.penguinpowered.org> <444qxu9yub.fsf@be-well.ilk.org> <20031028083134.GB64947@marvin.penguinpowered.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-questions@freebsd.org Subject: Re: PostgreSQL on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 11:14:01 -0000 On Tue, 28 Oct 2003, Wayne Pascoe wrote: > On Mon, Oct 27, 2003 at 04:04:28PM -0500, Lowell Gilbert wrote: > > > Why does setting them in > > > /etc/sysctl.conf or /etc/loader.conf not work ? > > > > You're doing something wrong. That's all I can say when the > > description of the failure is just "not work". > > Allow me to expand on that then... I put the options in /etc/sysctl.conf > as follows: > kern.ipc.somaxconn=512 > kern.ipc.shmmax=268435456 > kern.ipc.shmall=65536 > kern.ipc.shmmni=128 > kern.ipc.semmns=256 > > When I reboot, sysctl -a | grep kern.ipc.semmns returns > kern.ipc.semmns: 60 I believe -current now has code to pull values for these out of the kernel environment; that's missing in -stable (IIRC; not checked, but I have a vague recollection of trying to figure out how the hell the values were supposed to get into the sysctl value until I looked at the -current tree). -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ "I like oranges more than apples!?" - that's like comparing apples and oranges!