Re: Lots of stuck queries after upgrade to 9.4

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Spiros Ioannou <sivann(at)inaccess(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Lots of stuck queries after upgrade to 9.4
Date: 2015-07-20 11:06:51
Message-ID: 20150720110650.GL2301@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2015-07-20 11:22:42 Re: Lots of stuck queries after upgrade to 9.4
Previous Message Spiros Ioannou 2015-07-20 10:16:04 Re: Lots of stuck queries after upgrade to 9.4