Re: Backends "hanging" with strace showing selects?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backends "hanging" with strace showing selects?
Дата
Msg-id 5421.1289850736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Backends "hanging" with strace showing selects?  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: Backends "hanging" with strace showing selects?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> hi
> had strange situation today.

> very high load, cpu saturated (and this machine has lots of cores).

> i straced one of backends that was using lots of cpu (it was doing some
> select, but I don't know what as i wasn't able to start psql).

> strace looked like this:
> select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)

That suggests a lot of contention for a spinlock, but without any
information about what the system was really doing, it's hard to go
further than that.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: index row requires 10040 bytes, maximum size is 8191
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: postgreSQL-devel 8.3.8