pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
To: Rick Schumeyer <rschumeyer@ieee.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Configuration settings (shared_buffers, etc) in Linux: puzzled
Date: Thu, 24 Jan 2008 13:52:49 -0500 (EST)
Message-ID: <Pine.GSO.4.64.0801241349420.7217@westnet.com> (raw)
In-Reply-To: <4798D238.7070002@ieee.org>
References: <4798D238.7070002@ieee.org>

On Thu, 24 Jan 2008, Rick Schumeyer wrote:

> On a linux box (Linux db1 2.6.18.8-md #1 SMP Wed May 23 17:21:37 EDT 2007 
> i686 GNU/Linux)
> I edited postgresql.conf and changed:
>
> shared_buffers = 5000           work_mem = 16384
> max_stack_depth = 4096
>
> and then restarted postgres.  The puzzling part is that postgres actually 
> started.  When I have done this on other boxes, I had to edit kernel settings 
> to allow for more shared memory.

You can confirm whether the settings are actually taking like this:

$ psql
Welcome to psql 8.2.4, the PostgreSQL interactive terminal.

postgres=# show shared_buffers;
  shared_buffers
----------------
  256MB
(1 row)

Since your shared_buffers setting should probably be in the hundreds of 
megabytes range if you want good performance, you may need to update your 
kernel settings anyway, but the above will let you see what the server is 
actually starting with.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD



view thread (3+ messages)  latest in thread

Message-ID: <Pine.GSO.4.64.0801241349420.7217@westnet.com>
Permalink:  ../Pine.GSO.4.64.0801241349420.7217@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0801241349420.7217@westnet.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsmith@gregsmith.com, rschumeyer@ieee.org
  Subject: Re: Configuration settings (shared_buffers, etc) in Linux: puzzled
  In-Reply-To: <Pine.GSO.4.64.0801241349420.7217@westnet.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