Re: Process Files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rudi Starcevic <rudi(at)oasis(dot)net(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Process Files
Date: 2003-11-06 14:48:49
Message-ID: 19349.1068130129@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Rudi Starcevic <rudi(at)oasis(dot)net(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2003-11-06 15:07:57 Re: performance problem - 10.000 databases
Previous Message Marek Florianczyk 2003-11-06 14:38:43 Re: performance problem - 10.000 databases