X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2B266D1BB43 for ; Thu, 6 Nov 2003 14:49:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 89485-01 for ; Thu, 6 Nov 2003 10:49:01 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id D2CD7D1BB48 for ; Thu, 6 Nov 2003 10:48:56 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hA6Emo19019350; Thu, 6 Nov 2003 09:48:50 -0500 (EST) To: Rudi Starcevic Cc: pgsql-admin@postgresql.org Subject: Re: Process Files In-reply-to: <3FA9E266.7090800@oasis.net.au> References: <3FA9E266.7090800@oasis.net.au> Comments: In-reply-to Rudi Starcevic message dated "Thu, 06 Nov 2003 15:55:50 +1000" Date: Thu, 06 Nov 2003 09:48:49 -0500 Message-ID: <19349.1068130129@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/92 X-Sequence-Number: 11080 Rudi Starcevic writes: > ERROR: _mdfd_getrelnfd: cannot open relation virtualusertable: Cannot > allocate memory Hm, that's a rather odd error code, but I suppose it must mean that you have run out of kernel memory for file descriptor slots or inodes. > I'd like to try limiting the amount of files per process. > Is there an option I can configure to do this ?? max_files_per_process. If you don't have it you need a newer version of Postgres. Note that you could also attack this by increasing the kernel filetable size; I forget exactly how to do that in Linux, but it is possible. regards, tom lane