Re: Adding NetBSD and OpenBSD to Postgres CI - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Adding NetBSD and OpenBSD to Postgres CI
Date
Msg-id 4jwrwsisejikh6ml2gsdkev7bauj2phaliau7y3af7xtdtmqdq@7yvasiitenwn
Whole thread Raw
Responses Re: Adding NetBSD and OpenBSD to Postgres CI
List 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
forconnection: 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

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Fix typo in code comment
Next
From: Jacob Champion
Date:
Subject: Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode