Re: [Fwd: Bug#149056: postgresql: should not try in a busy - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [Fwd: Bug#149056: postgresql: should not try in a busy
Date
Msg-id 200206090209.g5929qo00494@candle.pha.pa.us
Whole thread Raw
In response to Re: [Fwd: Bug#149056: postgresql: should not try in a busy loop when allocating resources]  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [Fwd: Bug#149056: postgresql: should not try in a busy  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Oliver Elphick <olly@lfix.co.uk> forwards:
> > When trying to create a semaphore Postgresql 7.2.1-3 will try 400,000 times=
> >  per
> > second if it has problems.
> 
> AFAICS it will try *once* and abort if it fails.  Can you provide a
> reproducible test case for the above behavior?

I assume he meant tries to grab a semaphore 400,000 times, but I may be wrong.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Project scheduling issues (was Re: Per tuple overhead,
Next
From: Tom Lane
Date:
Subject: Re: [Fwd: Bug#149056: postgresql: should not try in a busy