tags:

views:

50

answers:

1

Hi, I am using a Postgres database and want to tweek the parameters. The problem is that when I set shared_buffer to a value larger than 20mb my server won't start. I am running it on Ubutu 8.10 OS with 1gb RAM. Any ideas?

+2  A: 

I imagine you are reaching the limit of shared memory regions.

Check /proc/sys/kernel/shmall and /proc/sys/kernel/shmmax.

More info here: http://www.redhat.com/docs/manuals/database/RHDB-7.1.3-Manual/admin_user/kernel-resources.html

caskey
And here - http://www.postgresql.org/docs/current/static/kernel-resources.html#SYSVIPC
Milen A. Radev