Re: vacuumdb -a -z hangs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Naeslund\(f\)" <mag(at)fbab(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuumdb -a -z hangs
Date: 2001-06-06 14:52:58
Message-ID: 23841.991839178@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Magnus Naeslund\(f\)" <mag(at)fbab(dot)net> writes:
> I have a cronjob that does a vacuumdb -a -z every night.
> When i came to work this morning i saw a lot of postgres processes hanging
> on wait.

Sounds to me like you have an open transaction that is holding a lock
that everybody else needs. Very likely it's not the VACUUM that's at
fault, at least not directly.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alessio Bragadini 2001-06-06 14:53:43 Strange error, probably WAL-related
Previous Message Peter Eisentraut 2001-06-06 14:48:34 Re: SQL( "if ...exists...),how to do it in the PostgreSQL?