pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Wigal (Referee Assistant) <jeff@referee-assistant.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Fwd: Problem with connection dropping
Date: Mon, 13 Apr 2009 21:06:55 -0400
Message-ID: <26297.1239671215@sss.pgh.pa.us> (raw)
In-Reply-To: <3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.com>
References: <3a1553070904102021u2a9ae1b4kbedd70123db5baba@mail.gmail.com>
	<6954.1239420471@sss.pgh.pa.us>
	<3a1553070904131754h77784277qccf7029fe4af2180@mail.gmail.com>
	<3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.com>

"Jeff Wigal (Referee Assistant)" <jeff@referee-assistant.com> writes:
> Not 100% sure what's going on with the network between here and there.  He's
> on a Time Warner or Comcast residential network between his PC in Colorado

Ick ...

> He's not intentionally leaving a connection open.  When things go as they
> should, the entire transaction lasts about 3-4 minutes from connection to
> disconnect.

Well, your log shows about 17 minutes between connection and timeout,
so apparently things didn't go well.  I'd like to think that Comcast
doesn't cut connections after just a minute or two of idle time, but
they might well drop 'em at ten or so minutes.

If your server platform supports it, setting tcp_keepalives_interval
to a few minutes might prevent the drop.

			regards, tom lane



view thread (4+ messages)

Message-ID: <26297.1239671215@sss.pgh.pa.us>
Permalink:  ../26297.1239671215@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26297.1239671215@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-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff@referee-assistant.com
  Subject: Re: Fwd: Problem with connection dropping
  In-Reply-To: <26297.1239671215@sss.pgh.pa.us>
  References: <3a1553070904102021u2a9ae1b4kbedd70123db5baba@mail.gmail.com> <6954.1239420471@sss.pgh.pa.us> <3a1553070904131754h77784277qccf7029fe4af2180@mail.gmail.com> <3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.com> <26297.1239671215@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