Date: Wed, 22 Mar 2006 10:20:02 -0500 From: Vivek Khera <vivek@khera.org> To: stable@freebsd.org Subject: Re: How do I change kern.ipc.shmmax in FreeBSD 5.x automatically after reboot? Message-ID: <3ECD9860-CA1E-486F-BCCE-EE3EB8FF7DFE@khera.org> In-Reply-To: <BA84A761ED41C54893BED691A4A574CF014DE96A@EXCH5.eurowings.com> References: <BA84A761ED41C54893BED691A4A574CF014DE96A@EXCH5.eurowings.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 22, 2006, at 6:01 AM, Kipp Holger wrote: > which are set correctly. Unfortunately, the following > two entries > > kern.ipc.shmmax="512000000" > kern.ipc.shmall="65526" > > do not change the corresponding values according > to sysctl, no matter whether I put them in > /boot/loader.conf or /etc/sysctl.conf. Here is how I bump up values to run a large-ish postgresql server under 6.0-p4: in /boot/loader.conf I have kern.ipc.semmni=32 kern.ipc.semmns=512 and in /etc/sysctl.conf I have # tuning for PostgreSQL kern.ipc.shm_use_phys=1 kern.ipc.shmmax=1073741824 kern.ipc.shmall=262144 kern.ipc.semmsl=512 kern.ipc.semmap=256 and it works just fine. IIRC it worked the same in 5.4.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECD9860-CA1E-486F-BCCE-EE3EB8FF7DFE>