From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | [Fwd: Bug#149056: postgresql: should not try in a busy loop when allocating resources] |
Date: | 2002-06-04 21:34:38 |
Message-ID: | 1023226478.22175.4429.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
This report was submitted as a Debian bug.
-----Forwarded Message-----
From: russell(at)coker(dot)com(dot)au
To: submit(at)bugs(dot)debian(dot)org
Subject: Bug#149056: postgresql: should not try in a busy loop when allocating resources
Date: 04 Jun 2002 23:06:35 +0200
Package: postgresql
Version: N/A
Severity: normal
When trying to create a semaphore Postgresql 7.2.1-3 will try 400,000 times per
second if it has problems. I think this is excessive, trying a mere 100 times
a second will give the same chance of getting a good result without wasting
excessive CPU time.
NB If another process which is CPU bound is using all the resources then
leaving CPU time free will improve the results...
-- System Information
Debian Release: 3.0
Kernel Version: Linux lyta 2.4.18lsm #1 Wed May 22 14:20:37 CEST 2002 i686 unknown
-----End of Forwarded Message-----
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
"But without faith it is impossible to please him; for
he that cometh to God must believe that he is, and
that he is a rewarder of them that diligently seek
him." Hebrews 11:6
From | Date | Subject | |
---|---|---|---|
Next Message | Lincoln Yeoh | 2002-06-05 04:20:08 | Re: non-standard escapes in string literals |
Previous Message | Peter Eisentraut | 2002-06-04 19:58:27 | Re: non-standard escapes in string literals |