IPC Sys5 for amd64?

Max Laier max at love2party.net
Mon Mar 2 15:00:47 PST 2009


On Monday 02 March 2009 23:07:30 nicolas at boiteameuh.org wrote:
> Hi all,
>
> I'm trying to install a PostgreSQL db on FreeBSD 7.1-RELEASE amd64.
> It's seems I can't allocate a shared memory segment more than 2GB.
> I tune sysctl ipc.shm* values but without effects.
>
> IPC Sys5 isn't "64bit-aware" or the problem is elsewhere?

It looks like shm_segsz in struct shmid_ds is of type int, so that will limit 
your segment.  Also there are the kernel config options SHMMAX and SHMMAXPGS.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-stable mailing list