...
In Linux, kernel shared memory will need to be expanded to handle more than (usually) 32M.
This page has more details and methods: http://web.archive.org/web/20071215213300/http://www.budget-ha.com/postgres/shared-memory.jsp has more details and methods.
Much more information about PostgreSQL performance tuning available off the PostgreSQL wiki:
...