Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 23:47:58 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        nicolas@boiteameuh.org
Subject:   Re: IPC Sys5 for amd64?
Message-ID:  <200903022347.59422.max@love2party.net>
In-Reply-To: <20090302220729.GN14832@boiteameuh.org>
References:  <20090302220729.GN14832@boiteameuh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 02 March 2009 23:07:30 nicolas@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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



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