Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 50AF3B5DBD1 for ; Thu, 22 Sep 2011 13:00:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 80107-05 for ; Thu, 22 Sep 2011 16:00:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from oproxy5-pub.bluehost.com (oproxy5-pub.bluehost.com [67.222.38.55]) by mail.postgresql.org (Postfix) with SMTP id 98A62B5DC5F for ; Thu, 22 Sep 2011 13:00:43 -0300 (ADT) Received: (qmail 14078 invoked by uid 0); 22 Sep 2011 16:00:42 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by cpoproxy2.bluehost.com with SMTP; 22 Sep 2011 16:00:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=JfadLhqN9apYYqHa1Om8HStVO5+ZhS5XkAMHVCYxs4I=; b=hHfHEZqrqX8d1OPOA3dLKpb3xeTa4Lh0ly8bGnqKtQZEz8m+LT261n9dEj7mpzA8Ll+dMdCaFF4h4Q/KCE8+EXyVP/h20XXGwPbPezfJzL/brTEalL7FqU8AKIwOQRpx; Received: from [201.2.89.169] (helo=[10.3.2.2]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R6lhZ-0004Zt-H1; Thu, 22 Sep 2011 10:00:41 -0600 Message-ID: <4E7B5B64.3070206@timbira.com> Date: Thu, 22 Sep 2011 12:59:32 -0300 From: Euler Taveira de Oliveira User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Linas Virbalas CC: Robert Haas , Florian Pflug , "pgsql-hackers@postgresql.org" Subject: Re: Hot Backup with rsync fails at pg_clog if under load References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 201.2.89.169 authed with euler@timbira.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201109/1145 X-Sequence-Number: 195334 On 22-09-2011 11:24, Linas Virbalas wrote: > In order to check more cases, I have changed the procedure to force an > immediate checkpoint, i.e. pg_start_backup('backup_under_load', true). With > the same load generator running, pg_start_backup returned almost > instantaneously compared to how long it took previously. > > Most importantly, after doing this change, I cannot reproduce the pg_clog > error message anymore. In other words, with immediate checkpoint hot backup > succeeds under this load! > Interesting. I remembered someone reporting this same problem but it was not reproducible by some of us. > Do you have ideas why does the Hot Backup operation with > pg_start_backup('backup_under_load', true) succeed while > pg_start_backup('backup_under_load') fails under the same load? > I don't but if you show us the output of the steps above... > If needed, I could do that, if I had the exact procedure... Currently, > during the start of the backup I take the following information: > Just show us the output of pg_start_backup and part of the standby log with the following message 'redo starts at' and the subsequent messages up to the failure. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento