From owner-freebsd-bugs Tue Jun 10 12:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA25814 for bugs-outgoing; Tue, 10 Jun 1997 12:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA25799; Tue, 10 Jun 1997 12:20:02 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 12:20:02 -0700 (PDT) Resent-Message-Id: <199706101920.MAA25799@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, muir@ping.idiom.com Received: from ping.idiom.com (idiom-frVT1-gw.sf.tlg.net [140.174.37.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA25443 for ; Tue, 10 Jun 1997 12:15:34 -0700 (PDT) Received: (from muir@localhost) by ping.idiom.com (8.8.3/8.8.3) id MAA09307; Tue, 10 Jun 1997 12:15:33 -0700 (PDT) Message-Id: <199706101915.MAA09307@ping.idiom.com> Date: Tue, 10 Jun 1997 12:15:33 -0700 (PDT) From: David Muir Sharnoff Reply-To: muir@ping.idiom.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3836: Cannot remove HUGE directory Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3836 >Category: kern >Synopsis: Cannot remove HUGE directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 12:20:01 PDT 1997 >Last-Modified: >Originator: David Muir Sharnoff >Organization: Idiom >Release: FreeBSD 2.1.7.1-RELEASE i386 >Environment: A news system, without expire running... >Description: Quite accidently, I managed to create a directory with a large number of files in it. I'm not sure how many. The directory itself is 12MB. I suspect there are about 750,000 files in there. If I run find on that directory, the find process immediately bloats to 35MB. If I run rm on that directory, the rm process immediately bloats to 35MB. Using a simple perl program (doesn't bloat) I'm able to remove one file every two seconds or so. At this rate, it will take over four days to remove the directory! This bug report is not filed in complete seriousness. Most poeple aren't likely to run into this problem. >How-To-Repeat: Run news. Take a full feed of control. Don't run expire for two weeks. >Fix: >Audit-Trail: >Unformatted: