Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOL7-0002tE-06 for pgsql-general@arkaria.postgresql.org; Mon, 08 Jul 2019 07:45:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hkOL5-0002tU-JK for pgsql-general@arkaria.postgresql.org; Mon, 08 Jul 2019 07:45:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOL5-0002tN-6U for pgsql-general@lists.postgresql.org; Mon, 08 Jul 2019 07:45:31 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkOL3-0005gg-0e for pgsql-general@postgresql.org; Mon, 08 Jul 2019 07:45:30 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6EA2721B24; Mon, 8 Jul 2019 03:45:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 08 Jul 2019 03:45:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=ZfBPhE+chpTvn3kjX1FazcAwgoM iR3LVtu7UcOOT0oE=; b=IjATQzUhHt7AcI5NdmKDAboCh/G91/suzBatw5i1yg2 bsqCurinJiyHU9fc1VlcQnOesZJyW/cvHZVTAQUN6mBcJ3S60106jwcb2R7KmV56 XUTm8dh+af4DtuF3pGl8nH2piscrmJoHCqQIWmvlmXQyGIvwtB6Llj1Aw7rGWA6E ZnwIEkO1Gmk9Eae3RjRyyQz8jWhcrwVrFKdVwSTvFAXckxLp6VAxOm6gmUh0g81k lmgHfunJAZTLyivK+sedmkPG3XKcdt7JWIiNSYFWMEH+vG8Tmv/3SeBmewc8+4vU OkGyV0jOj+AeG7ErD22s2mtnhTl69oKtHO2opAVBOpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ZfBPhE +chpTvn3kjX1FazcAwgoMiR3LVtu7UcOOT0oE=; b=zRWUmZI7wYBByKaUlvLpSC fkWHMPPAt4tf58q0U4YRcBcC6NDHgwiUsku1QDSB8rZJe2WCY3K00U6wlJfbzYTw eECv85YihN0lTy/Bm1+ZoDUredDvI36YTgxc+EKbNc/NP9Uem0ridEncaJryHVch D04RcFxYAlNeg806SJ47oifmcF5xgyjbrYpT4PI2Odevj6pmWGlQFnqMc8xhdrl4 Jfs99pgrSWxz4zhTq2XpMO0l78aWkklnfYa9CIg2U0EdZtkvsC3MVIDXBloiIt+y xfmxYyZoSZwd4n/ZueJdgtIQMzMcIlRJqeQ1hNeeT2VB+fIdf613WXmTzSvwyb8Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfeelgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucfkphepudduuddrud dtvddrudektddrudekheenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhes phgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 75231380086; Mon, 8 Jul 2019 03:45:26 -0400 (EDT) Date: Mon, 8 Jul 2019 16:45:23 +0900 From: Michael Paquier To: Tom Lane Cc: AYahorau@ibagroup.eu, pgsql-general@postgresql.org Subject: Re: Active connections are terminated because of small wal_sender_timeout Message-ID: <20190708074523.GE2709@paquier.xyz> References: <1174.1562335396@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Lb0e7rgc7IsuDeGj" Content-Disposition: inline In-Reply-To: <1174.1562335396@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Lb0e7rgc7IsuDeGj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 05, 2019 at 10:03:16AM -0400, Tom Lane wrote: > AYahorau@ibagroup.eu writes: >> Do you have any thoughts regarding this issue?=20 >=20 > I do not think anybody thinks this is a bug. Setting wal_sender_timeout > too small is a configuration mistake. Yeah. I don't see any bug here. Please note that it can be also a problem to set up a too high value in some configuration setups. The lack of flexibility in this area is why wal_sender_timeout has been switch to be user-settable in v12. In short you can configure it in the connection string to enforce a custom value per standby. -- Michael --Lb0e7rgc7IsuDeGj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0i9JMACgkQnvQgOdby QH04DxAAqBcLwn1Z/qvM5Fl3T2ykptWQCQ+LFARHY7vKU5PCeUT9Hk743JsOIr22 9vy1mtAz1P4XHsK4iKinc9/vzyMSnZQA/wanRbZQPb+0FcKO1ZZbUb9cBV9cnue2 n6FLY5giJN9oEtWRplH3ZS3CRzVj3IE/j3NTXMPHNa6lKEKSGs48zHR2aiRBXwLJ StE9FWsVV44ExFGDbSh4aABBdT28zi40q72ZeNk6S8H/VR203rKSykbNrq1Wbt26 yeCFKVMufsFMjK76AflO5nNnOqOP+dLkaSiTuMM5zqbUIs/thxSHuDlmyNtRgLSC NB8TyiWrgeUGtovsojPhTXAiQ0RWLQ3+W6L62VdO0Xv1tGP/E/KDZganZxRgqJVG 8BGVpF48DgmdTdZkMUek4YAExqysoCp+QrRFfCWgAZhB5J0MsfX42Psh9bemrPri CeR15Wt7kYAGpQldBFJojKuIkyWGM54MafWxkks+FuMXtY1LsZH99ZSQCDK9Begk jSp6ghr1Bhm1/47b41Z/BpVvkJivmzoBZYNQ5KdJuvPGkM7YRhyIufPKWSLDPKro 0KKw1YdWxmKzz9sGLdErtZAm49mXwOOsat3g6qE3frBi86j2rX+bHW1rKYedt25m 7ZPezBL8ccquchhioDECyOmr2yO6PBhVuTSyHTnYJeU6SsD9eCs= =9NME -----END PGP SIGNATURE----- --Lb0e7rgc7IsuDeGj--