pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Biagioni <andrew.biagioni@e-greek.net>
To: pgsql-admin@postgresql.org, "rakesh" <rakesh@cygnus.stpp.soft.net>
Subject: Re: Max number of client connections...
Date: Tue, 27 May 2003 09:36:58 -0400
Message-ID: <1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop> (raw)
In-Reply-To: <003001c32417$45691c30$0a00a8c0@cygnus.com>

THe way the .conf file is structured is, that each option is commented out when 
its default value applies, but the default value is the value shown for the 
option in the .conf file -- so it would be the same if you un-commented the 
line.

To change the value, you un-comment the line and change the value for the 
parameter in that line.

I don't have a 7.1 postgresql.conf file handy, so I can't give you an exact 
example, but if you currently have:

#max_connections = xx

then the default is xx maximum connections.  To set the maximum to yy, change 
the line to:

max_connections = yy

Otherwise you can do as I do, and leave the commented-out line and follow it 
with a comment and a new line:

#max_connections = xx
# Added andrew.biagioni@e-greek.net on 5/5/2002:
max_connections = yy

This allows me to keep a reminder of what the default was, which is what I 
would have if I removed MY line.

Happy PostgreSQLing,

		Andrew

5/27/03 2:14:24 AM, "rakesh" <rakesh@cygnus.stpp.soft.net> wrote:

>Hello Everybody,
>
>I'm new to this list. My postgresql 7.1 (RHL -7.2& server does not respond
>when quiet some connections
>are made. Do I need to change the max_connections option in postgresql.conf,
>but surprisingly it is commented.
>
>In this case what is the default number of connections to which it can
>respond? And also if i need to increase the number of connections what do i
>need to do?
>
>Help appreciated !!!
>
>regards,
>
>Rakesh Pawar.
>
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly
>
>






view thread (3+ messages)  latest in thread

Message-ID: <1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop>
Permalink:  ../1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop/
Also on:    postgresql.org/message-id/1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andrew.biagioni@e-greek.net, rakesh@cygnus.stpp.soft.net
  Subject: Re: Max number of client connections...
  In-Reply-To: <1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop>
  References: <003001c32417$45691c30$0a00a8c0@cygnus.com> <1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop>

* 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