Re: BUG #5176: database recovery produces infinite loop - Mailing list pgsql-bugs

From Helge Milde
Subject Re: BUG #5176: database recovery produces infinite loop
Date
Msg-id 20091110143922.GB1303@monsternett.no
Whole thread Raw
In response to Re: BUG #5176: database recovery produces infinite loop  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I'm sorry, but the issue has been fixed now; we've upgraded to postgres-8.3, so I can't reproduce this anymore..
I'm not completely sure how it got fixed (it wasn't me), but I can ask the person who fixed it and get back to you
tomorrow;perhaps that might help narrow the field a little bit. 

On Tue, Nov 10, 2009 at 09:31:06AM -0500, Tom Lane wrote:
>"Helge Milde" <helge@monsternett.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

--
Helge Milde, 69701808
www.monsternett.no

pgsql-bugs by date:

Previous
From: "Vijaya Krishna Cherukuri"
Date:
Subject: BUG #5175: Unable to configure psqlodbc-08.04.0100
Next
From: "Mauro Molinari"
Date:
Subject: BUG #5177: Concurrency problem in AbstractJdbc23PooledConnection