Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Andres Freund" <andres(at)anarazel(dot)de>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Tomas Vondra" <tomas(at)vondra(dot)me>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>
Subject: Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup
Date: 2026-03-14 14:16:56
Message-ID: DH2KI9CKKNA8.RW1T8VO8PKXB@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun Dec 7, 2025 at 4:55 PM CET, Jelte Fennema-Nio wrote:
> I needed to rebase this patch, and that made me finally take the time to
> do the restoration of the file limit for subprocesses properly:

Rebased version attached.

Attachment Content-Type Size
v10-0001-Bump-postmaster-soft-open-file-limit-RLIMIT_NOFI.patch text/x-patch 22.0 KB
v10-0002-Reflect-the-value-of-max_safe_fds-in-max_files_p.patch text/x-patch 1.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2026-03-14 14:53:21 Re: Tighten asserts on ParallelWorkerNumber a little bit
Previous Message Henson Choi 2026-03-14 14:14:26 Re: Row pattern recognition