Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory

Lists: pgsql-bugs
From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory
Date: 2003-03-27 10:30:20
Message-ID: 20030327103020.E90FA4758C9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

A. Hackmann (andre(dot)hackmann(at)ntlworld(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory

Long Description
Hi,
I'm loading aprrox. 20GB into a Postgresql 7.3.2 db (using COPY command). Copying works fine, but when I tried to create indices, I get the error message above. Postmaster is running under Red Hat Linux 7.1 on a dual Xeon machine having 2GB RAM. 1 GB ist reserved for shared memory, where 600Mb is used for this particular db instance. I changed wlog parameters, but this had no effect. Source has been compilied on gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85).

Thanks,
Andre.

Sample Code

No file was uploaded with this report


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andre(dot)hackmann(at)ntlworld(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory
Date: 2003-03-30 20:07:16
Message-ID: 5333.1049054836@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory

I'd wonder about hardware problems, especially if this is a new server.
Messages of the above type are one of the most common consequences when
a data page has been trashed by hardware misfeasance.

(While I wouldn't sit here and swear that it couldn't be a software
problem, all of the cases I've been able to examine seemed to be
hardware failures...)

regards, tom lane


From: Andre Hackmann <ahackman(at)ebi(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996
Date: 2003-03-31 08:17:59
Message-ID: Pine.LNX.4.44.0303310908110.3710-100000@klimt.ebi.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


Hi,

The server (IBM) is one year old (I think).
Anyway, I found something like a workaround:
If I vacuum before executing my index script (after my loading
script has terminated), or after other huge data movements, the server
doesn't crash. So, is this typical for hardware failures?

Thanks,
Andre.

On Sun, 30 Mar 2003, Tom Lane wrote:

>
> I'd wonder about hardware problems, especially if this is a new server.
> Messages of the above type are one of the most common consequences when
> a data page has been trashed by hardware misfeasance.
>
> (While I wouldn't sit here and swear that it couldn't be a software
> problem, all of the cases I've been able to examine seemed to be
> hardware failures...)
>
> regards, tom lane
>


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andre Hackmann <ahackman(at)ebi(dot)ac(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory
Date: 2003-03-31 14:23:14
Message-ID: 21930.1049120594@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Andre Hackmann <ahackman(at)ebi(dot)ac(dot)uk> writes:
> If I vacuum before executing my index script (after my loading
> script has terminated), or after other huge data movements, the server
> doesn't crash. So, is this typical for hardware failures?

Hm. If you can reproduce the problem on demand, I'd be very interested
in looking at it with a debugger.

regards, tom lane