]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
ci: Remove ulimit -p for netbsd/openbsd
authorAndres Freund <andres@anarazel.de>
Mon, 5 Jan 2026 18:09:03 +0000 (13:09 -0500)
committerAndres Freund <andres@anarazel.de>
Mon, 5 Jan 2026 18:16:41 +0000 (13:16 -0500)
Previously the ulimit -p 256 was needed to increase the limit on
openbsd. However, sometimes the limit actually was too low, causing
  "could not fork new process for connection: Resource temporarily unavailable"
errors.  Most commonly on netbsd, but also on openbsd.

The ulimit on openbsd couldn't trivially be increased with ulimit, because of
hitting the hard limit.

Instead of increasing the limit in the CI script, the CI image generation now
increases the limits: https://github.com/anarazel/pg-vm-images/pull/129

Backpatch-through: 18

.cirrus.tasks.yml

index dd24afd3567017b42825797d6af9aa3a34758be8..a44b1d79abcc2d19a061040b44fdb511ae4109d0 100644 (file)
@@ -340,9 +340,6 @@ task:
     su postgres <<-EOF
       set -e
       ulimit -c unlimited
-      # Otherwise tests will fail on OpenBSD, due to inability to start enough
-      # processes.
-      ulimit -p 256
       meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
     EOF