From: Jeff Frost <jeff@pgexperts.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues
Date: Tue, 26 Feb 2013 14:16:53 -0800
Message-ID: <512D3455.5040507@pgexperts.com> (raw)
In-Reply-To: <CAMkU=1xnyJwrg4E7ia6JAnsA1QUkwSxL1upY_auoecM4b3Ubiw@mail.gmail.com>
References: <E1U91WW-0006rq-82@wrigleys.postgresql.org>
<512A2EC8.4070207@usit.uio.no>
<55009DEA-C314-4F0A-9A66-D133F63C47FB@pgexperts.com>
<D2DE538F-32D2-4F70-9260-1FDAAE0F219D@pgexperts.com>
<CAMkU=1xnyJwrg4E7ia6JAnsA1QUkwSxL1upY_auoecM4b3Ubiw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 02/26/13 09:08, Jeff Janes wrote:
>
> They're all number of xlog based and the first one doesn't remove any,
> that's not surprising,
>
>
> What was the state of the pg_xlog directory before you started the test? If
> it were not full up to check_point segments * 2, (which is likely was not,
> since populating pgbench_accounts avoids WAL when not archiving), this I
> agree it is not surprising.
It always start at around 258 files.
The total WAL volume during the 10min pgbench run as evidenced by enabling an
archive command that just touches the filename is 1,972 WAL files archived, or
31G. So, it is cleaning up or recycling about 9G, unfortunately, that's just
2G too few for a 20G filesystem.
--
Jeff Frost <jeff@pgexperts.com>
CTO, PostgreSQL Experts, Inc.
Phone: 1-888-PG-EXPRT x506
FAX: 415-762-5122
http://www.pgexperts.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: jeff@pgexperts.com, jeff.janes@gmail.com, r.m.guerrero@usit.uio.no
Subject: Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues
In-Reply-To: <512D3455.5040507@pgexperts.com>
References: <E1U91WW-0006rq-82@wrigleys.postgresql.org> <512A2EC8.4070207@usit.uio.no> <55009DEA-C314-4F0A-9A66-D133F63C47FB@pgexperts.com> <D2DE538F-32D2-4F70-9260-1FDAAE0F219D@pgexperts.com> <CAMkU=1xnyJwrg4E7ia6JAnsA1QUkwSxL1upY_auoecM4b3Ubiw@mail.gmail.com> <512D3455.5040507@pgexperts.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox