pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Elmers <p.elmers@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with precompiled pgsql on mac
Date: Wed, 11 Apr 2007 10:19:29 -0400
Message-ID: <14047.1176301169@sss.pgh.pa.us> (raw)
In-Reply-To: <357C48D9-0DE3-4D3C-BE03-BA45425EB057@gmx.de>
References: <A5640DFE-03A9-4BEC-9B30-2E0705873A78@gmx.de>
	<4608071B.8030601@Sheeky.Biz>
	<6C97816F-36CE-4799-A03D-18A2A6B63984@gmx.de>
	<200703271029.24337.mlists@rp-online.de>
	<44CE9FCD-9009-4BCC-81A0-5A21CD7B3C21@gmx.de>
	<5DAA6F5A-BA8F-48FD-8741-EB5982CA7C99@gmx.de>
	<25695.1176215452@sss.pgh.pa.us>
	<357C48D9-0DE3-4D3C-BE03-BA45425EB057@gmx.de>

Peter Elmers <p.elmers@gmx.de> writes:
> Now i am ongoing to optimize the settings. Without changing the  
> sysctl.conf or rc, i am able to get postgres running with the  
> following settings:

> max_connections = 40
> shared_buffers=640kB

> Does anybody see any problems with theese settings?

Yeah, that's only 80 buffers, which is at least one order of magnitude
too low for reasonable performance, probably two orders.  This would
do for a toy installation that wasn't working hard, but not for any
serious load.

Darwin's default SHMMAX is barely enough for one postmaster; you really
can't run two without fixing it.

			regards, tom lane



view thread (10+ messages)

Message-ID: <14047.1176301169@sss.pgh.pa.us>
Permalink:  ../14047.1176301169@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14047.1176301169@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, p.elmers@gmx.de
  Subject: Re: Problems with precompiled pgsql on mac
  In-Reply-To: <14047.1176301169@sss.pgh.pa.us>

* 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