large number of files open... - Mailing list pgsql-general

From Thomas F. O'Connell
Subject large number of files open...
Date
Msg-id 3C45E847.7080303@monsterlabs.com
Whole thread Raw
Responses Re: large number of files open...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
i'm running postgres 7.1.3 in a production environment. the database
itself contains on the order of 100 tables, including some complex
triggers, functions, and views. a few tables (on the order of 10) that
are frequently accessed have on the order of 100,000 rows.

every now and then, traffic on the server, which is accessed publicly
via mod_perl (Apache::DBI) causes the machine itself to hit the kernel
hard limit of number of files open: 8191.

this, unfortunately, crashes the machine. in a production environment of
this magnitude, is that a reasonable number of files to expect postgres
to need at any given time? is there any documentation anywhere on what
the number of open files depends on?

-tfo


pgsql-general by date:

Previous
From: Henrik Steffen
Date:
Subject: Re: PQsendQuery: Query is too long
Next
From: "Thomas F. O'Connell"
Date:
Subject: news.postgresql.org