pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: skaurus@gmail.com
To: pgsql-bugs@postgresql.org
Cc: skaurus@gmail.com
Subject: BUG #14973: hung queries
Date: Thu, 14 Dec 2017 12:31:08 +0000
Message-ID: <20171214123108.29862.96996@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      14973
Logged by:          Dmitry Shalashov
Email address:      skaurus@gmail.com
PostgreSQL version: 10.1
Operating system:   Debian 9
Description:        

We stumbled upon queries running for a day or more. They are simple ones, so
that should not be happening. And most of the time it don't - very small
share of these queries ends up like this.

Moreover, these queries couldn't be stopped.

pg_stat_activity says that they all have wait_event_type = IPC, wait_event =
BtreePage, state = active

strace tells that they all inside epoll_wait syscall

grep over ps says that they all are "postgres: bgworker: parallel worker for
PID ..."

Looks like some bug in parallel seq scan maybe?

We are going to disable parallel seq scan and restart our server in like 4
hours from now. I can get more debug if asked before that.



view thread (6+ messages)  latest in thread

Message-ID: <20171214123108.29862.96996@wrigleys.postgresql.org>
Permalink:  ../20171214123108.29862.96996@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20171214123108.29862.96996@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: skaurus@gmail.com
  Subject: Re: BUG #14973: hung queries
  In-Reply-To: <20171214123108.29862.96996@wrigleys.postgresql.org>
  References: <20171214123108.29862.96996@wrigleys.postgresql.org>

* 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