Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 054299FA3A7 for ; Mon, 18 Dec 2006 15:01:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 33702-02 for ; Mon, 18 Dec 2006 15:01:17 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id C94059FA394 for ; Mon, 18 Dec 2006 15:01:18 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1543259ugf for ; Mon, 18 Dec 2006 11:01:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=JWI+KmgCbLImCqerD7KunescPa1bBqtxsK0p1bYwgrMLyivFHKbTvCcDIwZnhJFRcxdCauC6ZtVcKaL/7rZq7HcfTSM2jMYcz9NoA2TN2dhwhWIx3mlKsRYIjj04MNbeOvaJXpJ2Hc+uwWA0mH/6FQ4kTWrNb6yg6PqnSZfrawg= Received: by 10.67.19.13 with SMTP id w13mr5643832ugi.1166468477284; Mon, 18 Dec 2006 11:01:17 -0800 (PST) Received: by 10.66.245.7 with HTTP; Mon, 18 Dec 2006 11:01:17 -0800 (PST) Message-ID: <2c5b22d10612181101r3c0ca187qac319f41587cec2a@mail.gmail.com> Date: Mon, 18 Dec 2006 20:01:17 +0100 From: "Edoardo Ceccarelli" To: "Tom Lane" Subject: Re: pg_clog Cc: pgsql-admin@postgresql.org In-Reply-To: <25199.1166467713@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24903_25485086.1166468477204" References: <2c5b22d10612180957s78fa6fd8s9f913673bfadbe0e@mail.gmail.com> <25199.1166467713@sss.pgh.pa.us> X-Google-Sender-Auth: 8b3c81abdab4b0fc X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/254 X-Sequence-Number: 24046 ------=_Part_24903_25485086.1166468477204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, I tought about that as well but with PG7.X we had the same machine with the same database running smoothly for more than a year now strange things like this are happening: 2006-12-18 14:49:35 CET [14691] : LOG: server process (PID 13421) wasterminated by signal 11 2006-12-18 14:49:35 CET [14691] : LOG: terminating any other active serverprocesses 2006-12-18 14:49:35 CET [14009] db idle: WARNING: terminating connection because of crash of another server process 2006-12-18 14:49:35 CET [14009] db idle: DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2006-12-18 14:49:35 CET [14009] db idle: HINT: In a moment you should be able to reconnect to the database and repeat your command. I bet a crashing process could cause that data corruption, right? On 12/18/06, Tom Lane wrote: > > "Edoardo Ceccarelli" writes: > > pg_dump: ERROR: could not access status of transaction 1629514106 > > DETAIL: could not open file "pg_clog/0612": No such file or directory > > This looks like a data corruption problem to me. It may or may not be > significant that 1629514106 = 0x6120697a = ASCII 'zi a' (or 'a iz' if > you are on a big-endian machine). That looks at least a little bit > plausible for Italian text, so I'm wondering if your disk drive or OS > has hiccuped and dumped a sector or two of some other file into your > database :-(. We've seen it happen before. > > Check the archives for past discussions about locating and recovering > from corrupted data. > > regards, tom lane > ------=_Part_24903_25485086.1166468477204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, I tought about that as well but with PG7.X we had the same machine with the same database running smoothly for more than a year
now strange things like this are happening:

2006-12-18 14:49:35 CET [14691]  : LOG:  server process (PID 13421) wasterminated by signal 11
2006-12-18 14:49:35 CET [14691]  : LOG:  terminating any other active serverprocesses
2006-12-18 14:49:35 CET [14009] db idle: WARNING:  terminating connection because of crash of another server process
2006-12-18 14:49:35 CET [14009] db idle: DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2006-12-18 14:49:35 CET [14009] db idle: HINT:  In a moment you should be able to reconnect to the database and repeat your command.

I bet a crashing process could cause that data corruption, right?


On 12/18/06, Tom Lane <tgl@sss.pgh.pa.us > wrote:
"Edoardo Ceccarelli" <eddy@axa.it > writes:
> pg_dump: ERROR:  could not access status of transaction 1629514106
> DETAIL:  could not open file "pg_clog/0612": No such file or directory

This looks like a data corruption problem to me.  It may or may not be
significant that 1629514106 = 0x6120697a = ASCII 'zi a' (or 'a iz' if
you are on a big-endian machine).  That looks at least a little bit
plausible for Italian text, so I'm wondering if your disk drive or OS
has hiccuped and dumped a sector or two of some other file into your
database :-(.  We've seen it happen before.

Check the archives for past discussions about locating and recovering
from corrupted data.

                        regards, tom lane

------=_Part_24903_25485086.1166468477204--