Re: Regression tests fail on OpenBSD due to low semmns value
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter@eisentraut.org>,
Andrew Dunstan <andrew@dunslane.net>,
Alexander Lakhin <exclusion@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-12-18T17:00:48Z
Lists: 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
Commits
-
Try to avoid semaphore-related test failures on NetBSD/OpenBSD.
- a46311ed7214 17.3 landed
- 38da053463be 18.0 landed