Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2001 13:24:29 -0500
From:      Dingo <dingo@microbsd.net>
To:        John Fox <foxden@harborside.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kern.maxfiles question
Message-ID:  <1008267870.23595.30.camel@devel.netwolves.com>
In-Reply-To: <OHEAJLADOMPCFHPMEGNIEEPIDNAA.foxden@harborside.com>
References:  <OHEAJLADOMPCFHPMEGNIEEPIDNAA.foxden@harborside.com>

next in thread | previous in thread | raw e-mail | index | archive | help
try this, on my system the defaults are

 sysctl -a | grep maxfiles
kern.maxfiles: 4136
kern.maxfilesperproc: 4136

take the output of kern.maxfiles

and up it

sysctl -w kern.maxfiles=8272
kern.maxfiles: 4136 -> 8272

this effectively doubles it

also read man sysctl


On Thu, 2001-12-13 at 12:14, John Fox wrote:
> Greetings,
> 
> I started seeing the 'file: table is full' message on the nightly output
> log, so I went to the site so see what I could find out about it.  It said I
> needed to up the number of descriptors allowed in kern.maxfiles.   I looked
> and I couldn't find this file on my system.  Is this a file that I have to
> add in?
> 
> John Fox
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1008267870.23595.30.camel>