Re: [Bulk] Re: Disconnecting non active (IDLE ) users

From: August Zajonc <augustz(at)augustz(dot)com>
To: Ted Byers <r(dot)ted(dot)byers(at)rogers(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [Bulk] Re: Disconnecting non active (IDLE ) users
Date: 2007-03-19 21:45:20
Message-ID: 45FF0470.2050403@augustz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Koczan 2007-03-20 00:03:33 converting from Sybase to Postgres
Previous Message Karthikeyan Sundaram 2007-03-19 20:41:31 Re: create view with check option