From: Reko Turja <ignatz@www.liukuma.net>
To: pgsql-admin@postgresql.org
Subject: Re: FreeBSD SHMMAX
Date: Mon, 14 Jun 2004 01:51:42 +0300 (EEST)
Message-ID: <20040614015053.O21833@www.liukuma.net> (raw)
In-Reply-To: <cad69n$1fh6$1@news.hub.org>
References: <cad69n$1fh6$1@news.hub.org>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ignatz@www.liukuma.net
Subject: Re: FreeBSD SHMMAX
In-Reply-To: <20040614015053.O21833@www.liukuma.net>
References: <cad69n$1fh6$1@news.hub.org> <20040614015053.O21833@www.liukuma.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox