Skip site navigation (1) Skip section navigation (2)

Re: BUG #5176: database recovery produces infinite loop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Helge Milde" <helge(at)monsternett(dot)no>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5176: database recovery produces infinite loop
Date: 2009-11-10 14:31:06
Message-ID: 27775.1257863466@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Helge Milde" <helge(at)monsternett(dot)no> writes:
> It seems the recovery process is failing; doing a strace on the 'postgres:
> startup process' pid, I see this:

> -- strace log start ---
> Process 29888 attached - interrupt to quit
> close(14)                               = 0
> open("pg_clog/021B", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 14
> _llseek(14, 245760, [245760], SEEK_SET) = 0
> write(14, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192)
> = 8192
> fsync(14)                               = 0
> close(14)                               = 0
> open("pg_clog/021B", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 14
> _llseek(14, 245760, [245760], SEEK_SET) = 0
> write(14, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192)
> = 8192
> fsync(14)                               = 0
> close(14)                               = 0
> -- strace log end ---

> This repeats infinetly.

Hmm, can you attach to that process with gdb and collect a few stack
traces to show where it's looping?  This isn't a symptom we've seen
before, AFAIR.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Helge MildeDate: 2009-11-10 14:39:23
Subject: Re: BUG #5176: database recovery produces infinite loop
Previous:From: Helge MildeDate: 2009-11-10 12:34:38
Subject: BUG #5176: database recovery produces infinite loop

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group