Subject: Re: Too many open files in system
To: Lars <>
From: Robert Elz <kre@munnari.OZ.AU>
List: port-alpha
Date: 04/25/2002 21:55:49
    Date:        Thu, 25 Apr 2002 12:38:33 +0200 (CEST)
    From:        Lars <>
    Message-ID:  <>

  | Ok im still having these problems and ive tried a few things.

You should probably check the list archives - there was a thread on
exactly this (running out of fd's in mysqld) which I think was
resolved earlier this year I believe (I didn't pay it that much
attention, but I recall seeing it).

However, don't go looking in port-alpha - this isn't the right place
for this kind of discussion at all, it would have been on netbsd-help
or current-users or tech-kern or some list like that.

And I see your later message where you have found a solution...

But ...

  | Anyway of compiling into the kernel how many i can have? as default?

if you really need to do that, the number comes from the definition of
OPEN_MAX in sys/syslimits.h - via NOFILE in sys/param.h which is used
in kern/init_main.c

I don't think I'd suggest altering any of those though - that could have
impacts on programs that really can't handle getting large file descriptor
numbers returned to them (if they happen to open more files that is
normally needed).