initdb could use some lower default settings (trivial patch)

From: evanm(at)frap(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Cc: pgsql-patches(at)postgresql(dot)org
Subject: initdb could use some lower default settings (trivial patch)
Date: 2004-03-03 12:46:31
Message-ID: 20040303124631.GA26766@frap.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Installing postgres on a Solaris 8 system for personal use, I discovered that
initdb exceeded the shared memory available on my system (Default settings).
There's enough to run the database, but initdb doesn't probe to low enough
values:

for nconns in 100 50 40 30 20 10
for nbuffers in 1000 900 800 700 600 500 400 300 200 100 50

10/50 is too large, the largest Solaris can handle without changing the
defaults is 10/46. I think it'd be a good idea if initdb probed at least a
little lower here, say to a buffer size of 25, to let it install on Solaris
with default shmem settings.

Please CC me, as I'm not subscribed to these lists.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-03-03 17:31:47 Re: Integer parsing bug?
Previous Message Richard Huxton 2004-03-03 08:12:27 Re: BUG #1090: initdb does not work

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-03-03 14:24:10 Fix usage string for oid2name
Previous Message Andrew Dunstan 2004-03-03 11:23:44 Re: log_line_info