X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 18D5B474E4F for ; Thu, 20 Mar 2003 10:14:09 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2KFEDub023271; Thu, 20 Mar 2003 10:14:13 -0500 (EST) To: Bill Moran Cc: pgsql-admin@postgresql.org Subject: Re: Problems tuning shared_buffers value In-reply-to: <3E79BCEB.6090807@potentialtech.com> References: <3E79BCEB.6090807@potentialtech.com> Comments: In-reply-to Bill Moran message dated "Thu, 20 Mar 2003 08:06:51 -0500" Date: Thu, 20 Mar 2003 10:14:12 -0500 Message-ID: <23270.1048173252@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/323 X-Sequence-Number: 7963 Bill Moran 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