Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 385D91337B67 for ; Wed, 2 Feb 2011 14:32:27 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 40356-04 for ; Wed, 2 Feb 2011 18:32:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mh5.mail.rice.edu (mh5.mail.rice.edu [128.42.199.32]) by mail.postgresql.org (Postfix) with ESMTP id D89C61337999 for ; Wed, 2 Feb 2011 14:32:19 -0400 (AST) Received: from mh5.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh5.mail.rice.edu (Postfix) with ESMTP id 4EBBB28F795; Wed, 2 Feb 2011 12:32:19 -0600 (CST) X-Virus-Scanned: by amavis-2.6.4 at mh5.mail.rice.edu, auth channel Received: from mh5.mail.rice.edu ([127.0.0.1]) by mh5.mail.rice.edu (mh5.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id UAO0JsIA4o9j; Wed, 2 Feb 2011 12:32:19 -0600 (CST) X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.is.rice.edu (aart.is.rice.edu [168.7.56.48]) by mh5.mail.rice.edu (Postfix) with ESMTP id 27BDF28F77E; Wed, 2 Feb 2011 12:32:19 -0600 (CST) Received: by aart.is.rice.edu (Postfix, from userid 18612) id 626222D5A6; Wed, 2 Feb 2011 12:32:18 -0600 (CST) Date: Wed, 2 Feb 2011 12:32:17 -0600 From: Kenneth Marshall To: Cesar Arrieta Cc: pgsql-performance@postgresql.org Subject: Re: Server Configuration Message-ID: <20110202183217.GM24931@aart.is.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/33 X-Sequence-Number: 42171 On Wed, Feb 02, 2011 at 03:15:22PM -0300, Cesar Arrieta wrote: > Hi, I have a Server with Fedora Core 11, Tomcat and Postgresql 8.3. > With Hardware: > * 8GB RAM > * 8 processors Intel Xeon E5520 @2.27GHz > * 250GB SATA DISK > > Actually, it serves at most 250 connections. > The problem happends when it serves many many connections at a time, tables > and queries began to get blocked, then I have to kill some processes > in order to allow other people continue working. > > Wich recommendations could you give me for to configure postgresql.conf, and > could it be eficcient to buy another server with almost same hardware > in order to use pgPool2 with replication, load balance and parallel query?. It sounds like you may just need a connection pooler (pgpool, pgbouncer) and it might work just fine. Cheers, Ken