Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u9lvG-00691A-MC for pgsql-committers@arkaria.postgresql.org; Tue, 29 Apr 2025 14:26:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u9lvC-007dtq-V8 for pgsql-committers@arkaria.postgresql.org; Tue, 29 Apr 2025 14:26:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u9lvC-007dti-O5 for pgsql-committers@lists.postgresql.org; Tue, 29 Apr 2025 14:26:55 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u9lvA-000CGR-2I for pgsql-committers@lists.postgresql.org; Tue, 29 Apr 2025 14:26:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=jykhvVAkjGooqvqUrEmDXYmJP7p4LNsW3mBSoDJ15Sw=; b=imP0A Qxk/D7EzmGtfPZP5BxnSVaCDDJNdY1Y1J2a9dIbgxpLHyeW+0whfTA17lRAxIPH4yYZF3VUqMuvcT GCLNE7G6ldne8/4VqAiMco2ZeCZdB+qvJ61NzPb4bYQkmdQkw9+vPCCuzbUNa99VViuGjCgTzwDNe 0Rk/IqcgP+HCQBVEv8im6UUISoVe+tNSgBEZT29UOzVIIuhYs/yozz2TWUNo/vPU83Rjy+9t+cXtC 3eK7Nmn4eEYvuJsHUk8gGuH1U1zNW5twLRYpaZB7K+3STo/qaLW501Es/V83sQiQGu30Nt6i5k1gt uJyirRT7ez5/iXNr1NEY8p6ZoRrEQ==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1u9lv8-00FkL4-10; Tue, 29 Apr 2025 10:26:50 -0400 Date: Tue, 29 Apr 2025 10:26:50 -0400 From: Bruce Momjian To: Andres Freund Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: doc: clarify new behavior of max_files_per_process Message-ID: References: <5yqochswkulckuzzrwgv2nqdrfh4k4coc4uwq4lvgzkfwnbjbd@46igbiwjabn2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5yqochswkulckuzzrwgv2nqdrfh4k4coc4uwq4lvgzkfwnbjbd@46igbiwjabn2> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.