pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rudi Starcevic <rudi@oasis.net.au>
Cc: pgsql-admin@postgresql.org
Subject: Re: Process Files
Date: Thu, 06 Nov 2003 09:48:49 -0500
Message-ID: <19349.1068130129@sss.pgh.pa.us> (raw)
In-Reply-To: <3FA9E266.7090800@oasis.net.au>
References: <3FA9E266.7090800@oasis.net.au>

Rudi Starcevic <rudi@oasis.net.au> 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



view thread (3+ messages)  latest in thread

Message-ID: <19349.1068130129@sss.pgh.pa.us>
Permalink:  ../19349.1068130129@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19349.1068130129@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rudi@oasis.net.au
  Subject: Re: Process Files
  In-Reply-To: <19349.1068130129@sss.pgh.pa.us>
  References: <3FA9E266.7090800@oasis.net.au> <19349.1068130129@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox