Subject: Re: Time to bump the default open files limit?
To: NetBSD Kernel Technical Discussion List <tech-kern@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: tech-kern
Date: 06/21/2002 16:16:57
On Fri, 21 Jun 2002, Greg A. Woods wrote:
# > At startup time,
# > wherever it makes most sense, all one needs to do is up the soft limit
# > on a per-case basis.
#
# It's not that kind of a soft limit though -- I think you have to change
# OPEN_MAX if you're going to bump the default value for ulimit(nofiles).
Default, yes; highest allowed, no.
$ ulimit -n
64
$ ulimit -n 128
$ ulimit -n
128
$
So the process can actually self-adjust its ulimit(nofiles).
--*greywolf;
--
Microsoft:
"Just click on the START button and your journey to the Dark Side
will be complete!"