X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5C5D9D1EC13 for ; Sat, 1 May 2004 18:12:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01052-03 for ; Sat, 1 May 2004 18:11:59 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id ABFCFD1EBB0 for ; Sat, 1 May 2004 18:11:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i41LBvwI016248; Sat, 1 May 2004 17:11:57 -0400 (EDT) To: Keary Suska Cc: Postgres General Subject: Re: Vacuumdb Errors --Any ideas? In-reply-to: References: Comments: In-reply-to Keary Suska message dated "Sat, 01 May 2004 11:30:54 -0600" Date: Sat, 01 May 2004 17:11:57 -0400 Message-ID: <16247.1083445917@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/15 X-Sequence-Number: 60449 Keary Suska writes: > I received the following errors from an automated full vacuum: > vacuumdb: vacuuming of database "milemgr" failed: ERROR: tuple concurrently > updated Hm, could you have had more than one of these beasts running? It's possible to get such an error from concurrent ANALYZE operations on the same table. (This happens if the second ANALYZE tries to update the pg_statistic rows before the first one is able to commit. It's a pretty narrow window, and there's no real harm involved, so we haven't tried hard to get rid of the race condition.) > ERROR: Vacuum command failed: Inappropriate ioctl for device I have no idea where that came from --- I can't find "vacuum command failed" anywhere in current sources. I suspect the second part of the message just comes from someone printing strerror(errno) in a context where errno isn't meaningful. Bottom line: don't panic. If you can find where the second message came from, though, I'd like to know. regards, tom lane