SHMMAX in kernel config
From: Charles Sprickman (spork_at_inch.com)
Date: 03/30/04
- Previous message: andy_park_at_nospammail.net: "Re: 4.9-Stable DHCP and dynamic DNS updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 17:26:22 -0500 (EST) To: freebsd-stable@freebsd.org
Howdy,
I recently upgraded an old box running 4.6.2 to 4.9-p4, and found that
afterwords, Postgres was hanging due to kern.ipc.shmmax being way too low
(4096 bytes, or one page).
The line in the kernel config (as confirmed by LINT) was this:
options SHMMAXPGS=8192 # max amount of shared memory pages (4k)
options SHMALL="(SHMMAXPGS*PAGE_SIZE+1)"
options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
Thinking perhaps this was no longer valid, I tried again by doing the math
myself, but I got the same result; kern.ipc.shmmax=4096.
For now I'm just setting this in sysctl.conf, but I'm curious as to what
has changed, or what I'm doing wrong.
Thanks,
Charles
-- Charles Sprickman spork@inch.com _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: andy_park_at_nospammail.net: "Re: 4.9-Stable DHCP and dynamic DNS updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]