>Johan Hendriks írta:
>> If find / -sx is running and is consuming all CPU, what is the value of 
>> >vfs.ufs.dirhash_mem: 
>> # sysctl -a | grep dirhash
>shopzeus# sysctl -a | grep dirhash
>vfs.ufs.dirhash_docheck: 0
>vfs.ufs.dirhash_mem: 2095818
>vfs.ufs.dirhash_maxmem: 2097152
>vfs.ufs.dirhash_minsize: 2560

>> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem:
>All right. It is close to it. Which one should I increase? I put this 
>into /etc/sysctl.conf:


>Would it be scufficient?


>   Laszlo

vfs.ufs.dirhash_maxmem= is the value to adjust.

Mine is at 12582912. this happens on Mailservers 'which has a lot of directorys 
for the mail.

The value depends on how many directory's there are on your system.
Keep track on the value and when it hits the limit again increase the limit 
until it stays under the limit.

It can take a while to reach the limit again.

Johan Hendriks
Double L Automatisering

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 9-10-2008 16:56
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to