Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 2B7BA9FB266 for ; Mon, 27 Nov 2006 14:26:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 21870-06 for ; Mon, 27 Nov 2006 14:26:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id E5BA29FA3AD for ; Mon, 27 Nov 2006 14:26:08 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1064996ugf for ; Mon, 27 Nov 2006 10:26:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hBRfpnc0SmhDApb7pOM7bdbCwH8XHY1Mz2oE4t/ZWu3gWVSILGkXa6PB7HHdZo1N2SmIB8OzOrfEMEq8L+/EBYhztQNZr3ac/K1vCs8zRBgWlfu0tN72i+zKcCtgXMDCUtI7UutEsnfoVm6m0oFqpK2Van2URjlfMlj/cmaLgJs= Received: by 10.82.118.2 with SMTP id q2mr2097849buc.1164651967336; Mon, 27 Nov 2006 10:26:07 -0800 (PST) Received: by 10.82.161.3 with HTTP; Mon, 27 Nov 2006 10:26:07 -0800 (PST) Message-ID: <1f30b80c0611271026g1b2fcbaeic4fd61c7ee09e5f9@mail.gmail.com> Date: Mon, 27 Nov 2006 23:26:07 +0500 From: imad To: Sistemasvi Subject: Re: Postgres Server collapse Cc: pgsql-jdbc@postgresql.org In-Reply-To: <002401c71237$92e23cf0$9f0a0a0a@aerogald.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <002401c71237$92e23cf0$9f0a0a0a@aerogald.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/146 X-Sequence-Number: 16188 On 11/27/06, Sistemasvi wrote: > > > Hello. > > I have a postsgresql database with max 500 connections. All development i= s > in Java (View, Model, controller model). The problem is when I have high > traffic (about 10 AM) when the database server collapse. The server turn = too > slow as It haven=B4t memory and the swap memory increase too much. I must= kill > all postgres connections and restart postmaster service. > > I have only one connection by web session. It is good or bad? One connection only? Then why did you increased the number of connections to 800? Sorry, I might be missing some point here. > I have already increased the number of connections to 800 in the postgres > and sysctl configuration file. > > My server is linux Red Hat and Postgres database V8 > > Which can be the problem?. > > > Carlos > > --Imad www.EnterpriseDB.com