Re: BUG #14714: long running sessions from remote instance seems to hang some times

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josef Machytka <josef(dot)machytka(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14714: long running sessions from remote instance seems to hang some times
Date: 2017-06-23 14:14:23
Message-ID: 8414.1498227263@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Josef Machytka <josef(dot)machytka(at)gmail(dot)com> writes:
> sorry, here is file with sample - basically several group by aggregations
> over different partitioned tables have been locked in this "drowsy" state

The amount of time being spent in the kernel is strikingly high. I wonder
if you're seeing some variant of the old "context swap storm" problem.
Try watching the output of "vmstat 1" for awhile to see if the cs rate
is high.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Caio Parolin 2017-06-23 14:46:32 RES: Problems installation
Previous Message Josef Machytka 2017-06-23 11:37:33 Re: BUG #14714: long running sessions from remote instance seems to hang some times