Re: Stuck spins in current - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Stuck spins in current
Date
Msg-id 29182.984785912@sss.pgh.pa.us
Whole thread Raw
In response to RE: Stuck spins in current  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
List pgsql-hackers
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
> And you know - I've run same tests on ~ Mar 9 snapshot
> without any problems.
>> 
>> That was before I changed the code to pre-fill the file --- 
>> now it takes longer to init a log segment.  And we're only
>> using a plain SpinAcquire, not the flavor with a longer timeout.

> xlog.c revision 1.55 from Feb 26 already had log file
> zero-filling, so ...

Oh, you're right, I didn't study the CVS log carefully enough.  Hmm,
maybe the control file lock isn't the problem.  The abort() in
s_lock_stuck should have left a core file --- what is the backtrace?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Giles Lean
Date:
Subject: Re: Performance monitor signal handler
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: Stuck spins in current