From: Tom Lane <tgl@sss.pgh.pa.us>
To: Anne M. Hammond <hammond@lcd.Colorado.EDU>
Cc: pgsql-admin@postgresql.org
Cc: pandurangan.r.s@gmail.com
Subject: Re: initdb fails
Date: Wed, 07 Dec 2005 14:27:07 -0500
Message-ID: <2380.1133983627@sss.pgh.pa.us> (raw)
In-Reply-To: <200512071804.jB7I4OUd000843@lcd.colorado.edu>
References: <200512071804.jB7I4OUd000843@lcd.colorado.edu>
"Anne M. Hammond" <hammond@lcd.Colorado.EDU> writes:
> However, when the server SHMMAX is smaller than the size required
> by the defaults for shared_buffers and max_connections, I have
> not been able to find a way (other than the above), to tell
> initdb to use a nondefault values.
Well, initdb is just a shell script in 7.4, so it's not that hard
to edit it to try even-smaller values for max_connections and/or
shared_buffers. I stand by my comment that performance is going to
suck though, and you may even run into "out of buffers" failures.
regards, tom lane
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, pandurangan.r.s@gmail.com
Subject: Re: initdb fails
In-Reply-To: <2380.1133983627@sss.pgh.pa.us>
References: <200512071804.jB7I4OUd000843@lcd.colorado.edu> <2380.1133983627@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