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(dot)machytka(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14714: long running sessions from remote instance seems to hang some times
Date: 2017-06-19 15:33:58
Message-ID: 31737.1497886438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

josef(dot)machytka(at)gmail(dot)com writes:
> 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.

Is it using a lot of CPU time according to ps or vmstat?

> Do you please have any advice what to check or what setting might help?

If it's eating CPU time, try using "perf" to find out where.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2017-06-19 15:40:11 Re: Postgresql bug report - unexpected behavior of suppress_redundant_updates_trigger
Previous Message David G. Johnston 2017-06-19 15:01:12 Re: BUG #14712: postgres how to handle boolean datatype to use 0 and 1 using hibernate