From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 11:07:49 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 1191F106569A; Fri, 10 Oct 2008 11:07:49 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 295558FC0C; Fri, 10 Oct 2008 11:07:47 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge05.upc.biz ([192.168.13.212]) by viefep20-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010110746.LIPF7113.viefep20-int.chello.at@edge05.upc.biz>; Fri, 10 Oct 2008 13:07:46 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge05.upc.biz with edge id Qz7k1a07W18VCLh05z7max; Fri, 10 Oct 2008 13:07:46 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF377F.1030606@shopzeus.com> Date: Fri, 10 Oct 2008 13:07:43 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> <20081010103753.GA30120@icarus.home.lan> In-Reply-To: <20081010103753.GA30120@icarus.home.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: [SOLVED] 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 11:07:49 -0000 > Firstly, I see a periodic(8) job that DOES use find -sx, which means > your attempt to track it down was faulty, and your syntax should have > been "find -sx /" not "find / -sx". See here: > > /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ > Thanks for clearing that out. :-) I did not remember what it was and failed to find it. > $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. > > So, what you saw was the periodic check looking for setuid-root > binaries. > > Secondly, the kernel does not spawn userland processes like find(1). > > Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do > is control the amount of memory used for directory structure caching; > rather than continually hit the disk every time and spend all that time > handling directory contents, the kernel can cache previously-fetched > contents in memory Now it stays this value constantly: vfs.ufs.dirhash_mem: 44306131 I think it is now caching everything. Thank you again, and sorry for the dumb questions. Laszlo