Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1cEh-0007Z7-Vb for pgsql-admin@arkaria.postgresql.org; Tue, 01 Nov 2016 16:48:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c1cEh-0005zB-DH for pgsql-admin@arkaria.postgresql.org; Tue, 01 Nov 2016 16:48:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c1cD1-00045w-1K for pgsql-admin@postgresql.org; Tue, 01 Nov 2016 16:46:47 +0000 Received: from lists.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c1cCy-0006Eg-47 for pgsql-admin@postgresql.org; Tue, 01 Nov 2016 16:46:45 +0000 Received: from [192.168.1.60] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id A8720617; Tue, 1 Nov 2016 09:46:41 -0700 (PDT) Received: from c-73-225-27-179.hsd1.wa.comcast.net ([73.225.27.179] helo=[192.168.1.60]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.5.1); 1 Nov 2016 09:46:41 -0700 Subject: Re: Too many Idle Connections To: Sumeet Shukla , pgsql-admin References: From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <7e0ea0c1-228e-a04a-dfd5-9bccb1a5b4cf@commandprompt.com> Date: Tue, 1 Nov 2016 09:46:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.5.1(16177) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-18801-10556 X-Assp-Session: 7F36FCEFF248 (mail 1) X-Assp-Original-Subject: Re: [ADMIN] Too many Idle Connections X-Assp-Client-SSL: yes X-Pg-Spam-Score: -4.4 (----) 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 On 11/01/2016 09:44 AM, Sumeet Shukla wrote: > Hi, > > I'm using pgPool and I see that there are too many idle connections > (almost 95%). > > Out of 9000 connections 8500 are idle at any point in time. > > Any idea how can I go about it or what should be my approach to minimize > such idle connections? What parameters do I need to look into? Your pool is too large. This is a pgpool question. Sincerely, JD > > > Thanks & Regards, > Sumeet Shukla > Ph. No. 860 000 6512 -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. Everyone appreciates your honesty, until you are honest with them. Unless otherwise stated, opinions are my own. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin