Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9F8289FA0FB for ; Thu, 30 Nov 2006 10:52:36 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 14408-05-4 for ; Thu, 30 Nov 2006 10:52:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id A0C049FA18B for ; Thu, 30 Nov 2006 10:52:23 -0400 (AST) Received: from alvh.no-ip.org (200-126-100-202.bk7-dsl.surnet.cl [200.126.100.202]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id kAUEpkvW007120; Thu, 30 Nov 2006 06:51:47 -0800 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 29006C2D33D; Thu, 30 Nov 2006 11:51:44 -0300 (CLST) Date: Thu, 30 Nov 2006 11:51:43 -0300 From: Alvaro Herrera To: Geoffrey Cc: John Allgood , pgsql-admin@postgresql.org, Terry Lee Tucker , "J. D. Pearson" Subject: Re: Out of file-descriptors message Message-ID: <20061130145143.GJ15105@alvh.no-ip.org> Mail-Followup-To: Geoffrey , John Allgood , pgsql-admin@postgresql.org, Terry Lee Tucker , "J. D. Pearson" 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> <20061130142758.GI15105@alvh.no-ip.org> <456EEECC.1000701@3times25.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <456EEECC.1000701@3times25.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Thu, 30 Nov 2006 06:51:48 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/255 X-Sequence-Number: 23782 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