Re: Debugging infrequent pegged out CPU usage - Mailing list pgsql-general

From Tom Lane
Subject Re: Debugging infrequent pegged out CPU usage
Date
Msg-id 15416.1225740128@sss.pgh.pa.us
Whole thread Raw
In response to Debugging infrequent pegged out CPU usage  (Jason Long <mailing.list@supernovasoftware.com>)
List pgsql-general
Jason Long <mailing.list@supernovasoftware.com> writes:
> For some reason Postgres is pegging my CPU and I can barely log on to
> reboot the machine.

Well, you need to find out why.  Turning on query logging (see
log_statement) would probably be a good first step --- it'd help
you determine if there's a specific query or queries causing it.

Also, have you tried pg_ctl stop -m fast instead of a reboot?
(If that doesn't work, it'd also be interesting to see if -m immediate
does work.)

            regards, tom lane

pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: Debugging infrequent pegged out CPU usage
Next
From: "Scott Marlowe"
Date:
Subject: Re: Debugging infrequent pegged out CPU usage