Skip site navigation (1) Skip section navigation (2)

Configuration settings (shared_buffers, etc) in Linux: puzzled

From: Rick Schumeyer <rschumeyer(at)ieee(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Configuration settings (shared_buffers, etc) in Linux: puzzled
Date: 2008-01-24 18:00:24
Message-ID: 4798D238.7070002@ieee.org (view raw or flat)
Thread:
Lists: pgsql-performance
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.

The kernel settings are currently:

shmmax: 33554432
shmall: 2097152

I would have expected to need to increase these before postgres would run.

I have a nagging suspicion that something isn't right.  Like it's not 
actually reading the conf file, or I might have a problem on reboot.

I'm not sure if I'm worrying about nothing, or if something weird is 
going on.



Responses

pgsql-performance by date

Next:From: Merlin MoncureDate: 2008-01-24 18:01:33
Subject: Re: Making the most of memory?
Previous:From: Tory M BlueDate: 2008-01-24 17:46:19
Subject: Re: Postgres 8.2 memory weirdness

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group