From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 10:19:18 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 A066D1065678; Fri, 10 Oct 2008 10:19:18 +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 AAFE88FC15; Fri, 10 Oct 2008 10:19:17 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge03.upc.biz ([192.168.13.238]) by viefep20-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010101914.JGGI7113.viefep20-int.chello.at@edge03.upc.biz>; Fri, 10 Oct 2008 12:19:14 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge03.upc.biz with edge id QyKD1a01d18VCLh03yKEtg; Fri, 10 Oct 2008 12:19:14 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF2C1F.6000004@shopzeus.com> Date: Fri, 10 Oct 2008 12:19:11 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick , freebsd-questions@freebsd.org References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> In-Reply-To: <48EF23CB.8020104@shopzeus.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 10:19:18 -0000 >> > Thank you very much! Probably you are right. Our users use shared IMAP > folders and sometimes they keep ten thousands of messages in one > folder. I have increased dirhash_maxmem to 64MB and see what happens. > > Unfortunately, I cannot play with the hardware because it is in a > server park, and it must be up 99.99% on workdays. > > I hope dirhash will solve the problem. I'm setting this to [SOLVED] > and come back if it happens again. (Maybe on monday?) > > By the way, there is nothing in /etc/periodic that would execute "find > / -sx". Can somebody explain what is this for, and why it was started > by root? Is it being used instead for enumerating files in a > directory, when dir hash is full? I'm starting to believe that this was the problem. Within an hour, I see this: shopzeus# sysctl vfs.ufs vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 33708867 vfs.ufs.dirhash_maxmem: 134217728 vfs.ufs.dirhash_minsize: 2560 Went up to 32MB! L