Too Many Open Files... NetBSD

From: "Ian Harding" <ianh(at)tpchd(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Too Many Open Files... NetBSD
Date: 2001-12-18 21:42:41
Message-ID: sc1f4857.091@mail.tpchd.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Argh. I have finally come to the point where i have to pay attention to this nuts and bolts stuff.

I get: ERROR: pltcl: couldn't create pipe: too many open files

Is this the issue that requires setting options and recompiling my kernel like :

<Bruce's article>

FreeBSD
NetBSD
OpenBSD
The options SYSVSHM and SYSVSEM need to be enabled when the kernel is compiled. (They are by default.) The maximum size of shared memory is determined by the option SHMMAXPGS (in pages). The following shows an example of how to set the various parameters:

options SYSVSHM
options SHMMAXPGS=4096
options SHMSEG=256

options SYSVSEM
options SEMMNI=256
options SEMMNS=512
options SEMMNU=256
options SEMMAP=256
(On NetBSD and OpenBSD the key word is actually option singular.)

</Bruce's article>

It seems there is no easy way to tweak kernel memory configuration stuff in NetBSD. Can someone with some experience in this help me out here? Thanks!!

Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: iharding(at)tpchd(dot)org

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ian Harding 2001-12-18 21:57:06 More on Too Many Open Files... NetBSD
Previous Message Joe Koenig 2001-12-18 21:39:10 Re: Way to use count() and LIMIT?