#!/bin/sh exec 2>&1 exec setuidgid postgres /opt/pgsql/bin/postmaster -D /opt/pgsql/data -B 256 -N 128 -i
I have been trying to figure out to tune postgres and the only rule of thumb I have seen for -B is to give it 1/4 of physical memory (or 16384 8k buffers for 512mb of memory).