[prev in list] [next in list] [prev in thread] [next in thread]
List: slony1-general
Subject: Re: [Slony1-general] autovacuum cannot vacuum sl_event
From: Jeff <threshar () threshar ! is-a-geek ! com>
Date: 2010-07-13 19:15:24
Message-ID: D7388192-897F-44E2-AFEE-68EC7A135065 () torgo ! 978 ! org
[Download RAW message or body]
On Jul 13, 2010, at 2:36 PM, Steve Singer wrote:
>
> You don't say what version of postgresql your on or anything about
> your autovacuum settings.
>
PG 8.4.2, Slony 1.2.17 (I'm aware it is not the latest)
AV is on - AV is cancelling the vacuuming of sl_event:
Jul 13 15:04:28 xxx postgres[29468]: [3-1] ERROR: canceling
autovacuum task
Jul 13 15:04:28 xxx postgres[29468]: [3-2] CONTEXT: automatic vacuum
of table "xxxxx._replication.sl_event"
Jul 13 15:05:27 xxx postgres[29829]: [3-1] ERROR: canceling
autovacuum task
Jul 13 15:05:27 xxx postgres[29829]: [3-2] CONTEXT: automatic vacuum
of table "xxxx._replication.sl_event"
> Do you have autovacuum set to skip the slony tables?
>
No. All the other slony tables are being successfully vacuumed. As
evidenced above, it is trying to but it cannot as it cancels. Slony
takes a lock on sl_event and because of this if AV is working on the
table it cancels itself so it will not hold up "real work". The
problem is if this happens constantly. I think within the last few
weeks I hit some tipping point causing it happen constantly.
>> [postgres@XXXX log]$ grep "Jul 13" pgsql.log | grep "automatic
>> vacuum of table \"XXXX._replication.sl_event\"" | wc
>> 540 6480 59228 (this morning)
>> [postgres@XXXX log]$ grep "Jul 12" pgsql.log | grep "automatic
>> vacuum of table \"XXXX._replication.sl_event\"" | wc
>> 1438 17256 157726
>> [postgres@XXXlog]$ grep "Jul 11" pgsql.log | grep "automatic
>> vacuum of table \"XXXX._replication.sl_event\"" | wc
>> 1164 13968 127691
As you can see this is happening thousands of times a day.
--
Jeff Trout <jeff@jefftrout.com>
http://www.stuarthamm.net/
http://www.dellsmartexitin.com/
_______________________________________________
Slony1-general mailing list
Slony1-general@lists.slony.info
http://lists.slony.info/mailman/listinfo/slony1-general
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic