Re: High CPU with 7.4.1 after running for about 2 weeks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Bridge <mike(at)bridgecanada(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: High CPU with 7.4.1 after running for about 2 weeks
Date: 2004-03-13 23:17:08
Message-ID: 7304.1079219828@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mike Bridge <mike(at)bridgecanada(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mike Bridge 2004-03-14 03:10:18 Re: High CPU with 7.4.1 after running for about 2 weeks
Previous Message Matthew T. O'Connor 2004-03-13 17:33:43 Re: rapid degradation after postmaster restart