Re: PG versus FreeBSD, startup and connections problems

From: Mitch Pirtle <mitch(dot)pirtle(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: PG versus FreeBSD, startup and connections problems
Date: 2005-01-26 19:24:40
Message-ID: 330532b605012611247a9db8e3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)coretech(dot)co(dot)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.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Doug McNaught 2005-01-26 19:42:57 Re: Upgrading from from 7.4.2 to 8.0
Previous Message James Gunzelman 2005-01-26 18:51:14 Upgrading from from 7.4.2 to 8.0