From owner-freebsd-current@FreeBSD.ORG Thu May 1 08:50:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 661DB37B408 for ; Thu, 1 May 2003 08:50:00 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7665143F75 for ; Thu, 1 May 2003 08:49:59 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h41Fnk0n005810; Thu, 1 May 2003 11:49:47 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EB1421A.4050908@potentialtech.com> Date: Thu, 01 May 2003 11:49:46 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Evans References: <3EB054B1.6040406@potentialtech.com> <3EB06F7F.9000203@potentialtech.com> <3EB082E7.FCC29AAC@mindspring.com> <20030430225411.N70917@volatile.chemikals.org> <20030501225921.L19472@gamplex.bde.org> In-Reply-To: <20030501225921.L19472@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Unix@henoc.com cc: freebsd-current@freebsd.org Subject: Re: PostgreSQL7 port fails when I try to run initdb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 15:50:00 -0000 Bruce Evans wrote: > On Wed, 30 Apr 2003, Wesley Morgan wrote: > >>However, the SYSV options in NOTES are set to worthless values. They are >>in many cases lower than the defaults... It's a bit misleading since there >>are no comments and you almost expect the values to be high for debugging. > > All values in NOTES are supposed to be unusual, so that unusual values > get tested. Any resemblance to usable values is accidental. Here's where I'm confused: Looking at src/sys/kern/sysv_shm.c that I used to build my v5 kernel (1.74) and comparing it to the version I used to build my v4 kernel (1.45.2.6) I see the same default values for SHMMAXPGS, SHMMAX, SHMMIN, SHMMNI, SHMSEG, and SHMALL in both. Yet my v4 kernel supports Postgre without any tweaks needed in the kernel config and my v5 kernel requires overriding those values in order for initdb to work. I'm guessing there's more in the source somewhere, but I'm lost at this point. -- Bill Moran Potential Technologies http://www.potentialtech.com