Re: Out of file-descriptors message - Mailing list pgsql-admin

From Geoffrey
Subject Re: Out of file-descriptors message
Date
Msg-id 456EEA2C.6070901@3times25.net
Whole thread Raw
In response to Out of file-descriptors message  (John Allgood <john@turbocorp.com>)
List pgsql-admin
Bradley Kieser wrote:
> Hmm, not entirely true. You may well only see the error in the process
> itself.

You're telling me that the kernel could be running out of file
descriptors and I wouldn't see a message regarding this in the kernel
logs?  I don't believe that is possible.

>
>
> Geoffrey wrote:
>> Alvaro Herrera wrote:
>>> John Allgood wrote:
>>>> Hey Tom
>>>>
>>>>     I assume that if it is the kernel running out of descriptors that I
>>>> would get the messages in dmesg. This message only appears in the log
>>>> file for that database.
>>>
>>> Yeah, the point is that you have the max_files_per_process setting
>>> higher than what the kernel likes.  So decrease it, and Postgres will
>>> adjust itself to use less file descriptors by closing and reopening
>>> files as needed.
>>
>> I work with the original poster and wanted to make sure the problem
>> here is clear.  The 'out of file descriptors' message is coming from
>> Postgresql, not the kernel.  Thus, it doesn't make sense to me that
>> the max_files_per_process setting is too high.  I would think we need
>> to increase it so that Postgresql will stop generating these errors.
>>
>


--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin

pgsql-admin by date:

Previous
From: Geoffrey
Date:
Subject: Re: Out of file-descriptors message
Next
From: Alvaro Herrera
Date:
Subject: Re: Out of file-descriptors message