From owner-freebsd-bugs@FreeBSD.ORG Sat Feb 19 02:50:10 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF30B16A4D0 for ; Sat, 19 Feb 2005 02:50:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEEAE43D1F for ; Sat, 19 Feb 2005 02:50:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1J2oAjE079959 for ; Sat, 19 Feb 2005 02:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1J2oAUY079958; Sat, 19 Feb 2005 02:50:10 GMT (envelope-from gnats) Date: Sat, 19 Feb 2005 02:50:10 GMT Message-Id: <200502190250.j1J2oAUY079958@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Subject: Re: kern/77680: Too many files in a single directory slowing and then crashing the system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 02:50:11 -0000 The following reply was made to PR kern/77680; it has been noted by GNATS. From: Kris Kennaway To: David WU Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/77680: Too many files in a single directory slowing and then crashing the system Date: Fri, 18 Feb 2005 18:48:40 -0800 --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 18, 2005 at 02:53:47PM +0000, David WU wrote: > I have a mail server running mainly sendmail with amavisd-new and > clamav and spamassasin. The size of the quarantine directory > /var/virusmails can grow fairly quickly due to the large number of > files created. I suspect when the size get to be larger than 8M > (from the output of ls -l /var) the system will start to slow down > considerably and if nothing is done will crash eventually, and will > not be able to reboot without manually intervention, as fsck will > fail no matter how many times the problematic file system is > checked. I had to remove manually all the files under > /var/virusmails and perhaps even the directory itself before fsck > can be used to make the file system clean enough for a reboot. Please obtain a debugging traceback as explained in the chapter on kernel debugging in the developers' handbook. Kris --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCFqkHWry0BWjoQKURArUNAKDxyK4qhkLkfTemHjcT4JWjxjnxAwCeKxSi e5BAwOW4TgfyG5581By8NuI= =sAA6 -----END PGP SIGNATURE----- --3siQDZowHQqNOShm--