| From: | Andrew Sullivan <ajs(at)crankycanuck(dot)ca> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: killing idle postgres instances |
| Date: | 2004-02-06 12:49:03 |
| Message-ID: | 20040206124903.GA22232@phlogiston.dyndns.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
On Thu, Feb 05, 2004 at 08:56:15PM -0200, Marcus Andree S. Magalhaes wrote:
>
> Thanks, Tom,
>
> but the connections are closed by a finally clause.
If you have idle connections, then necissarily, that's not happening.
> And, besides, when the vm exits, all tcp/ip connections should be closed...
I've definitely seen cases where this is not the case; they're
closed, but not properly. Eventually PostgreSQL will notice that the
client is gone and shut the connection down, but that will take some
time (like 2 hours).
A
--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The plural of anecdote is not data.
--Roger Brinner
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2004-02-06 12:50:24 | Re: ResultSet construction and byte arrays |
| Previous Message | Jan Oksfeldt Jonasen | 2004-02-06 12:25:46 | ResultSet construction and byte arrays |