Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-02-11T20:04:02Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > I don't see a downside to just increasing the soft limit for > pgbench. Agreed, that end of the patch seems relatively harmless. regards, tom lane
Commits
-
Redefine max_files_per_process to control additionally opened files
- adb5f85fa5a0 18.0 landed
-
pgbench: Increase RLIMIT_NOFILE if necessary
- d38bab5edd60 18.0 landed
-
Move extra code out of the Pre/PostRestoreCommand() section.
- 8fb13dd6ab5b 17.0 cited