Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 34F8F9FB215 for ; Mon, 27 Nov 2006 11:25:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 06606-08 for ; Mon, 27 Nov 2006 11:24:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.aerogal.com.ec (corp-200-105-234-182-uio.punto.net.ec [200.105.234.182]) by postgresql.org (Postfix) with ESMTP id 442CC9FB20F for ; Mon, 27 Nov 2006 11:24:47 -0400 (AST) Received: from sistemasvi ([10.10.10.159]) by mail.aerogal.com.ec (8.12.11/8.12.11) with SMTP id kARFILoa009121 for ; Mon, 27 Nov 2006 10:18:21 -0500 Message-ID: <002401c71237$92e23cf0$9f0a0a0a@aerogald.com> From: "Sistemasvi" To: Subject: Postgres Server collapse Date: Mon, 27 Nov 2006 10:19:49 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01C7120D.9228CA10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: sistemasvi@aerogal.com.ec X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.618 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO, HTML_MESSAGE X-Spam-Level: * X-Archive-Number: 200611/140 X-Sequence-Number: 16182 This is a multi-part message in MIME format. ------=_NextPart_000_001D_01C7120D.9228CA10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello.=0D I have a postsgresql database with max 500 connections. All development is = in Java (View, Model, controller model). The problem is when I have high tr= affic (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 k= ill all postgres connections and restart postmaster service.=0D I have only one connection by web session. It is good or bad?=0D I have already increased the number of connections to 800 in the postgres a= nd sysctl configuration file.=0D My server is linux Red Hat and Postgres database V8=0D Which can be the problem?.=0D Carlos=0D =20 ------=_NextPart_000_001D_01C7120D.9228CA10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0D =0D =0D =0D =0D =0D =0D
Hello.
=0D
 
=0D
I have a postsgresql database with max 500= =0D connections. All development is in Java (View, Model, controller model). Th= e =0D problem is when I have high traffic (about 10 AM) when the database server = =0D collapse. The server turn too slow as It haven=B4t memory and&nbs= p;the =0D swap memory increase too much. I must kill all postgres connections an= d =0D restart postmaster service.
=0D
 
=0D
I have only one connection by web session.= It is =0D good or bad?
=0D
I have already increased the number of con= nections =0D to 800 in the postgres and sysctl configuration file.
=0D
 
=0D
My server is linux Red Hat and Postgres da= tabase =0D V8
=0D
 
=0D
Which can be the problem?.
=0D
 
=0D
=  
=0D
Carlos
=0D
 
=0D
 
=0D ------=_NextPart_000_001D_01C7120D.9228CA10--