Re: Streaming Replication Randomly Locking Up

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Streaming Replication Randomly Locking Up
Дата
Msg-id CAMkU=1z9k0=2pk5b5hhYYohqurC39udG+wYD43Bwiycq=YJguQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming Replication Randomly Locking Up  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Streaming Replication Randomly Locking Up
Список pgsql-general
On Fri, Aug 16, 2013 at 9:45 AM, Jeff Janes <jeff.janes@gmail.com> wrote:
> On Thu, Aug 15, 2013 at 1:28 PM, Andrew Berman <rexxe98@gmail.com> wrote:
>> Hi Jeff,
>>
>> Here is the full process list at the time it stopped working (I have changed
>> the actual username, db and IP for security).  Would the idle in transaction
>> process be the culprit?
>
> Most likely, yes.  You should be able to dig into pg_locks to verify.

Actually, you can't.  The waiting doesn't show up in pg_locks, because
it polls in a sleep-loop, rather than doing a normal wait on the lock.

Still, that idle in transaction process is almost surely the culprit.

Cheers,

Jeff


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Streaming Replication Randomly Locking Up
Следующее
От: Andrew Berman
Дата:
Сообщение: Re: Streaming Replication Randomly Locking Up