Re: How many file descriptors does postgres need?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How many file descriptors does postgres need?
Дата
Msg-id 11530.1268150803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How many file descriptors does postgres need?  (Steve Atkins <steve@blighty.com>)
Список pgsql-general
Steve Atkins <steve@blighty.com> writes:
> Postgresql is supposed to cope with file descriptor limits quite happily, as long as the OS actually restricts the
numberof files a process can have open. If it doesn't restrict the number, just falls over if there's too many, there's
apostgresql configuration option to limit it (max_files_per_process, I think). 

Usually the problem is not that Postgres falls over, but that everything
else on the box starts to fall over once PG has run the kernel out of
file descriptors.  Make sure max_connections * max_files_per_process is
less than the kernel's file table size, with enough daylight for the
machine's other activities.

            regards, tom lane

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

Предыдущее
От: John Gage
Дата:
Сообщение: Re: Entering a character code in a query
Следующее
От: Dan Fitzpatrick
Дата:
Сообщение: Update view/table rule order of operations or race condition