pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Anne M. Hammond <hammond@lcd.Colorado.EDU>
Cc: pgsql-admin@postgresql.org
Subject: Re: initdb fails
Date: Wed, 07 Dec 2005 09:35:19 -0500
Message-ID: <28800.1133966119@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.44.0512062254410.11244-100000@lcd.colorado.edu>
References: <Pine.GSO.4.44.0512062254410.11244-100000@lcd.colorado.edu>

"Anne M. Hammond" <hammond@lcd.Colorado.EDU> writes:
> So the shared memory request is greater than the SHMMAX in
> the kernel.  If I just wanted to use a smaller number of shared_buffers
> (24), I tried editing /usr/local/pgsql/data/pgsql.conf.

You're going to have to increase SHMMAX anyway, so you might as well
just do that, rather than trying to outflank initdb.  PG's performance
with any less than several hundred shared buffers is just too awful to
consider using.

I haven't done this on Solaris personally, but according to our docs
http://www.postgresql.org/docs/7.4/static/kernel-resources.html
it's just a matter of editing /etc/system and rebooting.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <28800.1133966119@sss.pgh.pa.us>
Permalink:  ../28800.1133966119@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28800.1133966119@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 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: tgl@sss.pgh.pa.us, hammond@lcd.Colorado.EDU
  Subject: Re: initdb fails
  In-Reply-To: <28800.1133966119@sss.pgh.pa.us>
  References: <Pine.GSO.4.44.0512062254410.11244-100000@lcd.colorado.edu> <28800.1133966119@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