Re: High CPU with 7.4.1 after running for about 2 weeks - Mailing list pgsql-performance

From Tom Lane
Subject Re: High CPU with 7.4.1 after running for about 2 weeks
Date
Msg-id 7304.1079219828@sss.pgh.pa.us
Whole thread Raw
In response to High CPU with 7.4.1 after running for about 2 weeks  (Mike Bridge <mike@bridgecanada.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: "Magnus Naeslund(t)"
Date:
Subject: Re: [ADMIN] syslog slowing the database?
Next
From: Kris Jurka
Date:
Subject: Re: severe performance issue with planner