pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Donald Fraser <demolish@cwgsy.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Lost connections
Date: Thu, 30 Jan 2003 18:53:59 -0500
Message-ID: <706.1043970839@sss.pgh.pa.us> (raw)
In-Reply-To: <005301c2c893$4ebd1f00$1664a8c0@DEMOLITION>
References: <005301c2c893$4ebd1f00$1664a8c0@DEMOLITION>

"Donald Fraser" <demolish@cwgsy.net> writes:
> As you can see there still existed the connection to the database that I ha=
> d established from the Java app (from my computer 192.168.100.22).

FWIW, that backend will eventually time out and go away.  The delay is
determined by whatever the TCP_KEEPALIVE code in your kernel does before
reporting the connection to be lost.  It's probably an hour or so, if
the TCP code is RFC-compliant.  I would not necessarily consider it a
good idea to shorten that delay; you'd be giving up robustness against
transient communication problems if you do.

			regards, tom lane



view thread (3+ messages)

Message-ID: <706.1043970839@sss.pgh.pa.us>
Permalink:  ../706.1043970839@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/706.1043970839@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, demolish@cwgsy.net
  Subject: Re: Lost connections
  In-Reply-To: <706.1043970839@sss.pgh.pa.us>
  References: <005301c2c893$4ebd1f00$1664a8c0@DEMOLITION> <706.1043970839@sss.pgh.pa.us>

* 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