From: Bruce Momjian <bruce@momjian.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: doc: clarify new behavior of max_files_per_process
Date: Tue, 29 Apr 2025 10:29:27 -0400
Message-ID: <aBDiR5xXLPIDywwx@momjian.us> (raw)
In-Reply-To: <aBDhqsY28LRHhmwp@momjian.us>
References: <E1u9lHM-000AZB-1b@gemulon.postgresql.org>
<5yqochswkulckuzzrwgv2nqdrfh4k4coc4uwq4lvgzkfwnbjbd@46igbiwjabn2>
<aBDhqsY28LRHhmwp@momjian.us>
On Tue, Apr 29, 2025 at 10:26:50AM -0400, Bruce Momjian wrote:
> On Tue, Apr 29, 2025 at 09:52:03AM -0400, Andres Freund wrote:
> > Hi,
> >
> > On 2025-04-29 13:45:44 +0000, Bruce Momjian wrote:
> > > doc: clarify new behavior of max_files_per_process
> >
> > I don't think this really is an improvement - if postmaster is called with a
> > bunch of files already opened, they aren't opened by postmaster, but still are
> > ignored...
>
> Okay, I was more objecting to the text that wasn't clear; it was:
>
> Sets the maximum number of open files each server subprocess is
> allowed to open simultaneously, in addition to the files already
> open in postmaster. The default is one thousand files.
>
> The "in addition" wasn't clear to me. I could read it as "adding" the
> postmaster file descriptors. I changed it now to:
>
> Sets the maximum number of open files each server subprocess is
> allowed to open simultaneously; files opened in the postmaster are
> not counted toward this limit. The default is one thousand files.
I ended up preserving your "already" too:
Sets the maximum number of open files each server subprocess
is allowed to open simultaneously; files already opened in the
postmaster are not counted toward this limit. The default is one
thousand files.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Do not let urgent matters crowd out time for investment in the future.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us, andres@anarazel.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: doc: clarify new behavior of max_files_per_process
In-Reply-To: <aBDiR5xXLPIDywwx@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox