Re: [HACKERS] max_files_per_processes vs others uses of filedescriptors

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] max_files_per_processes vs others uses of filedescriptors
Дата
Msg-id 20170807214041.cbgo7khgjinvefay@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] max_files_per_processes vs others uses of file descriptors  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] max_files_per_processes vs others uses of file descriptors  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2017-08-07 17:30:13 -0400, Tom Lane wrote:
> Meh.  The lack of field complaints about this doesn't indicate to me that
> we have a huge problem, and in any case, just increasing NUM_RESERVED_FDS
> would do nothing for the system-wide limits.

Howso? Via count_usable_fds() we test for max_files_per_process /
RLIMIT_NOFILE fds, and *then* subtract NUM_RESERVED_FDS.

- Andres



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] max_files_per_processes vs others uses of file descriptors
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] ICU collation variant keywords and pg_collation entries(Was: [BUGS] Crash report for some ICU-52 (debian8) COLLATE and work_memvalues)