Subject: Re: sysctl & process limitations
To: Randy Arabie <rrarabie@arabie.org>
From: Dan Nelson <dnelson@allantgroup.com>
List: netbsd-help
Date: 02/02/2002 14:59:04
In the last episode (Feb 02), Randy Arabie said:
> On Sat, 2 Feb 2002, Manuel Bouyer wrote:
> > 23 is "Too many open files in system"
> >
> > Maybe the whole system has too many open files ?
> > The limit is kern.maxfiles and you can count them with 'fstat'.
>
> The output of "# fstat | wc -l" is 213.
>
> kern.maxfiles = 1772
Raise that to (say) 5000. I assume netbsd has an /etc/sysctl.conf you
can use, or you can do it manually via "sysctl -w kern.maxfiles=5000" .
--
Dan Nelson
dnelson@allantgroup.com