Re: Adding NetBSD and OpenBSD to Postgres CI

Поиск
Список
Период
Сортировка
Искать

Re: Adding NetBSD and OpenBSD to Postgres CI

От:
Andres Freund <andres@anarazel.de>
Дата:
Вложения:
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

Re: Adding NetBSD and OpenBSD to Postgres CI

От:
Andres Freund <andres@anarazel.de>
Дата:
On 2026-01-05 13:36:50 -0500, Andres Freund wrote:
> 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.

And done.


FAQ