Re: ERROR: could not open relation 16388/24734/51896: Cannot open or remove a file containing a running program.

From: Joshua Drake <jd(at)commandprompt(dot)com>
To: KKreuzer(at)kbtoys(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ERROR: could not open relation 16388/24734/51896: Cannot open or remove a file containing a running program.
Date: 2008-09-15 16:27:02
Message-ID: 20080915092702.48848629@jd-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 15 Sep 2008 11:31:21 -0400
KKreuzer(at)kbtoys(dot)com wrote:

> Hi
> While running a VACUUM ANALYZE
> The process aborts and I receive the following message in the log:
>
> ERROR: could not open relation 16388/24734/51896: Cannot open or
> remove a file containing a running program.
> STATEMENT: VACUUM ANALYZE
>
> 51896 refers to an index on a table with over 10,000,000 rows.

Your index is corrupted. Drop the index and recreate it. See if that
solves the vacuum analyze problem. Note, you may have further
corruption.

Sincerely,

Joshua D. Drake
--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message c k 2008-09-15 16:55:38 Functions
Previous Message Scott Marlowe 2008-09-15 15:53:53 Re: Heavy postgres process