Skip site navigation (1) Skip section navigation (2)

Re: Connection Timeout

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Anagha Joshi" <ajoshi(at)nulinkinc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Connection Timeout
Date: 2003-08-18 13:23:43
Message-ID: 21967.1061213023@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Anagha Joshi" <ajoshi(at)nulinkinc(dot)com> 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

In response to

pgsql-admin by date

Next:From: Sam Barnett-CormackDate: 2003-08-18 22:51:47
Subject: Re: dbase ODBC error
Previous:From: Mendola GaetanoDate: 2003-08-18 12:37:40
Subject: Re: get current queries

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group