Re: Non-deterministic 100% CPU hang on postgres 9.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fenn Bailey <fenn(dot)bailey(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Non-deterministic 100% CPU hang on postgres 9.3
Date: 2014-04-15 05:49:41
Message-ID: 16818.1397540981@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Fenn Bailey <fenn(dot)bailey(at)gmail(dot)com> writes:
> I'm experiencing an issue where certain queries appear to
> non-deterministically "hang", with a CPU pinned at 100%.

> I say "hang", where really I've given up after ~12 hours execution. The
> exact same query can then be terminated and run in <90 seconds, with none
> of the underlying data changing.

But does the plan change?

> If anyone could explain this behaviour, or even how I might go about
> diagnosing, that would be wonderful.

"perf" or "oprofile" or local equivalent would help identify where the
looping is happening.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alberto Cabello Sánchez 2014-04-15 06:21:48 Re: Trouble installing Slony 2.0
Previous Message Fenn Bailey 2014-04-15 05:42:44 Non-deterministic 100% CPU hang on postgres 9.3