Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VTZhg-00070n-1u for pgsql-admin@arkaria.postgresql.org; Tue, 08 Oct 2013 16:00:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VTZhf-0007pd-HN for pgsql-admin@arkaria.postgresql.org; Tue, 08 Oct 2013 16:00:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VTZhe-0007pR-EV for pgsql-admin@postgresql.org; Tue, 08 Oct 2013 16:00:06 +0000 Received: from nm25-vm1.bullet.mail.bf1.yahoo.com ([98.139.212.155]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VTZha-0002B2-HX for pgsql-admin@postgresql.org; Tue, 08 Oct 2013 16:00:05 +0000 Received: from [66.196.81.174] by nm25.bullet.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 15:59:59 -0000 Received: from [98.139.212.238] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 15:59:59 -0000 Received: from [127.0.0.1] by omp1047.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 15:59:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 743765.25499.bm@omp1047.mail.bf1.yahoo.com Received: (qmail 64121 invoked by uid 60001); 8 Oct 2013 15:59:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1381247999; bh=ywrM7DTpQd36KiH+tN0ddrbgBG6ob0TUkjOZh8pnjZY=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Oh1NcQJPw7/DBrlKn/W2sEx1BIWYXrETd2BqfIUGXnEfaOJItHKRLtzI88CdWJ4TvWrDz67YpEykAPBrGYZDezTFyIbpSkPYQ0L3T0UjkgFx6NO/C8w8uq24ACJQdQKvV0udMYcgseOFM98mOUZInRxRrQFQp8nMhMX4bpzGY/Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Trw1AS+dPD3eXjaOYbQYoM2kKw39rt4eNoPGyM6VTr5USiZxHh5rhMPuKnS99ME0iX4qnk1FZ5PT6y0UAA+3cp1T5Geg6tqNRy9zzfX73/qTIOx0cYHz0/oEJ4uf6ye1CyJjVMajBRBqr9yqrR/OOF5JQgyHzX+eXpnkQVdKFus=; X-YMail-OSG: Z8MfKFAVM1llvaI7GBly03NedEgHM.7h2ZifJ0AgUlcI8M5 QR7A4jxcQtbXyAnNOpifJWvCCtzj1bX6skGTUIPvPSkwGLwiCKlrBM9Of_wV fGlRFhZzpLbykM3PfNtzZCJmorQlLo8CBg19FGybjwg3oiz5I4MXE..mEbaY _5J4aCK8D739ndJppSTYyKfVFZ9ZDsWa0CxIMJbFdhfuLsWJRWlZhrM1.NPN gc.i_wMNd6OTp22Zt5pMFUEgQPMuxcKCSGFsJdsx7U5jAHBDPZMgZ9uPCLXQ p9R8pUpT_ql9L5I.RUhvhLUsAvWHgtKUbWr5ZZdtKDM0mLz2A2YIji_Y1ZUc 3nlEngunipXWN1OhVmu.LhC6jRCtMZ1Sf2RNer2wFljQbAlCdKWgUpjoQUbr Q365cGFE5HGoy37vECp_.ARtV.._UiDqPgYR_0RcAbwm09jEJTf7vnAAa96m FikRbYBqScsXGJDuiACv.IFCSW8mbSoNEUEwjKEuYHX2wHk.gSN9oJyZX5fr 0RnJNZbpFTY2hclY3ySbIkd2iN8GGiaBv8Vv8dS8nZeMBvmOMTBhpUjToSrI gh.lJrZf5sie_8NKfm4NxCwJAJNBexNWErr.fsR1zVhFI_XcNN9TVq9QM8eO n3g-- Received: from [76.255.18.237] by web162903.mail.bf1.yahoo.com via HTTP; Tue, 08 Oct 2013 08:59:59 PDT X-Rocket-MIMEInfo: 002.001, VmlrdG9yIEp1aGFuc29uIDxzcG9vbkBwbGFuZXQuZWU.IHdyb3RlOgoKPiBCdHcgd2UgaGF2ZSB0aGUgbWF4IHBvb2wgc2l6ZSBvZiB3ZWIgYXBwbGljYXRpb24gNTAgY29ubmVjdGlvbnMKPiBhbmQgc2luY2Ugd2UgaGF2ZSA0IGluc3RhbmNlcyBvZiBhcHBsaWNhdGlvbiBydW5uaW5nwqAgaXQgbWFrZXMKPiBtYXggMjAwLgo.Cj4gSSBkb24ndCByZWFsbHkgZ2V0IGhvdyB0aGUgZGF0YWJhc2UgcG9vbCBnZXRzIGZ1bGwgd2hlbgo.IGFwcGxpY2F0aW9uIGNhbiB1c2UgMjAwIGNvbm5lY3Rpb25zIG1heCBhbmQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.160.587 References: <1381238407.439eeaea@webmail.zone.ee> Message-ID: <1381247999.63853.YahooMailNeo@web162903.mail.bf1.yahoo.com> Date: Tue, 8 Oct 2013 08:59:59 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Random server overload To: Viktor Juhanson , "pgsql-admin@postgresql.org" In-Reply-To: <1381238407.439eeaea@webmail.zone.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Viktor Juhanson wrote: > Btw we have the max pool size of web application 50 connections > and since we have 4 instances of application running=A0 it makes > max 200. > > I don't really get how the database pool gets full when > application can use 200 connections max and postrgesql config has > set to 250 max connections ? If the client application=A0 (or pooler) doesn't close the database connections gracefully, it might take some time before the server figures out the connection is dead and frees the resources on the server side.=A0 Does the server log say anything about broken connections or client not responding? Also, the pooler might maintanin some *minimum* number of connections but go beyond that "on demand".=A0 Without knowing what pooler and how it is configured, it's hard to say what might be going on. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin