Re: apparent wraparound

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reece Hart <hart(dot)reece(at)gene(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Subject: Re: apparent wraparound
Date: 2006-07-14 15:48:25
Message-ID: 20735.1152892105@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Reece Hart <hart(dot)reece(at)gene(dot)com> writes:
> After a system crash, postgresql 8.1.4 restarted but reported that I
> have an apparent wraparound:

> ...
> 2006-07-13 14:03:40 PDT [10092] LOG: next MultiXactId: 5475264; next MultiXactOffset: 13765525
> ...
> 2006-07-13 14:03:40 PDT [10092] LOG: could not truncate directory "pg_multixact/offsets": apparent wraparound
> 2006-07-13 14:03:40 PDT [10092] LOG: could not truncate directory "pg_multixact/members": apparent wraparound

> There are two files left in pg_multixact:
> -rw------- 1 postgres postgres 16K 2006-07-13 14:13 pg_multixact/members/00D2
> -rw------- 1 postgres postgres 144K 2006-07-13 14:13 pg_multixact/offsets/0053

That's odd. Those files correspond to the next MultiXactId and
MultiXactOffset, so there shouldn't have been any such complaint.
[ looks at code... ] I wonder if this is happening because
shared->latest_page_number hasn't been set up yet when we do the
end-of-recovery checkpoint.

> In
> http://www.mail-archive.com/pgsql-general(at)postgresql(dot)org/msg76635.html
> Tom Lane implies that I can probably ignore these messages.

No, I was saying that the "invalid server process ID -1" was harmless.
The "apparent wraparound" is a distinct issue, and I'd ask you the same
question I asked Thomas: do you continue to get those log messages
during subsequent checkpoints?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergio Duran 2006-07-14 15:48:52 Re: I need help creating a query
Previous Message Tom Lane 2006-07-14 15:36:23 Re: Q: Table scans on set difference