From: Benjamin Krajmalnik <kraj@illumen.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Autovacuum stopped running
Date: Mon, 3 May 2010 09:05:18 -0600
Message-ID: <F4E6A2751A2823418A21D4A160B6898861436A@fletch.stackdump.local> (raw)
In-Reply-To: <20100503134738.GA2986@alvh.no-ip.org>
References: <F4E6A2751A2823418A21D4A160B6898861435B@fletch.stackdump.local>
<4BDBF3C90200002500031147@gw.wicourts.gov>
<F4E6A2751A2823418A21D4A160B6898861435F@fletch.stackdump.local>
<11024.1272755375@sss.pgh.pa.us>
<F4E6A2751A2823418A21D4A160B68988614362@fletch.stackdump.local>
<F4E6A2751A2823418A21D4A160B68988614367@fletch.stackdump.local>
<20100503134738.GA2986@alvh.no-ip.org>
I did not find any errors pertaining to the autovacuum task.
In both cases we had a data-centric issue which was causing excessive
errors on the database (we have a timestamp field and an external
utility which we use to collect product keys was sending the date as
"dd/mm/yyyy hh:mm:ss" for some entries. We modified our processing
script to catch this condition and rewrite it to "mm/dd/yyyy hh:mm:ss"
on the server script, and I will be modifying the agent to send it in as
"yyyymmdd hh:mm:ss" in our next agent release to bullet proof it.
> -----Original Message-----
> From: Alvaro Herrera [mailto:alvherre@commandprompt.com]
> Sent: Monday, May 03, 2010 7:48 AM
> To: Benjamin Krajmalnik
> Cc: Tom Lane; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] Autovacuum stopped running
>
> Benjamin Krajmalnik wrote:
> > OK.
> > This happened again on another server with these same settings.
> > I did not see any long running transaction, and the autovacuum
launch
> > process was running.
>
> Did you check the server log for FATAL or ERROR lines? Maybe it's
> dying
> trying to vacuum some table and isn't ever able to get to the next
> ones.
>
>
> --
> Alvaro Herrera
> http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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-admin@postgresql.org
Cc: kraj@illumen.com, alvherre@commandprompt.com, tgl@sss.pgh.pa.us
Subject: Re: Autovacuum stopped running
In-Reply-To: <F4E6A2751A2823418A21D4A160B6898861436A@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B6898861435B@fletch.stackdump.local> <4BDBF3C90200002500031147@gw.wicourts.gov> <F4E6A2751A2823418A21D4A160B6898861435F@fletch.stackdump.local> <11024.1272755375@sss.pgh.pa.us> <F4E6A2751A2823418A21D4A160B68988614362@fletch.stackdump.local> <F4E6A2751A2823418A21D4A160B68988614367@fletch.stackdump.local> <20100503134738.GA2986@alvh.no-ip.org> <F4E6A2751A2823418A21D4A160B6898861436A@fletch.stackdump.local>
* 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