shmmax tops out at 2G?

Ivan Voras ivoras at freebsd.org
Fri Mar 13 02:50:15 PDT 2009


Brian A. Seklecki wrote:
> Thanks to all; with the r1.114 changes, our staff reports the following:
> 
> "Postgres is able to start with a ~3GB postgresql.conf(5) $shared_buffer
> on 8-CURRENT/amd64:

It has recently also been MFC-ed to 7-STABLE :)

(beware of instabilities and debugging in -CURRENT!)

>  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
>  1036 pgsql       1  44    0  3013M 79296K select   0:00  0.00% postgres
> 
> kern.ipc.shmall: 786432
> kern.ipc.shmmax: 3221225472
> 
> FreeBSD db0X 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Mar 12 09:38:36 EDT
> 2009     foo at db02:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> ~BAS
> 
> On Mon, 2009-02-23 at 10:50 -0500, Brian A. Seklecki wrote:
>>> On Wed, 2006-Dec-13 10:50:21 -0500, Bill Moran wrote:
>>>> In response to Bill Moran <wmoran at collaborativefusion.com>:
>>>>> sysctl kern.ipc.shmmax=2200000000
>>>>> kern.ipc.shmmax: 2100000000 -> -2094967296
>> Someone was nice enough to file a PR related to this:
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/130274
>>
>> We'd be happy to sponsor development in -current to address this
>> limitation.  ~BAS
> 
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090313/0cca1d4a/signature.pgp


More information about the freebsd-hackers mailing list