Re: Time-Out Issue

From: Chris Campbell <ccampbell(at)cascadeds(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Time-Out Issue
Date: 2014-01-08 20:23:52
Message-ID: 453A24085F801842AEA8D0B6B269065D03E0D8DDD350@HDMC.cds.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Wednesday, January 08, 2014 12:02 PM
To: Chris Campbell
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Time-Out Issue

Chris Campbell <ccampbell(at)cascadeds(dot)com> writes:
>> In PostgreSQL 9.3.2, is there a default time-out for running processes (specifically a view via a data connection) that take a long time?

>Why do you say the error is "from PostgreSQL"? It seems rather more likely that this is some kind of client-side timeout.

>If the query requires a great deal of server think-time before it sends any rows, it's possible that you are hitting a network connection timeout.
>NAT routers in particular often drop "idle" connections after a few minutes. That breaks all sorts of RFC rules, but they do it anyway.
>You can usually work around network issues by setting aggressive TCP keepalive parameters, either at the server or client end, to keep some traffic flowing on the network link.

>I don't know what Devart is, but another possibility is that it has got some idea of a query timeout.

Hey, Tom. Thanks for your reply.

I don't actually "know" that the message is being returned from PostgreSQL, technically speaking the data connection is raising the message but the data connection is getting its information from somewhere. I'm simply going through a process of elimination to get to the bottom of this issue. I've already confirmed that the "statement_timeout" value = 0 per Kevin's suggestion.

Devart has a 3rd party control (dotConnect) that I use in my .net environment. As I mentioned, the Devart control has no setting for determining how long a process can execute, only how long it tries to establish a connect before giving up.

I will have the local Network Admin. look into the networking settings you described.

Thanks so much for your help. I really appreciate it.

Chris.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Thara Vadakkeveedu 2014-01-08 21:24:58 Altering a column if it exists
Previous Message Tom Lane 2014-01-08 20:01:30 Re: Time-Out Issue