Date: Tue, 10 Jun 1997 12:15:33 -0700 (PDT) From: David Muir Sharnoff <muir@ping.idiom.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/3836: Cannot remove HUGE directory Message-ID: <199706101915.MAA09307@ping.idiom.com> Resent-Message-ID: <199706101920.MAA25799@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706101915.MAA09307>