Re: [Bulk] Re: Disconnecting non active (IDLE ) users - Mailing list pgsql-admin

From August Zajonc
Subject Re: [Bulk] Re: Disconnecting non active (IDLE ) users
Date
Msg-id 45FF0470.2050403@augustz.com
Whole thread Raw
In response to Re: [Bulk] Re: Disconnecting non active (IDLE ) users  ("Ted Byers" <r.ted.byers@rogers.com>)
List pgsql-admin
Ted Byers wrote:

[snip]
> It is outrageously unethical, IMHO, for a programmer, or group thereof,
> to refuse to fix a problem that has arisen from how their targetted
> users use their application.

Let's save the determination of outrageous behavior for others and see
if we can help the user fix their problem.

Two suggestions:
Pgpool

Change keepalive settings in kernel if the machine is only used for
postgresql. If you disable keepalives, at some point the kernel will
likely drop the connection. Postgresql turns keepalives on by default
(which is usually a good thing).

Your apps should login transparently though and know how to handle this
issue. Prompting users repeatedly to login can be frustrating, the usual
question is how to keep a connection open longer :)

I'm not sure that postgresql would itself implement a timeout feature...

Good luck.

- August

pgsql-admin by date:

Previous
From: "Karthikeyan Sundaram"
Date:
Subject: Re: create view with check option
Next
From: "Peter Koczan"
Date:
Subject: converting from Sybase to Postgres