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

From Alvaro Herrera
Subject Re: Out of file-descriptors message
Date
Msg-id 20061130145143.GJ15105@alvh.no-ip.org
Whole thread Raw
In response to Re: Out of file-descriptors message  (Geoffrey <esoteric@3times25.net>)
Responses Re: Out of file-descriptors message  (Geoffrey <esoteric@3times25.net>)
List 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 by date:

Previous
From: Geoffrey
Date:
Subject: Re: Out of file-descriptors message
Next
From: John Allgood
Date:
Subject: Re: Out of file-descriptors message