public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Benefit to increasing max_files_per_process?
Date: Fri, 13 Dec 2024 11:35:55 -0500
Message-ID: <CANzqJaCicbLFV9emsTQO4mJGdGVkCo7F5Un6oUacjqOSSEj7fA@mail.gmail.com> (raw)

PG 14.13 on RHEL 8.10

max_files_per_process is the default 1000.

Currently, many connection processes are hovering around 990 open files.

Does PG purposefully close some unused files when getting near the max?
Would we see benefits to increasing max_files_per_process as well as
running "ulimit -n 2500" (and then of course restarting PG).

I don't see any "too many open files" errors in the log file, but am trying
to plan ahead.

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


reply

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Benefit to increasing max_files_per_process?
  In-Reply-To: <CANzqJaCicbLFV9emsTQO4mJGdGVkCo7F5Un6oUacjqOSSEj7fA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox