Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egCfb-0000g5-IO for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 16:52:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egCfa-0005qd-Jz for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 16:52:34 +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 1egCfH-0002fY-16 for pgsql-general@lists.postgresql.org; Mon, 29 Jan 2018 16:52:15 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egCfD-0003pG-KE for pgsql-general@postgresql.org; Mon, 29 Jan 2018 16:52:13 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6A34520E83; Mon, 29 Jan 2018 11:52:09 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 29 Jan 2018 11:52:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=zC+GUOs+4BTmf0hHPxkXz46BNQaqr o6HKnOPup980J0=; b=K9Gu2SzDhSsGkqsTuB1lHOHZt4AVJ0vPsj8QBn3RNAiUW dFrJwNW+MSvdA3CX+sn3UzTKw4IYquS4KhubuJn+8U6/mcmn6IeEbfOOn68utdHc dW3I2VkyFBhSUoriQsdliO70QeKuwyxiF3jK7Lc+ex4nE7N25GvBAWSF2LhD4ULh HUDverek9Hf80jKrLQ9xc/QP4Pan29wof2SM2T6mxVxY/ZUC1ekQoQDLubE508Up W1eEU35wbePQ2RFW1mqOE1LLxmEeU3UqhJV2G5eZBUccGpROAPkxwTNbXZWhPBVN rrau4fgvVkeUpW+Po+wKkWKu11/+3ZjYSQ41x0ApA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=zC+GUO s+4BTmf0hHPxkXz46BNQaqro6HKnOPup980J0=; b=sUsukdWs9q75pFG76BZ+Up uMqIGpb8orWBIo6DSqtIWm6CTH6PIkVXNM+aQTT0ZBMy34hafaAPLdZjhEcniY4u rjRjancDjJCNNNMOfKT04eDNJbSD3zeNYYO/Zr/IozDruAzdK3CPXPrj8CRlb8Nv VR4N8u4ieUwn4xkiV20DAf5DRRTROCqBljW4ydeFuzw9+bi6yf0Y0jb4OZPIZA56 2yMxsc3fkaYossBqQ+uU0HE6nQLdx/AU8Kcy7HhPI8Dt/gTZ9HXdIeEj+dBrR3by fykr3G7ypH+RXHzlCBYS5+FkyK4onXyG9ZC5Bu4XH6dKGZDntU0BIl/5RHifPu8Q == X-ME-Sender: Received: from ranger.suse (unknown [67.40.177.89]) by mail.messagingengine.com (Postfix) with ESMTPA id D66327E6A5; Mon, 29 Jan 2018 11:52:08 -0500 (EST) Subject: Re: pgpool Connections Distributions Among Nodes To: "Kumar, Virendra" , "pgsql-general@postgresql.org" References: <05f2efb3ab16431588411c93c42e7e9e@USFKL11XG20CN01.mercer.com> From: Adrian Klaver Message-ID: <74bdc07c-05ca-1a6a-3c3c-d6a8d3df0c9d@aklaver.com> Date: Mon, 29 Jan 2018 08:52:07 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <05f2efb3ab16431588411c93c42e7e9e@USFKL11XG20CN01.mercer.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 01/29/2018 08:19 AM, Kumar, Virendra wrote: > Hi Gurus, > > We have 4-node cluster (1 master and 3 hot standby).  We are using > pgpool as load balancer. We have an observation where if application > requests for 3 connections, pgpool connects to all 4 servers and I see 3 > connections on each of them. I was expecting it have a total of 3 > connections from either of 4 servers but I can easily see 12 connections > in all. > > Can somebody shed some light on it. > > Please let me know if you need more information. I would say the contents of your config file at the least. > > Regards, > > Virendra > > -- Adrian Klaver adrian.klaver@aklaver.com