Date: Tue, 18 Nov 2003 22:29:42 +0100 (CET) From: =?iso-8859-1?q?Claus=20Guttesen?= <cguttesen@yahoo.dk> To: Scott Long <scottl@freebsd.org> Cc: current@freebsd.org Subject: Re: FreeBSD current, apache and php4 woes Message-ID: <20031118212942.15142.qmail@web14102.mail.yahoo.com> In-Reply-To: <20031118135038.T34253@pooker.samsco.home>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. >>> Add one of the two lines to /boot/loader.conf: >>> >>> kern.vn.kmem.size=350000000 >>> or >>> kern.maxvnodes=150000 >>> >>> The first one is probably the better choice for you >>> since >>> the very nature of what you are doing demands >>> that you touch a lot of vnodes. >> 1. added kern.vm.kmem.size=450000000 >> 2. clean up tmp-files older than 4 hours every hour > I forgot to mention in the last email that > kern.maxvnodes > will still scale upwards as you increase > kern.vm.kmem.size. > So you might want to set a hard limit on it so you > don't > continue to run into problems. A value of 200,000 > is probably good in your case. > A sysctl kern.maxvnodes gives me 134675, but it's been added as a safetyprecaution to /boot/loader.conf. regards Claus Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118212942.15142.qmail>