Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 55AAD9FBBF7 for ; Wed, 13 Jun 2007 15:06:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 64722-08 for ; Wed, 13 Jun 2007 15:06:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0F6219FB921 for ; Wed, 13 Jun 2007 15:06:38 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l5DI6S54014787; Wed, 13 Jun 2007 14:06:29 -0400 (EDT) To: =?iso-8859-1?Q?RESTOUX=2C_Lo=EFc?= cc: pgsql-performance@postgresql.org Subject: Re: [PG 8.1.0 / AIX 5.3] Vacuum processes freezing In-reply-to: References: Comments: In-reply-to =?iso-8859-1?Q?RESTOUX=2C_Lo=EFc?= message dated "Wed, 13 Jun 2007 18:33:53 +0200" Date: Wed, 13 Jun 2007 14:06:28 -0400 Message-ID: <14786.1181757988@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/245 X-Sequence-Number: 25278 =?iso-8859-1?Q?RESTOUX=2C_Lo=EFc?= writes: > Since some weeks, the amount of data hosted by the database grows, and, som= > e nights, the database vacuum seems to "freeze" during his execution. In v= > erbose mode, the logs show that the vacuum clean up a table (not always the= > same table), and... no more news. The system shows a vacuum process, which= > seems to be sleeping (no CPU used, no memory consumption...). Have you looked into pg_locks to see if it's blocked on someone else's lock? regards, tom lane