🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18823

Re: Control Group

#18823
From: Tim Hogard
Date: Sat, 28 Jun 1997 00:00
35 lines
2085 bytes
Gary Palmer (gpalmer@SPAM.webspan.net) wrote:
: In article <82g1u9wd6e.fsf@manic.eecs.umich.edu>,
: 	Michael Hucka <hucka@eecs.umich.edu> writes:
: > After coming down from my initial excitement, I realize that
: > jeremy@exit109.com and the News Bully are right; removing the directory will
: > affect cancel propagation.  So I'm looking right now at how to get the same
: > effect but without screwing up cancel propagation.

: My solution (basically):

: (cd /var/spool/news/control/cancel ; rm *) once an hour. Since it
: takes a finite time for the file list to be built, and then a finite
: time to remove that list, there is a VERY good chance that any (local)
: cancels will be punted out via innfeed to my peers before being
: removed

It seems the the real problem is that we have too much junk in
control/cancel for the OS to deal with.  Maybe the better solution is
to have a dir structure of control/cancel/hr00 wthrough hr23 and dump
any cancel into the hour bin when it came in.  This would have the
advantage that the directories would remain smaller and could be blow
away by a simple cron job or a smarter scrip that figured out what
needed to be forwared (like if that would need to happen).

I don't think it would be too hard to patch innd to make this change
and I'm not sure what else it would break. 

The only real problem is what happens when an hour's cancels get too big?
It won't scale well...

-tim
http://www.abnormal.com

Technical Details
Message-ID: <5p3sg5$m48@not.abnormal.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
References: <5ojg51$t4t@shell.monmouth.com> <5olukl$i7j@darkmere.gen.nz> <5omvp6$r05@news.webspan.net>

Show Full Headers
Complete Article Headers
Message-ID: <5p3sg5$m48@not.abnormal.com>
Subject: Re: Control Group
Date: Sat, 28 Jun 1997 00:00:00 +0000
From: thogard@not.abnormal.com (Tim Hogard)
References: <5ojg51$t4t@shell.monmouth.com> <5olukl$i7j@darkmere.gen.nz> <5omvp6$r05@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-mail
X-Deja-AN: 253279799
Distribution: inet
Organization: Abnormal.com
Newsgroups: news.software.nntp