Re: PostgreSQL: CPU utilization creeping to 100%

Поиск
Список
Период
Сортировка
От David Noel
Тема Re: PostgreSQL: CPU utilization creeping to 100%
Дата
Msg-id CAHAXwYAZaXBCJB_5=DvK2+tgPfQZj5YMPoUU_o570baivutMnw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL: CPU utilization creeping to 100%  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: PostgreSQL: CPU utilization creeping to 100%  (Kevin Grittner <kgrittn@ymail.com>)
Re: PostgreSQL: CPU utilization creeping to 100%  (Eduardo Morras <emorrasg@yahoo.es>)
Список pgsql-general
On 4/2/13, Kevin Grittner <kgrittn@ymail.com> wrote:
> David Noel <david.i.noel@gmail.com> wrote:
>
>> 'select * from pg_stat_activity' shows that the queries are not
>> waiting, and are in the idle state.
>
> The process is idle or the process is running the query?  If the
> latter, what do you mean when you say "the queries ... are in the
> idle state"?

select * from pg_stat_activity returns a table containing a column
labeled "state". When the postgres process is at 100% utilization and
the application has hung, this query returns the value "idle" in that
field. When things are running properly, as they are for the moment
now, the value is "active".


В списке pgsql-general по дате отправления:

Предыдущее
От: David Noel
Дата:
Сообщение: Re: PostgreSQL: CPU utilization creeping to 100%
Следующее
От: David Noel
Дата:
Сообщение: Re: PostgreSQL: CPU utilization creeping to 100%