Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EF15863352E for ; Mon, 3 May 2010 12:07:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 90845-03 for ; Mon, 3 May 2010 15:07:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.illumen.com (unknown [64.207.29.137]) by mail.postgresql.org (Postfix) with ESMTP id AC7AD632A05 for ; Mon, 3 May 2010 12:07:24 -0300 (ADT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: Autovacuum stopped running Date: Mon, 3 May 2010 09:05:18 -0600 Message-ID: In-Reply-To: <20100503134738.GA2986@alvh.no-ip.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Autovacuum stopped running Thread-Index: AcrqxzVwpB6llFefTeemMa+GI6SGVQACl2oQ References: <4BDBF3C90200002500031147@gw.wicourts.gov> <11024.1272755375@sss.pgh.pa.us> <20100503134738.GA2986@alvh.no-ip.org> From: "Benjamin Krajmalnik" To: "Alvaro Herrera" Cc: , "Tom Lane" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.097 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_NONE=0.793, T_FRT_PROFIT1=0.01 X-Spam-Level: X-Archive-Number: 201005/35 X-Sequence-Number: 34508 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 >=20 > 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. >=20 > 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. >=20 >=20 > -- > Alvaro Herrera > http://www.CommandPrompt.com/ > PostgreSQL Replication, Consulting, Custom Development, 24x7 support