Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb5ob-0007K3-Q5 for pgsql-general@arkaria.postgresql.org; Tue, 19 May 2020 17:14:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jb5oa-0005Jf-MF for pgsql-general@arkaria.postgresql.org; Tue, 19 May 2020 17:14:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb5oZ-0005JY-5Q for pgsql-general@lists.postgresql.org; Tue, 19 May 2020 17:14:04 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb5oW-0000sR-AA for pgsql-general@postgresql.org; Tue, 19 May 2020 17:14:02 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 91F9E780; Tue, 19 May 2020 13:13:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 19 May 2020 13:13:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=Y fFM/RAnLt8kzDnjfSa4I+BC/36bxAjzdUY8rhCxmpI=; b=oV4t4O3JOPvPF3sUt ElmR1r0DRe2ADD9e+DKrT6n1q1BJ+jlAXi11Nb2S742P/H1OOSTiHmi+Th+bpJLI 7SCVxtIHQAH+Jo+qaCaCaTA4rcGRyo9bfyGB92uobcll3umzM7OJjLSCiC7+UGSX uONYFFMp3YpDedL6wJJho73MKIF/buxpUMlJUvq2LvQ43kWbpjkwP5NSKcuZNq1N BRC5H8E9HKicuPLg+sNrO8Ns535Oh6ycqtqSUxtd9XgxZNRfy7SzjJ7jiesCJ2TQ +TTqyqGZPxM2w6vEQk3BZZ5Mt/3PLTYw2Ozgyz/yHirmOyvBZl88oT5d39lQJuWw y5wEA== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=YfFM/RAnLt8kzDnjfSa4I+BC/36bxAjzdUY8rhCxm pI=; b=fpeHuHw44osmDfl2/cb3kTP61bfzRZweNPsIZ0ye+WDm8Lnifi9M7o8BF rKJBIb073fhNYsXaAY94cxgyTfDvTzIJo891y0bAMxjtWujZms1VBGAS/+5V5wJZ HqvITJmNB8zJu/DHBWbkVBBpNSlv9WgLDZrZJfFRF/n+rMO5SSBo86vFjsv8nmSm 1GbyE9t10TerCgLQpJZm3un2EkdBGwqWxDm4EQp4d22vDu9oUAkJM+r9QnSy6rVa QjZV8pes5fuIknAX6dJgE0p0tHRLaoOOXPzMAdp+9M0nmEU8BR5xGVE+38aZNylQ 5H9za/JAoNFomIjsN+TQwcaroFYzA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepveevfeevfeeugeffkeekhfegieeufffgteeujedv gffhueejjefhkeejleegtdegnecukfhppeejhedrudejvddrhedrvdefudenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 4A7083066431; Tue, 19 May 2020 13:13:57 -0400 (EDT) Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 To: Ishan Joshi , "pgsql-general@postgresql.org" References: <5d7896b5-15f9-d5ed-5338-04ba1910c6dd@aklaver.com> From: Adrian Klaver Message-ID: <8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com> Date: Tue, 19 May 2020 10:13:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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 5/19/20 8:07 AM, Ishan Joshi wrote: > Hi Adrian, > > 1) What OS and version and did it change between 11 and 12? --> it is > cent os 7 an both v11.5 and v12.2 are on same server. > > 2) How are you starting the server and did that change?  --> through > systemctl start postgresql-12 > > 3) When did you copy the 11 *.conf files over and did you restart the 12 > server after? --> copy and restart the server 12 > > 4) What is being logged to the file e.g. connections/disconnects, etc? > --> yes these are getting logged Just an FYI it worked on 12.2 and 12.3 instances on my machines: --2020-05-19 10:01:22.489 PDT-0LOG: parameter "idle_in_transaction_session_timeout" changed to "30s" [unknown]-[unknown]-2020-05-19 10:01:46.970 PDT-0LOG: connection received: host=[local] [unknown]-aklaver-2020-05-19 10:01:46.971 PDT-0LOG: connection authorized: user=aklaver database=task_manager application_name=psql psql-aklaver-2020-05-19 10:02:22.869 PDT-0FATAL: terminating connection due to idle-in-transaction timeout psql-aklaver-2020-05-19 10:02:22.869 PDT-0LOG: disconnection: session time: 0:00:35.899 user=aklaver database=task_manager host=[local] > > Thanks & Regards, > > Ishan Joshi > -- Adrian Klaver adrian.klaver@aklaver.com