Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qo8a7-000HWW-8C for pgsql-admin@arkaria.postgresql.org; Wed, 04 Oct 2023 20:34:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qo8a3-004JPa-CE for pgsql-admin@arkaria.postgresql.org; Wed, 04 Oct 2023 20:34:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qo8a2-004JPS-St for pgsql-admin@lists.postgresql.org; Wed, 04 Oct 2023 20:34:51 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qo8Zz-0003T2-J7 for pgsql-admin@lists.postgresql.org; Wed, 04 Oct 2023 20:34:49 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-405361bb9f7so1943355e9.2 for ; Wed, 04 Oct 2023 13:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1696451685; x=1697056485; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ghSCnZSzhj7zRvcEsljtj87yLfDFklo0/yKj8e4tqqw=; b=PrrbXmdWd+NCtHWLeGhRjBMnJMjAejrpX/QbiX9cynqg6Y1xKYAPXHRTzk2bm9I62g Y04KZtIbsVro6r57mSXaQ/omutEWgCJnLA4e8cBnWChZjJNqlpZaQjn/6BGFXnliNw4b kz2BqAeE6BBFXTZuTtF616tZphD/2k1ltU0DEc0n7u61A+O8vimxr78Sib3Hz9H8kILl BM84xuV0EFOfCjb0gB7OBa/jqrbRwKbuO0sfYGQ5ee164cxKiGhQscuqrTLuOSDpUMgR NUKJ7TowtKtslcgHvOi6omgrx9W3LB4ncBrQCFa7vS/xEgJIWKHZMOCKDARfg2jo/0iZ DzKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696451685; x=1697056485; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ghSCnZSzhj7zRvcEsljtj87yLfDFklo0/yKj8e4tqqw=; b=fRNcr5ZRNE9/WKXyXl39BMoh9EvvVzue54gJD494Lp+LlNTZ+37hls8REcCA6eLS+c VRXqJUQOA5uZY1HOebPW611xVN6RYSoU+6ZxvpuBDmF5LTpviD3truSYevM4TScgStMA 77WWReBAe+tq6InAHBSPFaMmhf9mW8ejmJFNgqwX8rx8T4eFcvalgMEUgzk2BL/cZ54r gCKTJ6ZJFk+Iimvq7XfARxqx65erth4EdCH5D19414tf3o+VMvS0ciyYMBXsWdkO2f83 h26tAe1hBiNlFDE8ZY2RLvgrOVJoQ7BDGLNIuwt3+f/GQStWAgYI8GXZXFVjT/atVZnE Hf4A== X-Gm-Message-State: AOJu0YxLk8N+uNE8PYGzrPOAibm3zEgFgmaOPGeD+jJOa89BUKuS7UbM 7ntM/JpEW/s0iJoRPHZKQN5VkkTuG24sYmO8m4jAnQ== X-Google-Smtp-Source: AGHT+IGt20OtkJpwFJGOEJlJtgTsFDt9yzfOsJqk8VBtS0akMmxQli64DZHWB+F75IhdvOglrYde8w== X-Received: by 2002:a7b:c8c8:0:b0:402:cf9f:c02d with SMTP id f8-20020a7bc8c8000000b00402cf9fc02dmr3286190wml.8.1696451685308; Wed, 04 Oct 2023 13:34:45 -0700 (PDT) Received: from localhost.localdomain (62-46-250-165.adsl.highway.telekom.at. [62.46.250.165]) by smtp.gmail.com with ESMTPSA id 1-20020a05600c230100b0040644e699a0sm2292171wmo.45.2023.10.04.13.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 13:34:45 -0700 (PDT) Message-ID: <37b909eb3a90ce66315ff88d62f122a47399b720.camel@cybertec.at> Subject: Re: Idle_session_timeout From: Laurenz Albe To: Rajesh Kumar , Pgsql-admin Date: Wed, 04 Oct 2023 22:34:44 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2023-10-04 at 21:08 +0530, Rajesh Kumar wrote: > I was facing issue with idle connections not closed. >=20 > So, I thought of automating it and set the parameter idle_session_timeout= to 5min. > But I got a message from application team that they are getting jdbc erro= r > continuously and they are saying connection is getting terminated. > So I had to turn it off now. Yes, if the connection is forcibly closed by the server, the client won't b= e happy. If you say "idle connections not closed", that is the fault of the applicat= ion. The application has to explicitly close all connections it does not need an= y more. Yours, Laurenz Albe