Re: Adding NetBSD and OpenBSD to Postgres CI

From: Andres Freund <andres(at)anarazel(dot)de>
To: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Adding NetBSD and OpenBSD to Postgres CI
Date: 2026-01-05 18:36:50
Message-ID: 4jwrwsisejikh6ml2gsdkev7bauj2phaliau7y3af7xtdtmqdq@7yvasiitenwn
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The openbsd/netbsd CI tasks are occasionally failing due to reaching the
process limit. See e.g.
https://cirrus-ci.com/task/5559228405907456
+psql: error: connection to server on socket "/tmp/pg_regress-nQ1wk1/.s.PGSQL.40056" failed: could not fork new process for connection: Resource temporarily unavailable

This is due to the ulimit -p 256 in .cirrus.tasks.yml not being high enough.
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

I plan to push this patch soon.

Greetings,

Andres Freund

Attachment Content-Type Size
v1-0001-ci-Remove-ulimit-p-for-netbsd-openbsd.patch text/x-diff 1.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-01-05 18:37:45 Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode
Previous Message Masahiko Sawada 2026-01-05 18:18:05 Re: Fix typo in code comment