Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C0F53632FFF for ; Mon, 13 Apr 2009 22:07:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 72035-02 for ; Mon, 13 Apr 2009 22:06:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6A05E632D1B for ; Mon, 13 Apr 2009 22:06:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n3E16tmR026298; Mon, 13 Apr 2009 21:06:55 -0400 (EDT) To: "Jeff Wigal (Referee Assistant)" cc: pgsql-odbc@postgresql.org 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> Comments: In-reply-to "Jeff Wigal (Referee Assistant)" message dated "Mon, 13 Apr 2009 20:55:23 -0400" Date: Mon, 13 Apr 2009 21:06:55 -0400 Message-ID: <26297.1239671215@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.151 tagged_above=0 required=5 tests=AWL=0.151 X-Spam-Level: X-Archive-Number: 200904/14 X-Sequence-Number: 9833 "Jeff Wigal (Referee Assistant)" 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