From: Andres Freund <andres@anarazel.de>
To: josef.machytka@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14714: long running sessions from remote instance seems to hang some times
Date: Fri, 23 Jun 2017 09:57:51 -0700
Message-ID: <20170623165751.7x6qbhbfmtt4fyp6@alap3.anarazel.de> (raw)
In-Reply-To: <20170619144907.1544.19175@wrigleys.postgresql.org>
References: <20170619144907.1544.19175@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hi,
On 2017-06-19 14:49:07 +0000, josef.machytka@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14714
> Logged by: Josef Machytka
> Email address: josef.machytka@gmail.com
> PostgreSQL version: 9.6.3
> Operating system: Debian jessie
> Description:
>
> On pg 9.6.* we have sometimes strange problem with some sessions. We
> experienced it from bash scripts, golang program and node.js applications.
> Environment are Google Compute Engine instances with Debian 8.
>
> Sometimes some session goes into some kind of "drowsy" state and runs
> incredibly slowly. It causes some very low disk IO and runs like 20x slower
> then usual. This happens mainly when database is under heavy load and it
> happens randomly to different tasks. It happens randomly to both connections
> from local instance (cronjob running on instance with PG) and remote
> connections from other instances.
>
> When we restart task it runs normally. I cannot see any changes in process
> priority in OS, process switches between sleeping and running state and I do
> not see any locks or waits in pg_stat_activity or pg_locks. Usually all
> other processes finish OK and this "drowsy" one runs "for ever..."
Which version of the os & kernel is this? This kind of sounds like the
symptoms that we've observed more frequently a while ago with
the kernel's transparent_hugepages management.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: andres@anarazel.de, josef.machytka@gmail.com
Subject: Re: BUG #14714: long running sessions from remote instance seems to hang some times
In-Reply-To: <20170623165751.7x6qbhbfmtt4fyp6@alap3.anarazel.de>
References: <20170619144907.1544.19175@wrigleys.postgresql.org> <20170623165751.7x6qbhbfmtt4fyp6@alap3.anarazel.de>
* 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