Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U9kOR-0004tH-8i for pgsql-bugs@arkaria.postgresql.org; Sun, 24 Feb 2013 22:50:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U9kOQ-00053Y-G3 for pgsql-bugs@arkaria.postgresql.org; Sun, 24 Feb 2013 22:50:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U9kOP-00053O-HS for pgsql-bugs@postgresql.org; Sun, 24 Feb 2013 22:50:01 +0000 Received: from mail-out1.uio.no ([2001:700:100:10::57]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U9kON-0002Z8-Ml for pgsql-bugs@postgresql.org; Sun, 24 Feb 2013 22:50:00 +0000 Received: from mail-mx6.uio.no ([129.240.10.40]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1U9kOL-0007sG-B9; Sun, 24 Feb 2013 23:49:57 +0100 Received: from cm-84.208.133.67.getinternet.no ([84.208.133.67] helo=[10.1.1.200]) by mail-mx6.uio.no with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) user rafael (Exim 4.80.1) (envelope-from ) id 1U9kOK-0002ri-Oo; Sun, 24 Feb 2013 23:49:57 +0100 Message-ID: <512A9954.1090406@usit.uio.no> Date: Sun, 24 Feb 2013 23:51:00 +0100 From: Rafael Martinez Guerrero Organization: University of Oslo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Jeff Frost CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues References: <512A2EC8.4070207@usit.uio.no> <55009DEA-C314-4F0A-9A66-D133F63C47FB@pgexperts.com> In-Reply-To: <55009DEA-C314-4F0A-9A66-D133F63C47FB@pgexperts.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-UiO-Ratelimit-Test: rcpts/h 2 msgs/h 1 sum rcpts/h 4 sum msgs/h 1 total rcpts 698 max rcpts/h 23 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 4FF0191A04DB736A17C0576D010D918DF0098544 X-UiO-SPAM-Test: remote_host: 84.208.133.67 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 37 max/h 2 blacklist 0 greylist 0 ratelimit 0 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 02/24/2013 10:05 PM, Jeff Frost wrote: > > On Feb 24, 2013, at 7:16 AM, Rafael Martinez Guerrero > > wrote: > >> We reported this back in 2011, but we did not get to any conclusion: >> http://www.postgresql.org/message-id/4DE89072.7070305@usit.uio.no >> >> In our case, we had this problem when creating a GIN index. >> >> I think the problem has something to do with checkpoints, I think the >> number of WAL files will grow beyond the limit defined because the >> system can not be finish with checkpoints. A good start to try to >> explain what it is happening would be to try to identify or describe the >> situations where checkpoints can take very long to complete or fail >> altogether. >> >> We are interested in this subject because we have had this problem a few >> times. But we have not been able to identify the reason that triggers >> this. > > Rafael, did you do a followup post on pgsql-performance, or did the > thread die at the end of the one you post above? > Jeff, we didn't have the time to continue investigating this problem that time. Our workaround was to increase the size of our pg_xlog partition so we could finish the export/import job we had to do. regards, -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs