Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup
Дата
Msg-id 4huky7iczrycvq3ptpjkkzrclsabqceu6jyppizotjafqywq5g@g4eynaqxjog5
обсуждение исходный текст
Ответ на Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bump soft open file limit (RLIMIT_NOFILE) to hard limit on startup
Список pgsql-hackers
Hi,

On 2025-02-17 21:25:33 +0100, Jelte Fennema-Nio wrote:
> On Mon, 17 Feb 2025 at 18:24, Andres Freund <andres@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



В списке pgsql-hackers по дате отправления: