Re: vacuum taking an unusually long time

From: "Mason Hale" <masonhale(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: vacuum taking an unusually long time
Date: 2008-07-16 15:40:58
Message-ID: 8bca3aa10807160840q1610349fn6e339f072e531e39@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 16, 2008 at 10:26 AM, Mason Hale <masonhale(at)gmail(dot)com> wrote:

> Here's some of the strace output:
> select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
>

If I read the 'select(2)' man page correctly, it appears this process is
waiting indefinitely for a NULL file descriptor.
That looks pretty stuck to me.

Should I kill this autovacuum process via pg_cancel_backend?
Or is there a better way to "unstick" it?

Any ideas what may have caused it to get into this condition?

- Mason

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2008-07-16 16:21:34 Re: unable to drop a constraint
Previous Message Viktor Rosenfeld 2008-07-16 15:30:56 Re: UPDATE runs slow in a transaction