Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues

From: Rafael Martinez Guerrero <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
To: Jeff Frost <jeff(at)pgexperts(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues
Date: 2013-02-24 22:51:00
Message-ID: 512A9954.1090406@usit.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 02/24/2013 10:05 PM, Jeff Frost wrote:
>
> On Feb 24, 2013, at 7:16 AM, Rafael Martinez Guerrero
> <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no <mailto:r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>> 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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pedro.ferro 2013-02-25 16:03:19 BUG #7904: can´t load DBI-Link
Previous Message Jeff Frost 2013-02-24 21:55:44 Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues