Re: Backends stunk in wait event IPC/MessageQueueInternal

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Backends stunk in wait event IPC/MessageQueueInternal
Дата
Msg-id CA+hUKGJVsUprVbPyUMk+fq2w2Xcbi-4T=oj3wGCvv+5EzC_ysQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Backends stunk in wait event IPC/MessageQueueInternal  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Backends stunk in wait event IPC/MessageQueueInternal  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Sat, May 14, 2022 at 9:25 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> In short, I'd recommend -DWAIT_USE_POLL for now.  It's possible that
> we could do something to prevent the selection of WAIT_USE_EPOLL on
> that platform, or that we should have a halfway option epoll() but not
> signalfd() (= go back to using the self-pipe trick), patches welcome,
> but that feels kinda strange and would be very niche combination that
> isn't fun to maintain... the real solution is to fix the bug.

I felt a bit sad about writing that, so I took a crack at trying to
write a patch that separates the signalfd/self-pipe choice from the
epoll/poll choice.  Maybe it's not too bad.

Japin, are you able to reproduce the problem reliably?  Did I guess
right, that you're on illumos?  Does this help?  I used
defined(__sun__) to select the option, but I don't remember if that's
the right way to detect that OS family, could you confirm that, or
adjust as required?

Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Backends stunk in wait event IPC/MessageQueueInternal
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Removing unneeded self joins