Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 8FB229FB285 for ; Wed, 29 Nov 2006 18:26:08 -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 91629-03 for ; Wed, 29 Nov 2006 18:25:40 -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 409E09FA1A1 for ; Wed, 29 Nov 2006 18:26:01 -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 kATMPSQH020937; Wed, 29 Nov 2006 14:25:29 -0800 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 73B3FC2D33D; Wed, 29 Nov 2006 19:25:23 -0300 (CLST) Date: Wed, 29 Nov 2006 19:25:23 -0300 From: Alvaro Herrera To: John Allgood Cc: Tom Lane , pgsql-admin@postgresql.org, Terry Lee Tucker , "J. D. Pearson" , Geoffrey Subject: Re: Out of file-descriptors message Message-ID: <20061129222523.GI7001@alvh.no-ip.org> Mail-Followup-To: John Allgood , Tom Lane , pgsql-admin@postgresql.org, Terry Lee Tucker , "J. D. Pearson" , Geoffrey References: <456DF2DE.3060002@turbocorp.com> <4727.1164835974@sss.pgh.pa.us> <456E03C9.6070204@the-allgoods.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <456E03C9.6070204@the-allgoods.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]); Wed, 29 Nov 2006 14:25:29 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/247 X-Sequence-Number: 23774 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.