Re: Pgsql taking a *lot* of CPU time (unkillable).

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pgsql taking a *lot* of CPU time (unkillable).
Дата
Msg-id 10335.1105812936@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pgsql taking a *lot* of CPU time (unkillable).  (Berteun Damman <berteun@gmail.com>)
Ответы Re: Pgsql taking a *lot* of CPU time (unkillable).  (Berteun Damman <berteun@gmail.com>)
Список pgsql-general
Berteun Damman <berteun@gmail.com> writes:
> After I've finished using it, and leaving it to itself for a while, it
> starts to consume all CPU time for, apparently, no good reason
> (because it's not doing anything).

Would you attach to the process with a debugger and get a stack trace?

    $ gdb /usr/pkg/bin/postgres PID-of-process
    gdb> bt
    gdb> q

Probably should repeat this a few times to get a clear sense of where
it's looping.

            regards, tom lane

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

Предыдущее
От: Bo Lorentsen
Дата:
Сообщение: Re: OID Usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index optimization ?