Skip site navigation (1) Skip section navigation (2)

Re: Out of file-descriptors message

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Geoffrey <esoteric(at)3times25(dot)net>
Cc: 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:51:43
Message-ID: 20061130145143.GJ15105@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-admin by date

Next:From: John AllgoodDate: 2006-11-30 14:52:07
Subject: Re: Out of file-descriptors message
Previous:From: GeoffreyDate: 2006-11-30 14:46:36
Subject: Re: Out of file-descriptors message

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group