Re: cuckoo is hung during regression test

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <jim(at)nasby(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: cuckoo is hung during regression test
Date: 2007-02-13 19:21:09
Message-ID: 3863.1171394469@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim Nasby <jim(at)nasby(dot)net> writes:
> On Feb 13, 2007, at 12:15 PM, Tom Lane wrote:
>> We could possibly sleep() a bit before retrying,
>> just to not suck 100% CPU, but that doesn't really *fix* anything ...

> Well, not only that, but the machine is currently writing to the
> postmaster log at the rate of 2-3MB/s. ISTM some kind of sleep
> (perhaps growing exponentially to some limit) would be a good idea.

Well, since the code has always behaved that way and no one noticed
before, I don't think it's worth anything as complicated as a variable
delay. I just stuck a fixed 100msec delay into the accept-failed code
path.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-13 19:26:27 Re: Missing directory when building 8.2.3-base
Previous Message Jim Nasby 2007-02-13 18:59:41 Re: cuckoo is hung during regression test