Re: Lots of stuck queries after upgrade to 9.4 - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Lots of stuck queries after upgrade to 9.4
Date
Msg-id 20150720110650.GL2301@postgresql.org
Whole thread Raw
In response to Re: Lots of stuck queries after upgrade to 9.4  (Spiros Ioannou <sivann@inaccess.com>)
Responses Re: Lots of stuck queries after upgrade to 9.4  (Andres Freund <andres@anarazel.de>)
List pgsql-general
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.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: Spiros Ioannou
Date:
Subject: Re: Lots of stuck queries after upgrade to 9.4
Next
From: Andres Freund
Date:
Subject: Re: Lots of stuck queries after upgrade to 9.4