On Monday February 9 2004 9:22, Joe Lester wrote:
>
> I've tried increasing the shmmax in /etc/rc to a really high number,
> but I'm still getting errors when I try to start postgres with pg_ctl:
>
> 2004-02-09 11:07:24 FATAL: could not create shared memory segment:
> Invalid argument
> sysctl -w kern.sysv.shmmax=500772160
> sysctl -w kern.sysv.shmall=65536
You probably need to increase shmall as well.