pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Smet <guillaume.smet@gmail.com>
To: Jérôme BENOIS <benois@argia-engineering.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU Load
Date: Thu, 14 Sep 2006 16:26:10 +0200
Message-ID: <1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com> (raw)
In-Reply-To: <1158242414.5226.31.camel@localhost.localdomain>
References: <1158239339.5226.17.camel@localhost.localdomain>
	<1d4e0c10609140646g6ad1ab4w51dec49afba11fd7@mail.gmail.com>
	<1158242414.5226.31.camel@localhost.localdomain>

On 9/14/06, Jérôme BENOIS <benois@argia-engineering.fr> wrote:
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 15667 postgres  25   0  536m 222m 532m R 98.8 11.0   1:39.29 postmaster
> 19533 postgres  25   0  535m 169m 532m R 92.9  8.3   0:38.68 postmaster
> 16278 postgres  25   0  537m 285m 532m R 86.3 14.1   1:37.56 postmaster

Enable stats_command_string and see which queries are running on these
backends by selecting on pg_stat_activity.

Do the queries finish? Do you have them in your query log?

--
Guillaume



view thread (30+ messages)  latest in thread

Message-ID: <1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com>
Permalink:  ../1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com/
Also on:    postgresql.org/message-id/1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com

 · 

reply

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: guillaume.smet@gmail.com, benois@argia-engineering.fr
  Subject: Re: High CPU Load
  In-Reply-To: <1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com>

* 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