Re: Out of file-descriptors message

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: John Allgood <jallgood(at)the-allgoods(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org, Terry Lee Tucker <terry(at)leetuckert(dot)net>, "J(dot) D(dot) Pearson" <jpearson(at)turbocorp(dot)com>, Geoffrey <esoteric(at)3times25(dot)net>
Subject: Re: Out of file-descriptors message
Date: 2006-11-29 22:25:23
Message-ID: 20061129222523.GI7001@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shane Ambler 2006-11-30 11:09:34 Re: dump from 8.x restore to 7.3.x
Previous Message John Allgood 2006-11-29 22:03:53 Re: Out of file-descriptors message