Article View: news.software.nntp
Article #18272Re: Fastrm is a PIG
From: Gary Palmer
Date: Thu, 05 Jun 1997 00:00
Date: Thu, 05 Jun 1997 00:00
28 lines
1637 bytes
1637 bytes
In article <5n6c9q$m2g@news.bu.edu>,
cball@bu.edu (Charles Ball) writes:
> When system/kernel time is high, it is likely that you have some very
> thousands of files in control, junk, misc.jobs.offered, etc. Actually,
> if you've ever had a leak, the directory file doesn't shrink when the
> articles are finally removed;
Actually, not *QUITE* true. 4.4BSD derrived systems can truncate
directories.
root@news:/var/spool/news/control/cancel> ls | wc -l
2128
root@news:/var/spool/news/control/cancel> ls -dl .
drwxrwxr-x 2 news news 34304 Jun 5 21:49 .
root@news:/var/spool/news/control/cancel> rm * ; touch a ; rm a
root@news:/var/spool/news/control/cancel> ls -dl .
drwxrwxr-x 2 news news 512 Jun 5 21:49 .
root@news:/var/spool/news/control/cancel>
NOTE: A file (in this case `a') had to be created *BEFORE* the kernel
truncated the directory. Damned if I know exactly why, I haven't
looked too deeply into UFS/FFS since 4.3BSD net2
Gary
Technical Details
Message-ID:
<5n7qei$7dm@news.webspan.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<338209E6.76EA@MBnet.MB.CA> <5n6c9q$m2g@news.bu.edu>Show Full Headers
Complete Article Headers
Message-ID: <5n7qei$7dm@news.webspan.net> Subject: Re: Fastrm is a PIG Date: Thu, 05 Jun 1997 00:00:00 +0000 From: gpalmer@SPAM.webspan.net (Gary Palmer) References: <338209E6.76EA@MBnet.MB.CA> <5n6c9q$m2g@news.bu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 246436781 Sender: gpalmer@mutara.noc.webspan.net X-Report-Abuse-To: abuse@mail.webspan.net Organization: WebSpan Inc., New Jersey Newsgroups: news.software.nntp