Re: postgres processes spending most of their time in the kernel

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: postgres processes spending most of their time in the kernel
Дата
Msg-id
15320.1009578375@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: postgres processes spending most of their time in the kernel Tom Lane <tgl@sss.pgh.pa.us>
Re: postgres processes spending most of their time in the "Jeffrey W. Baker" <jwbaker@acm.org>
Re: postgres processes spending most of their time in the kernel Tom Lane <tgl@sss.pgh.pa.us>
Re: postgres processes spending most of their time in the "Jeffrey W. Baker" <jwbaker@acm.org>
Re: postgres processes spending most of their time in the kernel Tom Lane <tgl@sss.pgh.pa.us>
Re: postgres processes spending most of their time in the "Jeffrey W. Baker" <jwbaker@acm.org>
"Jeffrey W. Baker"  writes:
> strace unfortunately doesn't deref the sembuf structure in semop.

Right, but the PC would be enough to let us tell whether semop was being
called from IpcSemaphoreLock or IpcSemaphoreUnlock.

However, if the info isn't available then no use crying over it.  What
we'll need to do instead is add some debugging printouts to lwlock.c,
and hope that the extra logfile I/O calls don't change the timing enough
to hide the misbehavior.  I'll think a little about this and send you
an updated lwlock.c to try out.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Jeffrey W. Baker
Дата:
От: Jeffrey W. Baker
Дата:
FAQ