[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IPC Sys5 for amd64?



On Monday 02 March 2009 23:07:30 nicolas_(_at_)_boiteameuh_(_dot_)_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_(_dot_)_org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_(_at_)_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
_______________________________________________
freebsd-stable_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org