Re: queries timeout during backup postgres database

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: queries timeout during backup postgres database
Date: 2012-01-10 00:17:33
Message-ID: CAOR=d=3rmDtc+djWuYHJx7eLLx9rqUA0XLv5kAapVfRiMrH-Zw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jan 9, 2012 at 1:06 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> On Mon, Jan 9, 2012 at 12:37 PM, akp geek <akpgeek(at)gmail(dot)com> wrote:
>> I have  statement_timeout  as commented in the postgresql.conf. I just
>> checked it..
>
> statement timeout, like so many things, can be set per user or per
> database.  Connect as the backup use and issue this statement:
>
> show statement_timeout;

The other possibility is that you're getting a network timeout while
waiting for a response to a select statement. Most network timeouts
are ~2 hours, but if you've got a firewall look at timeouts. Any
timeouts should be disabled to troubleshoot.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2012-01-10 00:44:58 Re: How do you change the size of the WAL files?
Previous Message Tom Lane 2012-01-09 23:58:16 Re: How do you change the size of the WAL files?