Re: Backends stunk in wait event IPC/MessageQueueInternal

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Japin Li <japinli(at)hotmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Backends stunk in wait event IPC/MessageQueueInternal
Date: 2022-05-14 03:01:59
Message-ID: CA+hUKGKUPu=eut7KoyaZdNYS0p8VDtonwhWfWBqAKXcGE2ot6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, May 14, 2022 at 10:25 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> 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?

Better version. Now you can independently set -DWAIT_USE_{POLL,EPOLL}
and -DWAIT_USE_{SELF_PIPE,SIGNALFD} for testing, and it picks a
sensible default.

Attachment Content-Type Size
v2-0001-Don-t-trust-signalfd-on-illumos.patch text/x-patch 6.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-05-14 04:52:10 Re: First draft of the PG 15 release notes
Previous Message Andrew Dunstan 2022-05-14 01:37:54 Re: JSON Functions and Operators Docs for v15