Subject: Re: sysctl & process limitations
To: Randy Arabie <rrarabie@arabie.org>
From: Dan Nelson <dnelson@allantgroup.com>
List: netbsd-help
Date: 02/02/2002 20:58:07
In the last episode (Feb 02), Randy Arabie said:
> On Sat, 2 Feb 2002, Dan Nelson wrote:
> mysql.
> > > 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" .
> 
> How high can I go??
> 
> Tried 5000, and it still bombs at the same point.  I set that at the 
> kernel level and the descriptors at the process level.

The error might not actually be the kernel limit being reached.  It
might just be the per-process rlimit.  What does "ulimit -n" print?

-- 
	Dan Nelson
	dnelson@allantgroup.com