Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id B860D9F9ECF for ; Thu, 30 Nov 2006 11:55:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 14343-08 for ; Thu, 30 Nov 2006 11:55:30 -0400 (AST) X-Greylist: delayed 01:33:55.664552 by SQLgrey-1.7.4 Received: from laptop.kieser.net (kieser2.demon.co.uk [80.176.229.121]) by postgresql.org (Postfix) with ESMTP id 64F5C9F9DAD for ; Thu, 30 Nov 2006 11:55:35 -0400 (AST) Received: from [127.0.0.1] (laptop.kieser2.demon.co.uk [127.0.0.1]) by laptop.kieser.net (Postfix) with ESMTP id 06D8B1ABC64; Thu, 30 Nov 2006 14:22:46 +0000 (GMT) Message-ID: <456EE935.6080705@kieser.net> Date: Thu, 30 Nov 2006 14:22:45 +0000 From: Bradley Kieser User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: Geoffrey Cc: John Allgood , pgsql-admin@postgresql.org, Terry Lee Tucker , "J. D. Pearson" Subject: Re: Out of file-descriptors message References: <456DF2DE.3060002@turbocorp.com> <4727.1164835974@sss.pgh.pa.us> <456E03C9.6070204@the-allgoods.net> <20061129222523.GI7001@alvh.no-ip.org> <456EE6CE.2030106@3times25.net> In-Reply-To: <456EE6CE.2030106@3times25.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/262 X-Sequence-Number: 23789 Hmm, not entirely true. You may well only see the error in the process itself. 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. >