Re: Postgres Disconnection problems - Mailing list pgsql-general

From Tom Lane
Subject Re: Postgres Disconnection problems
Date
Msg-id 16832.1132371480@sss.pgh.pa.us
Whole thread Raw
In response to Postgres Disconnection problems  ("Otto Blomqvist" <o.blomqvist@secomintl.com>)
List pgsql-general
"Otto Blomqvist" <o.blomqvist@secomintl.com> writes:
> So far so good. Problem is that the postmaster does not detect this
> connection as dead and keeps it idle for an unknown amount of time. This is
> a real problem for us because we use persistent connections to authorize
> access to a custom built 68030 based system, which has a limited number of
> "slots" that we can use. By not releasing a dead connection we are also
> holding that 68030 slot busy.

PG 8.1 lets you fool with the TCP keepalive timeouts, if you are on a
platform that allows per-connection adjustment of them (which recent
Linuxen do).

            regards, tom lane

pgsql-general by date:

Previous
From: "Jeremy Palmer"
Date:
Subject: Re: DISTINCT ON
Next
From: Oliver Elphick
Date:
Subject: Re: Upgrading from 8.0 to 8.1 on Debian