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

Re: Client connection lost; still in the task list

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Didier Gasser-Morlay" <didiergm(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Client connection lost; still in the task list
Date: 2008-04-22 17:29:28
Message-ID: 24431.1208885368@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Didier Gasser-Morlay" <didiergm(at)gmail(dot)com> writes:
> So my question is what makes PostgreSQL realise that a connection is
> dead ? when will it drop it and free the connection ?

It'll drop it when the kernel tells it the connection is dead.
Standard TCP timeouts are measured in hours, though.  You might
be able to get a shorter timeout to be applied by fooling with
the "keepalive" parameters, if those can be adjusted on your platform.

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: Fernando FontanaDate: 2008-04-22 18:45:31
Subject: pgoptions syntax?
Previous:From: Didier Gasser-MorlayDate: 2008-04-22 17:18:00
Subject: Client connection lost; still in the task list

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