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

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
and my server down in Georgia.

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.  From a programming perspective, I'm pretty careful to
explicitly open and close connections with the program.

Any ideas?


On Fri, Apr 10, 2009 at 11:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> "Jeff Wigal (Referee Assistant)" <jeff@referee-assistant.com> writes:
> > I'm seeing some intermittent issues with a client who is trying to
> connect
> > to my Postgres server using the ODBC driver.  I have about 15 customers
> who
> > are able to connect without issue, but one seems to be having problems.
>
> > Here's what I'm seeing in the server's log file
>
> > xx.xxx.xxx.xxx(1351) 2009-04-10 21:08:20 EDT LOG:  connection authorized:
> > user=xxx database=xxx
> > ...
> > xx.xxx.xxx.xxx(1351) 2009-04-10 21:25:49 EDT LOG:  could not receive data
> > from client: Connection timed out
> > xx.xxx.xxx.xxx(1351) 2009-04-10 21:25:49 EDT LOG:  unexpected EOF on
> client
> > connection
>
> Is he allowing the connection to sit idle?  If so, this might represent
> a router timeout.  What network hardware is between your machine and
> this customer's?
>
>                        regards, tom lane
>

view thread (4+ messages)  latest in thread

Message-ID: <3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.com>
Permalink:  ../3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.com/
Also on:    postgresql.org/message-id/3a1553070904131755j19fe577bkeefde273609fa753@mail.gmail.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 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: jeff@referee-assistant.com
  Subject: Re: Fwd: Problem with connection dropping
  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>

* 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