Debugging a backend stuck consuming CPU

From: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Debugging a backend stuck consuming CPU
Date: 2016-05-19 13:46:15
Message-ID: 20160519134615.GB32767@aart.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi PostgreSQL community,

I am investigating a problem with a backend that appears to be stuck
and spinning while performing a "DISCARD ALL" command. The system is
running an older release 9.2.2. Are there any bugs that could be
causing this behavior? How can I tell what the process is actually
doing? It does not respond to either pg_cancel_backend() or to
pg_terminate_backend() so it is acting like it is not receiving the
signals. Any ideas on how to debug this would be appriciated.

Regards,
Ken

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-05-19 13:58:45 Re: Debugging a backend stuck consuming CPU
Previous Message David G. Johnston 2016-05-19 13:24:59 Re: first_value/last_value