pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bill Moran <wmoran@potentialtech.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems tuning shared_buffers value
Date: Thu, 20 Mar 2003 10:14:12 -0500
Message-ID: <23270.1048173252@sss.pgh.pa.us> (raw)
In-Reply-To: <3E79BCEB.6090807@potentialtech.com>
References: <3E79BCEB.6090807@potentialtech.com>

Bill Moran <wmoran@potentialtech.com> writes:
> curious about some things, so I set shared_buffers to 16 (which the
> config file claims is the lowest allowable value)  The result was
> that Postgre refused to start.  I upped it to 32 and the result
> was the same.
> I looked in both /var/log/messages and in /usr/local/pgsql/logfile
> and found nothing about _why_ it wouldn't start,

There's something broken about your logging setup then, because the
postmaster will most definitely tell you why it's not starting:

$ postmaster -B 16
postmaster: The number of buffers (-B) must be at least twice the number of allowed connections (-N) and at least 16.
$ postmaster -B 32
postmaster: The number of buffers (-B) must be at least twice the number of allowed connections (-N) and at least 16.
$

Without having looked at the code, I think that these very-early-startup
messages may only get sent to stderr and not syslog; so take another
look at what you're doing with the postmaster's stderr.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <23270.1048173252@sss.pgh.pa.us>
Permalink:  ../23270.1048173252@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23270.1048173252@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, wmoran@potentialtech.com
  Subject: Re: Problems tuning shared_buffers value
  In-Reply-To: <23270.1048173252@sss.pgh.pa.us>
  References: <3E79BCEB.6090807@potentialtech.com> <23270.1048173252@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