From owner-freebsd-current Mon Feb 17 12: 9: 1 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0651637B476 for ; Mon, 17 Feb 2003 12:09:00 -0800 (PST) Received: from grassmarket.ucs.ed.ac.uk (grassmarket.ucs.ed.ac.uk [129.215.166.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84AD543F85 for ; Mon, 17 Feb 2003 12:08:48 -0800 (PST) (envelope-from s9905155@sms.ed.ac.uk) Received: from fourtytwo.gamesoc (12266209.resnet.ed.ac.uk [10.6.0.100] (may be forged)) by grassmarket.ucs.ed.ac.uk (8.11.6/8.11.6) with ESMTP id h1HK8kh13774 for ; Mon, 17 Feb 2003 20:08:46 GMT Received: from fourtytwo.gamesoc (localhost.gamesoc [127.0.0.1]) by fourtytwo.gamesoc (8.12.6/8.12.6) with ESMTP id h1HK8hdn000826 for ; Mon, 17 Feb 2003 20:08:43 GMT (envelope-from bruce@fourtytwo.gamesoc) Received: (from bruce@localhost) by fourtytwo.gamesoc (8.12.6/8.12.6/Submit) id h1HK8hMd000825 for current@freebsd.org; Mon, 17 Feb 2003 20:08:43 GMT Date: Mon, 17 Feb 2003 20:08:43 +0000 From: Bruce Cran To: current@freebsd.org Subject: system hangs when removing files and running sysctl Message-ID: <20030217200843.GA754@fourtytwo.gamesoc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm running 5.0-p1, cvsupped yesterday. I've just gone back to 5.0-RELEASE from -CURRENT because I found applications had started crashing quite a lot. I rebuilt the world, kernel and all my applications. Because I could do with the disk space back from the src, doc and ports directories, I started to delete them - from /usr, a UFS1 partition with softupdates enabled. When 'rm -rvf ports' was about half-way through completing, I decided to take a look at the file-system statistics. sysctl -a got to kern.clockrate: {hz=1000,tick=1000,profhz=1024,stathz=128} and then just hung. There was no other screen output and the keyboard stopped working. Also, all the disk activity stopped. I hard reset the machine and fsck ran - freeing 44621 files and directories! I managed to repeat this again - by starting to remove the rest of the ports dir before running sysctl -a. There are no errors in the logs before the system crashes. Bruce Cran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message