Re: Regression tests fail on OpenBSD due to low semmns value - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Regression tests fail on OpenBSD due to low semmns value
Date
Msg-id 2782114.1734541248@sss.pgh.pa.us
Whole thread Raw
In response to Re: Regression tests fail on OpenBSD due to low semmns value  (Andres Freund <andres@anarazel.de>)
Responses Re: Regression tests fail on OpenBSD due to low semmns value
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Maybe we should consider switching those platforms to unnamed posix
> semaphores?

I already looked into that.  OpenBSD still doesn't have cross-process
posix semaphores, at least according to its man page.  NetBSD does,
but they consume an FD per sema, which is actually worse because
the default max-open-files-per-process is none too large either.

> But TBH, nobody uses openbsd and netbsd if performance matters even one
> iota. And considering a bunch of postgres changes to deal with idiotic default
> sysv limits doesn't feal like a sensible thing to do in 2024.

Yeah, I would not expend a lot of effort on this.  But two one-line
changes doesn't seem unreasonable.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Removing the pgstat_flush_io() call from the walwriter
Next
From: Melanie Plageman
Date:
Subject: Re: Can rs_cindex be < 0 for bitmap heap scans?