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

Tom Lane wrote:
> 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.

Ahhhh ... The startup script that the FreeBSD ports install redirects it
to /var/log/pgsql, which I hadn't noticed.
And I see the exact error messages you describe.

Thanks, Tom.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com




view thread (3+ messages)

Message-ID: <3E79DDCD.7080104@potentialtech.com>
Permalink:  ../3E79DDCD.7080104@potentialtech.com/
Also on:    postgresql.org/message-id/3E79DDCD.7080104@potentialtech.com

 · 

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: wmoran@potentialtech.com, tgl@sss.pgh.pa.us
  Subject: Re: Problems tuning shared_buffers value
  In-Reply-To: <3E79DDCD.7080104@potentialtech.com>
  References: <3E79BCEB.6090807@potentialtech.com> <23270.1048173252@sss.pgh.pa.us> <3E79DDCD.7080104@potentialtech.com>

* 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