pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jade <jade@vanzoest.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: postgresql 7.1 file descriptor
Date: Wed, 08 May 2002 12:31:46 -0400
Message-ID: <2952.1020875506@sss.pgh.pa.us> (raw)
In-Reply-To: <20020507152551.M65365-100000@vision.estjohn.com>
References: <20020507152551.M65365-100000@vision.estjohn.com>

jade <jade@vanzoest.com> writes:
> I am running postgresql - 7.1 on Redhat 2.2.16-22 kernel.
> Sometimes this the system becomes totally unusable with
> "VFS: file-max limit 4096 reached" error?  The system is setup to have
> 4096 file descriptor as default.  I was wondering how many file descriptor
> does postgres open per backend process?

Potentially lots.  Increase your system's NFILE limit, or reduce the max
number of backends you will allow PG to start, or update to 7.2 which
will let you set a per-backend file limit (see MAX_FILES_PER_PROCESS;
AFAIR that parameter did not exist in 7.1).

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <2952.1020875506@sss.pgh.pa.us>
Permalink:  ../2952.1020875506@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2952.1020875506@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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jade@vanzoest.com, pgsql-hackers@postgresql.org
  Subject: Re: postgresql 7.1 file descriptor
  In-Reply-To: <2952.1020875506@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