From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:19:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6430910656A5 for ; Fri, 10 Oct 2008 09:19:07 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id EF5018FC20 for ; Fri, 10 Oct 2008 09:19:06 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9A9J6Xe076667; Fri, 10 Oct 2008 11:19:06 +0200 (CEST) (envelope-from Johan@double-l.nl) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 10 Oct 2008 11:19:05 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE18D@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 7.1 hangs, shutdown terminated Thread-Index: AckquMy1W93CkZC8TEKlsQqD5dFbugAAEQog References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> From: "Johan Hendriks" To: "Laszlo Nagy" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 09:19:07 -0000 >Johan Hendriks =EDrta: >> If find / -sx is running and is consuming all CPU, what is the value = of >vfs.ufs.dirhash_mem:=20 >> >> # sysctl -a | grep dirhash >> =20 >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: >> =20 >All right. It is close to it. Which one should I increase? I put this=20 >into /etc/sysctl.conf: >vfs.ufs.dirhash_maxmem=3D8228608 >Would it be scufficient? >Thanks, > Laszlo vfs.ufs.dirhash_maxmem=3D 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. Regards, Johan Hendriks Double L Automatisering No virus found in this outgoing message. Checked by AVG - http://www.avg.com=20 Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: = 9-10-2008 16:56