Re: More on Too Many Open Files... NetBSD

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Ian Harding" <ianh(at)tpchd(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: More on Too Many Open Files... NetBSD
Date: 2001-12-18 22:31:10
Message-ID: m33d2817pt.fsf@varsoon.denali.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ian Harding" <ianh(at)tpchd(dot)org> writes:

> Having no idea what i am looking for, I find...
>
> bash-2.05$ ulimit -a
[...]
> open files 64

This is pretty low. Each PG backend can open a lot of files with a
large database. I'd try cranking it up in the script that starts PG.

> bash-2.05$ sysctl kern.maxfiles
> kern.maxfiles = 1772

If this is the systemwide limit it also might be a bit low. It's more
likely to be the ulimit that's biting you though.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew G. Hammond 2001-12-18 22:39:31 Re: Is there a PostgresQL equivalent to the DESCRIBE
Previous Message Bruce Momjian 2001-12-18 22:30:01 Re: More on Too Many Open Files... NetBSD