Re: Non-deterministic 100% CPU hang on postgres 9.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: Non-deterministic 100% CPU hang on postgres 9.3
Date
Msg-id 16818.1397540981@sss.pgh.pa.us
Whole thread Raw
In response to Non-deterministic 100% CPU hang on postgres 9.3  (Fenn Bailey <fenn.bailey@gmail.com>)
Responses Re: Non-deterministic 100% CPU hang on postgres 9.3
List pgsql-general
Fenn Bailey <fenn.bailey@gmail.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


pgsql-general by date:

Previous
From: Fenn Bailey
Date:
Subject: Non-deterministic 100% CPU hang on postgres 9.3
Next
From: Alberto Cabello Sánchez
Date:
Subject: Re: Trouble installing Slony 2.0