X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 02E55D1BBB6 for ; Mon, 18 Aug 2003 13:23:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 98645-08 for ; Mon, 18 Aug 2003 10:23:44 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 25B38D1BB92 for ; Mon, 18 Aug 2003 10:23:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7IDNh5H021968; Mon, 18 Aug 2003 09:23:43 -0400 (EDT) To: "Anagha Joshi" Cc: pgsql-admin@postgresql.org Subject: Re: Connection Timeout In-reply-to: References: Comments: In-reply-to "Anagha Joshi" message dated "Mon, 18 Aug 2003 13:33:59 +0530" Date: Mon, 18 Aug 2003 09:23:43 -0400 Message-ID: <21967.1061213023@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/199 X-Sequence-Number: 9920 "Anagha Joshi" writes: > Consider the following: > I opened 5 connections to the Postgres Server and did not use those > connections at all.i.e. I did not perform any activity on the any > databases. > What happens to those connections? Are they still Active after long > duration? Or any session timeout related parameter has to be configured? There is no connection timeout. I do not believe there should be one, at least not on the server side. We do use "TCP keepalive" mode, which means that if a remote machine stops being contactable, connections from it will be closed after a timeout. But that doesn't apply for local connections. regards, tom lane