Re: Out of file-descriptors message

From: Geoffrey <esoteric(at)3times25(dot)net>
To: John Allgood <john(at)turbocorp(dot)com>, pgsql-admin(at)postgresql(dot)org, Terry Lee Tucker <terry(at)leetuckert(dot)net>, "J(dot) D(dot) Pearson" <jpearson(at)turbocorp(dot)com>
Subject: Re: Out of file-descriptors message
Date: 2006-11-30 14:12:30
Message-ID: 456EE6CE.2030106@3times25.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bradley Kieser 2006-11-30 14:22:45 Re: Out of file-descriptors message
Previous Message Peter Eisentraut 2006-11-30 13:52:35 Re: dump from 8.x restore to 7.3.x