Re: BUG #2631: database locking problem

Поиск
Список
Период
Сортировка
От Ross Elliott
Тема Re: BUG #2631: database locking problem
Дата
Msg-id 715BFDBEEEDA5245AF02E1C1DCE01C37334534@SV025.infoterra-global.com
обсуждение исходный текст
Ответ на Re: BUG #2631: database locking problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I'll see what I can get done, I'll need to get it to lockup again as
I've killed everything to try other options. I have a feeling that the
only reason it worked on 8.1.3 before was because it was on slower
servers which were also running other stuff. My new database server is
very fast and only runs the database and if I log all the sql then it
doesn't seem to screw up (at least not yet). One other thing, the
tablespace is not local storage, I have a 7TB SAN partition that runs a
SAN filesystem on it, but this is the same as my older 8.1.3 system.=20


--=20
Ross Elliott
Senior Software Engineer
Infoterra Ltd
T +44 (0)1252 362095
www.infoterra.co.uk
=20

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20
Sent: 17 September 2006 22:45
To: Ross Elliott
Cc: Michael Fuhr; pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #2631: database locking problem=20

"Ross Elliott" <ross.elliott@infoterra-global.com> writes:
> I've been playing with this a bit more by switching to 8.1.3 with=20
> postgis 1.1.3 and still get the locking problem.

Well, that's dang odd.  PID 9403 seems to be the problem, because it's
got extend lock on topoarea_idx2, which is a lock that should be held
for only a *very* short time.  Apparently it's blocked on an LWLock
inside either ReadBuffer or LockBuffer --- but the LockBuffer should
certainly not block because ReadBuffer should have returned a page that
never existed until just now, and hence couldn't be locked by anyone
else.  Even more interesting, topoarea_idx2 is a plain btree, which
shouldn't be affected at all by postgis.  And none of this code has
changed much recently.

Can you attach to 9403 with a debugger and get a stack trace to confirm
exactly where it's blocked?

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: ""
Дата:
Сообщение: BUG #2635: manual service registration after install
Следующее
От: "Massimo Fidanza"
Дата:
Сообщение: BUG #2633: Bug report wizard link broken