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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: High CPU with 7.4.1 after running for about 2 weeks
Дата
Msg-id 7304.1079219828@sss.pgh.pa.us
обсуждение исходный текст
Ответ на High CPU with 7.4.1 after running for about 2 weeks  (Mike Bridge <mike@bridgecanada.com>)
Список 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 по дате отправления:

Предыдущее
От: "Magnus Naeslund(t)"
Дата:
Сообщение: Re: [ADMIN] syslog slowing the database?
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: severe performance issue with planner