Re: Vacuum full - disk space eaten by WAL logfiles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lee Wu" <Lwu(at)mxlogic(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum full - disk space eaten by WAL logfiles
Date: 2005-01-11 19:59:55
Message-ID: 3615.1105473595@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Lee Wu" <Lwu(at)mxlogic(dot)com> writes:
> Here is postgres log from 20:17:42 to 20:25:35.
> I did NOT removing anything except hostname and table names.

Hmm. That shows the checkpoint process (8213) in a tight loop removing
unwanted XLOG files. But apparently it is being starved for cycles ---
look at the gaps between log entries. There's no problem with removing
eight per second at 20:17:46, but after that there are periods of 10 to
20 seconds where it doesn't get to run at all. It really should have
finished this phase in a few seconds, but instead it's still trying to
do the removal seven minutes later when the COPY process fails.
Apparently the COPY and VACUUM and whatever else is going on are able
to create/use XLOG files faster than the checkpoint process can remove
them. Which makes no sense.

I think there is something fairly odd about either your kernel scheduler
or your filesystem. What sort of platform is this anyway?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tad Marko 2005-01-11 20:26:15 Re: Limiting user privileges
Previous Message Josh Berkus 2005-01-11 19:36:44 Re: [PERFORM] Assimilation of these "versus" and hardware threads