pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedMax number of client connections...
3+ messages / 2 participants
[nested] [flat]
* Max number of client connections...
@ 2003-05-27 06:14 rakesh <rakesh@cygnus.stpp.soft.net>
2003-05-27 13:36 ` Re: Max number of client connections... Andrew Biagioni <andrew.biagioni@e-greek.net>
0 siblings, 1 reply; 3+ messages in thread
From: rakesh @ 2003-05-27 06:14 UTC (permalink / raw)
To: pgsql-admin
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Max number of client connections...
2003-05-27 06:14 Max number of client connections... rakesh <rakesh@cygnus.stpp.soft.net>
@ 2003-05-27 13:36 ` Andrew Biagioni <andrew.biagioni@e-greek.net>
2003-05-28 04:23 ` Re: Max number of client connections... rakesh <rakesh@cygnus.stpp.soft.net>
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Biagioni @ 2003-05-27 13:36 UTC (permalink / raw)
To: pgsql-admin@postgresql.org, "rakesh" <rakesh@cygnus.stpp.soft.net>
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
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Max number of client connections...
2003-05-27 06:14 Max number of client connections... rakesh <rakesh@cygnus.stpp.soft.net>
2003-05-27 13:36 ` Re: Max number of client connections... Andrew Biagioni <andrew.biagioni@e-greek.net>
@ 2003-05-28 04:23 ` rakesh <rakesh@cygnus.stpp.soft.net>
0 siblings, 0 replies; 3+ messages in thread
From: rakesh @ 2003-05-28 04:23 UTC (permalink / raw)
To: Andrew Biagioni <andrew.biagioni@e-greek.net>; pgsql-admin
Hello,
Thanks I did it also in addition to it i had to double the shared buffer
size.
It now seems to be working fine.
regards,
Rakesh P.
----- Original Message -----
From: "Andrew Biagioni" <andrew.biagioni@e-greek.net>
To: <pgsql-admin@postgresql.org>; "rakesh" <rakesh@cygnus.stpp.soft.net>
Sent: Tuesday, May 27, 2003 7:06 PM
Subject: Re: [ADMIN] Max number of client connections...
> 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
> >
> >
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-05-28 04:23 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 06:14 Max number of client connections... rakesh <rakesh@cygnus.stpp.soft.net>
2003-05-27 13:36 ` Andrew Biagioni <andrew.biagioni@e-greek.net>
2003-05-28 04:23 ` rakesh <rakesh@cygnus.stpp.soft.net>
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