X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 405C630F735 for ; Mon, 23 Jun 2003 16:29:56 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 03625-06 for ; Mon, 23 Jun 2003 13:29:45 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id BA32F30F679 for ; Mon, 23 Jun 2003 13:29:10 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by www.postgresql.com (Postfix) with ESMTP id 40B50CF6EA9 for ; Mon, 23 Jun 2003 11:18:10 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h5NE98hB003662; Mon, 23 Jun 2003 08:09:09 -0600 (MDT) Date: Mon, 23 Jun 2003 08:07:06 -0600 (MDT) From: "scott.marlowe" To: zhuj Cc: , Subject: Re: maxconnection In-Reply-To: <001701c336c7$c5013b90$d400a8ca@zhuj2k> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Archive-Number: 200306/105 X-Sequence-Number: 7327 You likely need to increase the shared_buffers to at least 2* max connections. Do you have logging of any kind turned on? If you have silent_mode set to true, set it to false and try starting the database again and look for error messages. If you've got it set to log somewhere, read the logs after trying to restart. Or by "not work" do you mean it doesn't limit the max connections properly? On Fri, 20 Jun 2003, zhuj wrote: > I try to edit the postgresql.conf, set > "max_connections " to 25 then restart > postgres, but it seems not work. > > ----- Original Message ----- > From: "Dave Cramer" > To: "zhuj" > Cc: > Sent: Friday, June 20, 2003 4:23 AM > Subject: Re: [JDBC] maxconnection > > > > You have to limit the connections on the backend, in postgresql.conf. > > > > Dave > > On Tue, 2003-06-17 at 05:22, zhuj wrote: > > > hi,all: > > > I want to constraint the maximum number of concurrent connections to > 25 > > > in postgres > > > jdbc driver. There are no methods for this > > > change. How would i do? > > > > > > TIA > > > zhuj > > > > > > > > > > > > ---------------------------(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 > > > > > -- > > Dave Cramer > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html >