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

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

On Wed, 29 Oct 2025 at 11:11, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> This patch set is showing compiler warnings because pg_system() wasn't
> properly declared where needed. Please provide an update that builds
> cleanly.

It still compiled fine on my local branch, but indeed after a rebase not anymore. I guess some include got removed in some header in the meantime. Attached an updated version (which added an storage/fd.h include).

> Also, it appears the patch for pgbench disappeared from the series. Was
> that intentional?

Yes, the pgbench change got committed for PG18 already (see Andres' last message in the thread).

Attachment Content-Type Size
v8-0001-Adds-a-helper-for-places-that-shell-out-to-system.patch text/x-patch 6.0 KB
v8-0002-Bump-postmaster-soft-open-file-limit-RLIMIT_NOFIL.patch text/x-patch 9.7 KB
v8-0003-Reflect-the-value-of-max_safe_fds-in-max_files_pe.patch text/x-patch 1.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2025-11-03 17:16:30 Re: Add \pset options for boolean value display
Previous Message Zsolt Parragi 2025-11-03 16:53:35 Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode