Max connections

Started by Williams, Travis L, NPONSover 23 years ago3 messagesgeneral
Jump to latest

To change the max connections I'm assuming I need to edit the postgresql.conf file and change this line:
#max_connections = 32
to something like
max_connections = 64

I do need to uncomment this correct? Is there anything else I need to change?

Travis

#2Robert Treat
xzilla@users.sourceforge.net
In reply to: Williams, Travis L, NPONS (#1)
Re: Max connections

On Tue, 2002-11-12 at 14:30, Williams, Travis L, NPONS wrote:

To change the max connections I'm assuming I need to edit the postgresql.conf file and change this line:
#max_connections = 32
to something like
max_connections = 64

I do need to uncomment this correct? Is there anything else I need to change?

That should do it, though you'll need to restart your postmaster for the
changes to take effect.

Robert Treat

#3Richard Huxton
dev@archonet.com
In reply to: Williams, Travis L, NPONS (#1)
Re: Max connections

On Tuesday 12 Nov 2002 7:30 pm, Williams, Travis L, NPONS wrote:

To change the max connections I'm assuming I need to edit the
postgresql.conf file and change this line: #max_connections = 32
to something like
max_connections = 64

I do need to uncomment this correct? Is there anything else I need to
change?

Travis - haven't seen anyone else reply, but basically "yes". While you're at
it you may want to look at some of the memory settings - more connections
means less RAM per connection.

You'll need to tell postgresql to reload the config file - "man pg_ctl" for
details.

--
Richard Huxton