Re: Out of file-descriptors message

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Out of file-descriptors message
Дата
Msg-id 20061130145143.GJ15105@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Out of file-descriptors message  (Geoffrey <esoteric@3times25.net>)
Ответы Re: Out of file-descriptors message  (Geoffrey <esoteric@3times25.net>)
Список pgsql-admin
Geoffrey wrote:

> Okay, I'm just not getting it.  Postgres complains that it is out of
> file descriptors.  The kernel is not complaining about any such issues.
>
>
>                         So I should lower the max_files_per_process
> value and this will rid us of the 'out of file descriptors' error?
>
> Is it because the max_files_per_process is greater then the number of
> file descriptors that are alloted to Postgres by the kernel?

Yes.  Which is kinda weird, because Postgres actually tests the number
when it starts, so that if you set the number too high, it will decrease
it according to what the kernel allows.

Maybe the test is newer than the version you are running -- what was it,
again?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: Out of file-descriptors message
Следующее
От: John Allgood
Дата:
Сообщение: Re: Out of file-descriptors message