Subject: Re: Another question
To: Ricardo Ryoiti Sugawara Junior <ricardorsj@uol.com.br>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: netbsd-help
Date: 01/11/2001 12:47:48
On Wed, Jan 10, 2001 at 09:00:07PM -0200, Ricardo Ryoiti Sugawara Junior wrote:
> IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
> size=4643840, permission=600
> This type of error is usually caused by an improper
> shared memory or System V IPC semaphore configuration.
> For more information, see the FAQ and platform-specific
> FAQ's in the source directory pgsql/doc or on our
> web site at http://www.postgresql.org.
> FATAL 1: ShmemCreate: cannot create region
The SYSV shared memory configuration defaults in the NetBSD kernel
currently have a (too) low value. At least, they do in 1.5.
For -current, I doubled the max. regtion size recently.
You'll have to recompile a kernel, with something like:
options SHMMAXPGS=2048
in the config file, and then this should be ok.
- Frank