Re: FreeBSD current, apache and php4 woes

From: Claus Guttesen <cguttesen_at_yahoo.dk>
Date: Tue, 18 Nov 2003 22:29:42 +0100 (CET)
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
Received on Tue Nov 18 2003 - 12:29:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC