Re: Upper limit on number of buffers?
Michael J Schout <mschout@gkg.net>
From: Michael J Schout <mschout@gkg.net>
To: Joe Conway <joe@conway-family.com>
Cc: Hackers List <pgsql-hackers@postgresql.org>, mlw <markw@mohawksoft.com>
Date: 2000-12-29T17:29:21Z
Lists: pgsql-hackers
On Sun, 24 Dec 2000, Joe Conway wrote: > Linux > > The default shared memory limit (both SHMMAX and SHMALL) is 32 MB in 2.2 > kernels, but it can be changed in the proc file system (without reboot). For > example, to allow 128 MB: > > $ echo 134217728 >/proc/sys/kernel/shmall > $ echo 134217728 >/proc/sys/kernel/shmmax > You could put these commands into a script run at boot-time. On redhat 6.2 I know that you can use /etc/sysctl.conf to do this as well. Just add this to /etc/sysctl.conf. kernel.shmall = 134217728 kernel.shmmax = 134217728 After this, your tunables will be restored every time that the system boots. Mike