Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1w3Q-0002lz-5a for pgsql-general@arkaria.postgresql.org; Mon, 17 Sep 2018 16:07:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1w3N-0002UK-7I for pgsql-general@arkaria.postgresql.org; Mon, 17 Sep 2018 16:07:13 +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.89) (envelope-from ) id 1g1w3M-0002Tx-R1 for pgsql-general@lists.postgresql.org; Mon, 17 Sep 2018 16:07:12 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1w3J-0007We-T9 for pgsql-general@postgresql.org; Mon, 17 Sep 2018 16:07:11 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1FD0F21AC2; Mon, 17 Sep 2018 12:07:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 17 Sep 2018 12:07:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=fm3; bh=S1IEjieNq/pusoz5wtoCczL61xYJw 1O+l42cXFYIhu4=; b=blBdPrudAxQy5HPzoQOZoXuCWRZXuBWTtvk8LxWIIyJFS sPVO6Z4ci2qk3uewKo5Sx1LsIuikIZJs2pOB3PkHpt1wANyvTUUh0kX7yWMvDaTC 8JoGTTf4HX16ew0qzz3wHszf+oDHTcHvXre3CRbJAygxaFDBC4YkbPo9MxbBnBj1 8VbVzRQz2+ooGreHQkD5BeRzs4qthSisHLx30tsme7Q7SdrN8yb2zGI1VSr2j34y Al66HRHuemCrx3yBSkWUffakv3rdhf2YChc4kmf8sbmL2SfYyW7WWn6n+0Y1l4U/ jm6Ajqy7HuSIH6+ctp+rJc/7n8q5eXAXiROsH9AfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm3; bh=S1IEji eNq/pusoz5wtoCczL61xYJw1O+l42cXFYIhu4=; b=ImsaVXrnwOqhjy9OpS1XJX sJ/KrGtzBWZ+aTM1Pos/w5y+4lO77wJpTk6upSRrnqVYHbwysX55OKxjI4yEXjPV nT2jJtnxIhSJuPBikrwcAiOxpx9CeVvZsQj95ZBs2ugLcwvVGGdQWM7il3M6shE1 8OX/ilKF54YPhzDfbZPhE6Jggi78TxXe8wlhEDfd1GKlhgqldmFxd/DJVZkvBYYk lZXuVFzog13c31JQZ5J9oZvjLqNKNCoRV8+2NjtLsSFONVeGX2CBsVQQ/pGv+JmQ 3QHEg4kPsp44GVjLY/2j1/+Clzq/khGUZavBlqUqZaDLDc/5UCXno9rTHeDpUUnQ == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 48FA5E47B5; Mon, 17 Sep 2018 12:07:08 -0400 (EDT) Subject: Re: Pgbouncer and postgres To: Nicola Contu Cc: pgsql-general@postgresql.org References: <7bceb23a-8724-7fd9-bf74-e5dfd557283e@aklaver.com> <6d2f155c-4bd4-14d8-bbf2-506617c9462a@aklaver.com> <335c53c9-f603-090e-8dbd-8a41cd285e68@aklaver.com> <76637bc1-65c0-8a73-743e-e5a2d40265f1@aklaver.com> From: Adrian Klaver Message-ID: Date: Mon, 17 Sep 2018 09:07:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/17/18 8:59 AM, Nicola Contu wrote: > Yeah, I replaced the IP of the machine with the word IP_ADDR. > > On the pgbouncer log I get this while trying to connect via psql: > > 2018-09-17 15:56:49.452 67611 WARNING tune_socket(16) failed: Operation > not supported > 2018-09-17 15:56:49.452 67611 NOISE safe_close(16) = 0 > 2018-09-17 15:56:49.452 67611 NOISE safe_accept(13) = Resource > temporarily unavailable > 2018-09-17 15:56:50.728 67611 NOISE safe_accept(13) = 16 (unix:) > 2018-09-17 15:56:50.729 67611 NOISE new fd from accept=16 > 2018-09-17 15:56:50.729 67611 WARNING tune_socket(16) failed: Operation > not supported > 2018-09-17 15:56:50.729 67611 NOISE safe_close(16) = 0 > 2018-09-17 15:56:50.729 67611 NOISE safe_accept(13) = Resource > temporarily unavailable > 2018-09-17 15:56:56.418 67611 NOISE safe_accept(11) = 16 > (10.151.2.145:58696 ) > 2018-09-17 15:56:56.418 67611 NOISE new fd from accept=16 > 2018-09-17 15:56:56.418 67611 NOISE safe_accept(11) = Resource > temporarily unavailable Can you connect to the actual database running on port 5432? Deciphering the above log is beyond my capabilities. I think it is time to file an issue here: https://github.com/pgbouncer/pgbouncer/issues -- Adrian Klaver adrian.klaver@aklaver.com