X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id D4E13921A6C for ; Tue, 27 May 2003 09:37:20 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 66409-08 for ; Tue, 27 May 2003 09:37:15 -0400 (EDT) Received: from proteus.affordablehost.com (proteus.affordablehost.com [216.46.203.177]) by developer.postgresql.org (Postfix) with SMTP id 4D266921AD5 for ; Tue, 27 May 2003 09:37:14 -0400 (EDT) Received: (qmail 16642 invoked from network); 27 May 2003 13:36:55 -0000 Received: from unknown (HELO Laptop) (66.31.57.228) by proteus.affordablehost.com with SMTP; 27 May 2003 13:36:55 -0000 From: Andrew Biagioni To: pgsql-admin@postgresql.org, "rakesh" Date: Tue, 27 May 2003 09:36:58 -0400 X-Priority: 3 (Normal) Organization: E-Greek, llc In-Reply-To: <003001c32417$45691c30$0a00a8c0@cygnus.com> Message-Id: <1X2VEDYTTPJFJLJSM0567XSVRTN4Z.3ed369fa@Laptop> Subject: Re: Max number of client connections... MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Opera 6.05 build 1140 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/373 X-Sequence-Number: 8935 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" 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 > >