From: Mitch Pirtle <mitch.pirtle@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: PG versus FreeBSD, startup and connections problems
Date: Wed, 26 Jan 2005 14:24:40 -0500
Message-ID: <330532b605012611247a9db8e3@mail.gmail.com> (raw)
In-Reply-To: <41F6B56A.9010103@coretech.co.nz>
References: <330532b605012510193eb73b72@mail.gmail.com>
<41F6B56A.9010103@coretech.co.nz>
Just a quick shout-out to Mark, as you provided the winning answer. I
found numerous mailing list discussions and web pages, but all were
either fragmented or out of date.
Again, many thanks!
-- Mitch
On Wed, 26 Jan 2005 10:08:58 +1300, Mark Kirkwood <markir@coretech.co.nz> wrote:
>
> in /etc/sysctl.conf :
> kern.ipc.shmmax=100000000
> kern.ipc.shmall=32768
> (can be set online using systcl -w)
>
> Semaphores need to be set in /boot/loader.conf
> kern.ipc.semmni=256
> kern.ipc.semmns=256
> (can typed at the loader prompt using set)
>
> These settings should let you have ~100 connections and use about 100M
> of shared memory for shared_buffers.
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mitch.pirtle@gmail.com
Subject: Re: PG versus FreeBSD, startup and connections problems
In-Reply-To: <330532b605012611247a9db8e3@mail.gmail.com>
* 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