From: Tom Lane <tgl@sss.pgh.pa.us>
To: Cyrille Bonnet <cyrille@3months.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: very high CPU usage in "top", but not in "mpstat"
Date: Wed, 05 May 2004 09:03:15 -0400
Message-ID: <24916.1083762195@sss.pgh.pa.us> (raw)
In-Reply-To: <47E18B2A3472@3months.com>
References: <47E18B2A3472@3months.com>
"Cyrille Bonnet" <cyrille@3months.com> writes:
> Should I be worried that Postgres is eating up 99% of my CPU??? Or is this
> *expected* behaviour?
It's not expected, unless you are running some very long-running query.
The conflict between what top says and what mpstat says is strange; I
wonder if you might have a buggy version of one of them? You should
probably check some other tools (try "vmstat 1" for instance) to see if
you can get a consensus on whether the CPU is maxed out or not ...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, cyrille@3months.com
Subject: Re: very high CPU usage in "top", but not in "mpstat"
In-Reply-To: <24916.1083762195@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox