From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike Bridge <mike@bridgecanada.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU with 7.4.1 after running for about 2 weeks
Date: Sat, 13 Mar 2004 18:17:08 -0500
Message-ID: <7304.1079219828@sss.pgh.pa.us> (raw)
In-Reply-To: <l63t40lg2jr37uqgevign3fq4stukpihi0@4ax.com>
References: <l63t40lg2jr37uqgevign3fq4stukpihi0@4ax.com>
Mike Bridge <mike@bridgecanada.com> writes:
> I've been running Postgresql 7.4.1 for a couple weeks after upgrading
> from 7.2. I noticed today that the postmaster had been using 99% of
> the dual CPUs (on a PowerEdge 2650) non-stop for the last couple days.
> I stopped all the clients, and it didn't abate---even with no
> connections---so I restarted the postmaster. Now everything is
> running smoothly again.
Since the postmaster is a single unthreaded process, it's quite
impossible for it to take up 100% of two CPUs. Could you be more
precise about which processes were eating CPU, and what they were
doing according to the available state data? (ps auxww and
pg_stat_activity can be helpful tools.)
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, mike@bridgecanada.com
Subject: Re: High CPU with 7.4.1 after running for about 2 weeks
In-Reply-To: <7304.1079219828@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