Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2003 11:49:46 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: PostgreSQL7 port fails when I try to run initdb
Message-ID:  <3EB1421A.4050908@potentialtech.com>
In-Reply-To: <20030501225921.L19472@gamplex.bde.org>
References:  <3EB054B1.6040406@potentialtech.com> <3EB06F7F.9000203@potentialtech.com> <3EB082E7.FCC29AAC@mindspring.com> <20030430225411.N70917@volatile.chemikals.org> <20030501225921.L19472@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB1421A.4050908>