How do I increase shared memory in 4.7

Bill Moran wmoran at potentialtech.com
Tue Apr 8 18:11:38 PDT 2003


Hal Lynch wrote:
> I am running postgres on my 4.7 system and I need more
> shared buffer space.  If I set the # of shared buffers in
> postgres to what I want it won't start because I need more
> shared buffers than are available from the system.
> 
> I have tried raising kern.ipc.shmmax from 160000000 to
> 256000000 using sysctl but it doesn't seem to make a
> difference.
> 
> Can anyone help?

Not sure, but I believe you can set values in your kernel
config and recompile your kernel.  See /usr/src/sys/i386/conf/LINT
for details.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-questions mailing list