pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: August Zajonc <augustz@augustz.com>
To: Ted Byers <r.ted.byers@rogers.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: [Bulk] Re: Disconnecting non active (IDLE ) users
Date: Mon, 19 Mar 2007 14:45:20 -0700
Message-ID: <45FF0470.2050403@augustz.com> (raw)
In-Reply-To: <030c01c75b5e$0de7ffb0$6401a8c0@RnDworkstation>
References: <erv48i$26o7$1@news.hub.org>
	<55c095e90702280801q484b75d8v3833a18c5d5a5c16@mail.gmail.com>
	<030c01c75b5e$0de7ffb0$6401a8c0@RnDworkstation>

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



view thread (6+ messages)  latest in thread

Message-ID: <45FF0470.2050403@augustz.com>
Permalink:  ../45FF0470.2050403@augustz.com/
Also on:    postgresql.org/message-id/45FF0470.2050403@augustz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: augustz@augustz.com, r.ted.byers@rogers.com
  Subject: Re: [Bulk] Re: Disconnecting non active (IDLE ) users
  In-Reply-To: <45FF0470.2050403@augustz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox