Re: Lots of stuck queries after upgrade to 9.4

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Lots of stuck queries after upgrade to 9.4
Дата
Msg-id 20150720112242.GZ5520@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Lots of stuck queries after upgrade to 9.4  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Lots of stuck queries after upgrade to 9.4  (Andres Freund <andres@anarazel.de>)
Список pgsql-general
On 2015-07-20 13:06:51 +0200, Alvaro Herrera wrote:
> Spiros Ioannou wrote:
> > Hi Tom,
> > thank you for your input. The DB was stuck again, I attach all logs and
> > stack traces.
> >
> > A stack trace from a COMMIT, an INSERT, an UPDATE, the wal writer, the
> > writer, and a sequence.
> >
> > Stracing the commit was stuck at: semop(3145761, {{12, -1, 0}}, 1
>
> Hmm, isn't this an indication of problems in the WAL insertion logic?
> Looks to me like there are deadlocks using lwlocks.

Hm. The problem seems to be the WaitXLogInsertionsToFinish() call in
XLogFlush().

Spiros, I guess you have commit_delay enabled? If so, does disabling it
"fix" the issue?

Regards,

Andres


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Lots of stuck queries after upgrade to 9.4
Следующее
От: pbj@cmicdo.com
Дата:
Сообщение: Re: Problem building both Python 2 and 3 into Postgres 9.4.4?