pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Maksim Milyutin <milyutinma@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15585: infinite DynamicSharedMemoryControlLock waiting in parallel query
Date: Fri, 12 Apr 2019 16:48:19 +0300
Message-ID: <31541555076899@sas1-b3ec53dbc12b.qloud-c.yandex.net> (raw)
In-Reply-To: <4543511548366364@myt6-fe24916a5562.qloud-c.yandex.net>
References: <15585-324ff6a93a18da46@postgresql.org>
	<CAEepm=0aPq2yEy39gEqVK2m_Qi6jJdy96ysHGJ6VSHOZFz+xbg@mail.gmail.com>
	<CAEepm=3AqfdELjsKzzik8vYBnSHBFSWAmuxWGV2HNiOgVsX22g@mail.gmail.com>
	<458c691a-1b2d-7a70-1c04-58361b894011@gmail.com>
	<CAEepm=104Zatqt16HPeyPWbbE3BratpEAsNrQCXoCk9rcFD=Hg@mail.gmail.com>
	<70942611548327380@myt6-7734411c649e.qloud-c.yandex.net>
	<CAEepm=3ynb5nBhKQRts0bNETA1HzNxz6-3RTPOzCbM8oQ9yPdg@mail.gmail.com>
	<4543511548366364@myt6-fe24916a5562.qloud-c.yandex.net>

Hello

Just for archive purposes:

This bug should be already fixed in stable branch and will be shipped in next minor release (11.3 and 10.8). Until the fix is released, the simplest workaround is to disable parallel query with SET max_parallel_workers_per_gather = 0 if you're affected by the bug.
It's a rare timing bug, but some workloads seem to be more prone to it, so unfortunately it went undetected for a long time.

Related discussion and patch was here: https://www.postgresql.org/message-id/flat/20190207014719.GJ29720%40telsasoft.com

regards, Sergei





view thread (9+ messages)

Message-ID: <31541555076899@sas1-b3ec53dbc12b.qloud-c.yandex.net>
Permalink:  ../31541555076899@sas1-b3ec53dbc12b.qloud-c.yandex.net/
Also on:    postgresql.org/message-id/31541555076899@sas1-b3ec53dbc12b.qloud-c.yandex.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: sk@zsrv.org, thomas.munro@enterprisedb.com, milyutinma@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15585: infinite DynamicSharedMemoryControlLock waiting in parallel query
  In-Reply-To: <31541555076899@sas1-b3ec53dbc12b.qloud-c.yandex.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox