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

Initial max_connections for initdb on FreeBSD.

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Initial max_connections for initdb on FreeBSD.
Date: 2008-05-29 20:01:06
Message-ID: 4dda60a6928705029b63f051e48125ea@biglumber.com (view raw or flat)
Thread:
Lists: pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


I've got a BSD system I work on that is jailed and has low shared memory
settings. So low that I cannot even initdb to create a test 8.3.1 database.
It tries to create template1 with shared_buffers of 50 and max_connections
of 13. Is there any way to tweak those during initdb? Should there or can
there be? Is there another way around this problem that can be somewhat
automated? For my testing purposes, I don't need high settings at all
(max_connections could be 2, for example).

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation
PGP Key: 0x14964AC8 200805291558
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8


-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkg/CuMACgkQvJuQZxSWSsghIgCffg2J6RrI/4us8FhBW929Cabw
U6QAn1kpDl1fryfLMNyikew5g4jU7Rub
=OOus
-----END PGP SIGNATURE-----



Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2008-05-29 20:01:40
Subject: Re: intercepting WAL writes
Previous:From: Peter EisentrautDate: 2008-05-29 19:59:55
Subject: Re: Core team statement on replication in PostgreSQL

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