Re: Debugging infrequent pegged out CPU usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Long <mailing(dot)list(at)supernovasoftware(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Debugging infrequent pegged out CPU usage
Date: 2008-11-03 19:22:08
Message-ID: 15416.1225740128@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jason Long <mailing(dot)list(at)supernovasoftware(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-11-03 19:25:10 Re: Debugging infrequent pegged out CPU usage
Previous Message Alan Hodgson 2008-11-03 19:21:07 Re: Debugging infrequent pegged out CPU usage