From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:13:08 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 E1394106569B for ; Fri, 10 Oct 2008 09:13:08 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep15-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 312638FC23 for ; Fri, 10 Oct 2008 09:13:07 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge02.upc.biz ([192.168.13.237]) by viefep15-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081010091306.EYZT9167.viefep15-int.chello.at@edge02.upc.biz>; Fri, 10 Oct 2008 11:13:06 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge02.upc.biz with edge id QxD21a03a18VCLh02xD3dR; Fri, 10 Oct 2008 11:13:06 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF1C9C.3020201@shopzeus.com> Date: Fri, 10 Oct 2008 11:13:00 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Johan Hendriks , freebsd-questions@freebsd.org References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 8bit Cc: 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:13:09 -0000 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: vfs.ufs.dirhash_maxmem=8228608 Would it be scufficient? Thanks, Laszlo