Re: tcp_keepalives_idle ignored - Mailing list pgsql-general

From Tom Lane
Subject Re: tcp_keepalives_idle ignored
Date
Msg-id 14312.1200325567@sss.pgh.pa.us
Whole thread Raw
In response to Re: tcp_keepalives_idle ignored  ("henry" <henry@zen.co.za>)
Responses Re: tcp_keepalives_idle ignored
List pgsql-general
"henry" <henry@zen.co.za> writes:
> The culprit in my case was a local trigger firing on INSERTs using
> dblink_exec() without 'host=127.0.0.1'.  Bad news though, even _with_
> 'host=127.0.0.1' the connections do not idle timeout.  They just hang
> around waiting for the rapture.

> So,... this appears to be dblink related after all.  I'll be trying
> explicit open/exec/close.  Weird that dblink_exec in a trigger doesn't
> release resources.

Hmm, this is the transient-connection form of dblink?  If so, that would
be a bug.  Can you put together a test case?  Also, which PG version are
you using, exactly?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: tcp_keepalives_idle ignored
Next
From: Tom Lane
Date:
Subject: Re: ECPG problem with 8.3