Subject: Re: Too many open files in system
To: Robert Elz <kre@munnari.OZ.AU>
From: Lars <>
List: port-alpha
Date: 04/25/2002 13:01:01
Thanks mate.. seems to work so nice now :)

I learned alot today though, so it had some good with it.

+ Ill try not to start spamming so quickly next time i get a problem :)


On Thu, 25 Apr 2002, Robert Elz wrote:

>     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).
> kre

Cell: +46 70 328 02 46

- Thirty years after its creation, UNIX still remains a phenomenon -