Hi, On 2025-02-17 21:25:33 +0100, Jelte Fennema-Nio wrote: > On Mon, 17 Feb 2025 at 18:24, Andres Freund <and...@anarazel.de> wrote: > > Why not do this only in the if (rlim.rlim_cur < nclients + 3) case? > > Done, I also changed it to not bump to rlim_max, but only to nclients > + 3. The rest of the patches I'll update later. But response below.
I've pushed this, with one trivial modification: I added %m to the error message in case setrlimit() fails. That's really unlikely to ever happen, but ... Greetings, Andres Freund