From muir@ping.idiom.com  Tue Jun 10 12:15:34 1997
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 <FreeBSD-gnats-submit@freebsd.org>; 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 <muir@ping.idiom.com>
Reply-To: muir@ping.idiom.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Cannot remove HUGE directory
X-Send-Pr-Version: 3.2

>Number:         3836
>Category:       kern
>Synopsis:       Cannot remove HUGE directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 12:20:01 PDT 1997
>Closed-Date:    Sat Jan 23 11:17:55 PST 1999
>Last-Modified:  Sat Jan 23 11:21:56 PST 1999
>Originator:     David Muir Sharnoff
>Release:        FreeBSD 2.1.7.1-RELEASE i386
>Organization:
Idiom
>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:
	

>Release-Note:
>Audit-Trail:

From: "Gary Palmer" <gpalmer@FreeBSD.ORG>
To: muir@ping.idiom.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/3836: Cannot remove HUGE directory 
Date: Tue, 10 Jun 1997 20:04:23 -0400

 David Muir Sharnoff wrote in message ID
 <199706101915.MAA09307@ping.idiom.com>:
 > 	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!
 
 Tried mounting the parition async? It will help (if you are on a 2.2
 or later kernel) 
 
 Gary
 --
 Gary Palmer                                          FreeBSD Core Team Member
 FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Sat Jan 23 11:17:55 PST 1999 
State-Changed-Why:  
PR was intended as a comment rather than a serious bug report, and was 
responded to. 
>Unformatted:
