🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17150

Re: Mass File Removal/Fastrm

#17150
From: Casper H.S. Dik - Network Securi...
Date: Sun, 20 Apr 1997 00:00
34 lines
2027 bytes
msd@nova.dreamscape.com (Matthew Dwyer) writes:

>Hello,

>We are running a INN 1.5 news system on a Sparc 5/Solaris 2.4
>with an 18gig striped filesystem. The performance of the server
>overall is excellent, but we have a major problem when trying 
>to expire old news articles, which means we need to remove 
>upwards of 300,000 files every night. This process takes up to 
>12 hours and drives the system load up around 8, which kills 
>performance. We are using fastrm, which has some tricks for 
>reducing file operations, but that can't handle the job. Are 
>there any OS options to improve the ability to remove files? How 
>about going with cacheFS on our 18gig news spool? Any ideas would 
>be greatly appreciated.


Cachefs will only slow it down, perhaps you mean a logging filesystem?

What I used when I was still a usenet administrator was fastfs.c
ftp.wins.uva.nl:/pub/solaris/fastfs.c.gz

When you run fastfs on /var/spool/news before expire, it has a noticble
speedup effect as all directory and inode updates become asynchronous.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Technical Details
Message-ID: <casper.861566556@uk-usenet.uk.sun.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <861557142.527967@nova.dreamscape.com>

Show Full Headers
Complete Article Headers
Message-ID: <casper.861566556@uk-usenet.uk.sun.com>
Subject: Re: Mass File Removal/Fastrm
Date: Sun, 20 Apr 1997 00:00:00 +0000
From: Casper.Dik@Holland.Sun.COM (Casper H.S. Dik - Network Security Engineer)
References: <861557142.527967@nova.dreamscape.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 236194981
Distribution: inet
Supersedes: <cancel.casper.861566556@uk-usenet.uk.sun.com>
Organization: Sun Microsystems, Netherlands
Newsgroups: comp.unix.solaris,news.software.nntp