Re: FreeBSD SHMMAX

From: Reko Turja <ignatz(at)www(dot)liukuma(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: FreeBSD SHMMAX
Date: 2004-06-13 22:51:42
Message-ID: 20040614015053.O21833@www.liukuma.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> I am trying to get Postgres running on FreeBSD and am running into
> problems
> with shared mem. Here is the postgres error messge:

On my box the values defined for the kernel are as follow:

options SHMMAXPGS=65536 #For postgreSQL
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120

If my memory serves me right these values were suggested for PgSQL in
FBSD or Postgres documentation.

and the corresponding sysctls:

kern.ipc.shmmax: 268435456
kern.ipc.shmmin: 1
kern.ipc.shmmni: 192
kern.ipc.shmseg: 128
kern.ipc.shmall: 65536

your kern.ipc.shmall seems a bit low comparing to my setup, maybe the
culprit is there. You can tune that sysctl at runtime, try if giving
it higher value helps.

-Reko

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jouneau Luc 2004-06-14 07:25:18 Re: [ADMIN] doubt
Previous Message Peter Eisentraut 2004-06-13 21:24:36 Re: which system tables govern access privileges?