Re: lock AccessShareLock on object 0/1260/0 is already held

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: lock AccessShareLock on object 0/1260/0 is already held
Дата
Msg-id CAFj8pRBxPvH9LxUOHRzvTkuOnX1dVJkF=VJyxaFQPbK5L3YhuA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: lock AccessShareLock on object 0/1260/0 is already held  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: lock AccessShareLock on object 0/1260/0 is already held  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
2013/1/4 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> What is state of this issue?
>> http://archives.postgresql.org/pgsql-hackers/2011-09/msg00423.php
>
> AFAICS we never identified the cause.  It was pretty clear that
> something was failing to clean up shared-memory lock data structures,
> but not what that something was.  The last productive suggestion was
> to add process-exit-time logging of whether unreleased locks remain,
> but if Dave ever did that, he didn't report back what he found.


probably I am able to find statement, that was canceled as last
"success" statement from our application logs. And probably it will be
LOCK ... or CREATE TABLE AS SELECT

Recheck on session end can help us to drop this leaked locks, but I
don't understand how it can help with finding with finding the cause?




>
> Maybe you could add such logging on your machines.
>
>                         regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: enhanced error fields
Следующее
От: Robert Haas
Дата:
Сообщение: Re: enhanced error fields