shmmax tops out at 2G?

Bill Moran wmoran at collaborativefusion.com
Tue Dec 12 09:25:02 PST 2006


[I sent this to questions@ yesterday and have yet to get a response.  I
suspect it may be a little more technical than questions@]

uname -a
FreeBSD db00.lab00 6.2-BETA3 FreeBSD 6.2-BETA3 #1: Fri Dec  8 09:27:37 EST 2006     root at db00.lab00:/usr/obj/usr/src/sys/DB-2850-amd64  amd64

sysctl kern.ipc.shmmax=2200000000
kern.ipc.shmmax: 2100000000 -> -2094967296

Looks like an unsigned 32-bit int.  That doesn't seem to scale as well as
would be expected on 64-bit arch (or PAE for that matter).

Is this a mistake, or intentional?  I'm working with some big memory
systems, and I sure would like to allocate more than 2G for PostgreSQL
to use ...

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-hackers mailing list