Re: tcp_keepalives_idle ignored

From: "henry" <henry(at)zen(dot)co(dot)za>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: tcp_keepalives_idle ignored
Date: 2008-01-14 12:39:47
Message-ID: 63000.196.23.181.69.1200314387.squirrel@zenmail.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, January 14, 2008 12:49 pm, henry wrote:
> WRT the origional question: why is tcp_keepalives_idle being ignored
> (whether with SET or in postgresql.conf)? - ie, SHOW ALL says it's 0 no
> matter what I do.

A quick follow-on with more info to my own post.

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.

Regards
Henry

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Schwarzer 2008-01-14 13:06:15 Forgot to dump old data before re-installing machine
Previous Message hiddenhippo 2008-01-14 12:36:23 backup and restore