Re: FreeBSD 7 needing to allocate lots of shared memory - Mailing list pgsql-general

From Tom Lane
Subject Re: FreeBSD 7 needing to allocate lots of shared memory
Date
Msg-id 20496.1227025597@sss.pgh.pa.us
Whole thread Raw
In response to Re: FreeBSD 7 needing to allocate lots of shared memory  (Bill Moran <wmoran@collaborativefusion.com>)
Responses Re: FreeBSD 7 needing to allocate lots of shared memory
List pgsql-general
Bill Moran <wmoran@collaborativefusion.com> writes:
> In response to Christiaan Willemsen <cwillemsen@technocon.com>:
>> #sysctl -a | grep shm
>> kern.ipc.shm_allow_removed: 0
>> kern.ipc.shm_use_phys: 1
>> kern.ipc.shmall: 68719476736
>> kern.ipc.shmseg: 128
>> kern.ipc.shmmni: 192
>> kern.ipc.shmmin: 1
>> kern.ipc.shmmax: 68719476736

> Try bumping shmmni:

I'm wondering about the shmall setting myself.  The Postgres docs
suggest that FreeBSD measures shmall in pages.  If so, the above
setting is far too large and is perhaps resulting in an internal
overflow in the kernel.

(For that matter, are you certain that shmmax can be set beyond
2G either?  It might only be int inside the kernel.)

            regards, tom lane

pgsql-general by date:

Previous
From: "Flavio Palumbo"
Date:
Subject: Re: strange commit behavior
Next
From: Christiaan Willemsen
Date:
Subject: Re: FreeBSD 7 needing to allocate lots of shared memory