🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18587

Re: Control Group

#18587
From: brian moore
Date: Sun, 22 Jun 1997 00:00
27 lines
1682 bytes
In article <5ojia8$lee$1@earth.execpc.com>,
	jgreco@ns.sol.net (Joe Greco) writes:
> Alternatively, do the Poor Man's Expire...
> 
> mv /news/control/cancel /news/control/bye.bye && rm -fr /news/control/bye.bye
> 
> and do it every hour or two.  Writing the articles to control/cancel isn't
> a real time intensive thing.  Writing to an ungodly large control/cancel
> dir is what kills you.  Make sure you do the "mv" because that effectively
> force-truncates the directory for you.  :-)

Wow.

I tried the Poor Man's Expire method.  Makes a hell of a difference --
after running it, the server was noticably less IO bound.  Maybe I
should do the same for us.jobs.offered and misc.jobs.offered.  Or just
kick them out of my active. :)

Of course, it's scary that many cancels are going on, but it speeds up
getting more when control.cancel is a more reasonable size.

-- 
Brian Moore                      The opinions expressed above are my own, not
Sysadmin, C/Perl Hacker          necesarily my employers'.

Technical Details
Message-ID: <5ok6cs$nnc$1@news.cmc.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-mail
References: <5ojg51$t4t@shell.monmouth.com> <5ojia8$lee$1@earth.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <5ok6cs$nnc$1@news.cmc.net>
Subject: Re: Control Group
Date: Sun, 22 Jun 1997 00:00:00 +0000
From: bem@news.cmc.net (brian moore)
References: <5ojg51$t4t@shell.monmouth.com> <5ojia8$lee$1@earth.execpc.com>
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: 251857243
Distribution: inet
X-CMC-Date: 22 Jun 1997 21:45:00 GMT
Organization: Chambers Multimedia Connection
Reply-To: bem@news.cmc.net
Newsgroups: news.software.nntp