Thread View: news.software.nntp
54 messages
54 total messages
Page 1 of 2
Started by Ken Leland
Sun, 22 Jun 1997 00:00
Page 1 of 2 • 54 total messages
Control Group
Author: Ken Leland
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
13 lines
1033 bytes
1033 bytes
Storing all the control messages in /var/news/spool/control just doesn't seem to be scaling too well these days. Is there a config file change that will have INN1.4unoff4 continue to process cancels but will send all control messages to the bit bucket instead of hammering the control directory/spool. A 0 day expire on control each day is just not often enough, not to mention the substantial waste in writing them and fastrming them. Ken Leland Monmouth Internet
Re: Control Group
Author: Michael Hucka
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
31 lines
1868 bytes
1868 bytes
>>>>> On 22 Jun 1997, jgreco@ns.sol.net (Joe Greco) wrote: jgreco> Alternatively, do the Poor Man's Expire... jgreco> mv /news/control/cancel /news/control/bye.bye && rm -fr jgreco> /news/control/bye.bye jgreco> and do it every hour or two. Writing the articles to jgreco> control/cancel isn't a real time intensive thing. Writing to an jgreco> ungodly large control/cancel dir is what kills you. Make sure you jgreco> do the "mv" because that effectively force-truncates the directory jgreco> for you. :-) (<*> Sound of my hand slapping against my forehead.) Of course! And here I was wondering why cancels were taking so damn long to process. Duh! I cannot believe the numbers I'm seeing after doing this. Iostat reports ungodly read/write numbers, and we just increased our average article/sec acceptance rate to nearly 2x what it was. Joe, you're my hero. I hope this tip makes it into the FAQ (hi, Heiko :-)). -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Joe Greco
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
26 lines
1653 bytes
1653 bytes
In news.software.nntp article <5ojg51$t4t@shell.monmouth.com>, kwl@shell.monmouth.com (Ken Leland) wrote: :Storing all the control messages in /var/news/spool/control just doesn't :seem to be scaling too well these days. Is there a config file change :that will have INN1.4unoff4 continue to process cancels but will send :all control messages to the bit bucket instead of hammering the control :directory/spool. A 0 day expire on control each day is just not often :enough, not to mention the substantial waste in writing them and fastrming :them. Expire multiple times a day. news.daily delayrm nologs nostat norotate norenumber 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. :-) ... JG
Re: Control Group
Author: Raul Zighelboim
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
45 lines
1958 bytes
1958 bytes
I may be out of line, ... but. I notice that FreeBSD 2.2.2 has an option called NULLFS . Can this be used to mount /var/news/spool/articles/countrol over it ? Than would be cool! Joe Greco <jgreco@ns.sol.net> wrote in article <5ojia8$lee$1@earth.execpc.com>... > In news.software.nntp article <5ojg51$t4t@shell.monmouth.com>, kwl@shell.monmouth.com (Ken Leland) wrote: > :Storing all the control messages in /var/news/spool/control just doesn't > :seem to be scaling too well these days. Is there a config file change > :that will have INN1.4unoff4 continue to process cancels but will send > :all control messages to the bit bucket instead of hammering the control > :directory/spool. A 0 day expire on control each day is just not often > :enough, not to mention the substantial waste in writing them and fastrming > :them. > > Expire multiple times a day. > > news.daily delayrm nologs nostat norotate norenumber > > 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. :-) > > ... JG >
Re: Control Group
Author: brian moore
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
27 lines
1682 bytes
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'.
Re: Control Group
Author: Juan Carlos Castro
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
25 lines
1799 bytes
1799 bytes
On 23 Jun 1997, Jeremy wrote: > Doesn't this affect cancel propagation? If a local user cancels her > post, and the directory gets nuked before it is sent out, it will never > get sent -- correct? > > Perhaps a method of deleting anything more than 15 minutes old would be > better... > You can probably get around that problem with some sort of real time propagation agent (nntplink comes to mind) for local posts only. Or if your localposts are relatively few (and you dont want to tie up your upstreams/peers file descriptors), a program feed could be kicked off to send that article up. (If you get too many localposts, having so many 1 article connections might be troublesome aswell). ---- J. Carlos Castro (JCC31) - Consulting for your Internet Needs work --president@netcrusader.net--> http://www.netcrusader.net http://www.jcas.com <-------------j@jcas.com------------- play
Re: Control Group
Author: Ken Leland
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
25 lines
1357 bytes
1357 bytes
>
>
>I may be out of line, ... but.
>
>I notice that FreeBSD 2.2.2 has an option called NULLFS .
>
>Can this be used to mount /var/news/spool/articles/countrol over it ?
>
>Than would be cool!
^^^^^^^
you got it. >100000 extra article writes per weekend day to the spool
just can't be good especially since it is climbing as a percentage. I
was just checking my /dev directory for possible block
null devices when your response came in. Hope it will port to
BSD/OS if it works. Am currently doing the mv/fastrm on the control directory
hourly. This mitigates the rediculous directory searching but am still after
eliminating the control article writes.
Ken Leland
Monmouth Internet
Re: Control Group
Author: brian moore
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
20 lines
1469 bytes
1469 bytes
In article <5om715$8iq$1@snert.pilhuhn.de>, hwr@pilhuhn.de (Heiko W.Rupp) writes: >|Perhaps a method of deleting anything more than 15 minutes old would be >|better... > > Yes and no .. Main problem is the size of the directory. These don't > shink by themselves when removing articles from them. But it does show what sort of impact getting away from /news/group/name/article file structures can have. I can see how to do that simply for NNTP... allowing NNRP with a structure that isn't just /news/group/article is trickier. -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necesarily my employers'.
Re: Control Group
Author: Gary Palmer
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
27 lines
1820 bytes
1820 bytes
In article <5olukl$i7j@darkmere.gen.nz>, Simon Lyall <simon@darkmere.gen.nz> writes: > As he suggests, why not just alias out "cyberspam!" for you feeds and use > NoCeM-on-spool on spool? This should cut down the number of messages in > control.cancel by around 90% . > > What is the overhead for expiring x000 articles using NoCeM-on-spool > compare to processing the same number of cancels? My problem with NoCeM (or the version I run at least) was illustrated yesterday ... a NoCeM message came in from the AutoCancelMoose (or whatever it's called) killing 4k articles. These messages are piped (one at a time) through the inn control channel. The instant one is processed, on to the next. This (from what I was seeing) was coming pretty close to being a primitive DoS attack. I think I'm going to put a sleep(1); somewhere in the code ever 10 articles or so so that innd isn't so swamped. (Especially since the predominance of streaming feeds makes people apply the abp patch, which gives the control channel priority by default ...) I may alias out cyberspam just to see what happens ... Gary
Re: Control Group
Author: Michael Hucka
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
22 lines
1548 bytes
1548 bytes
>>>>> On 23 Jun 1997, Simon Lyall <simon@darkmere.gen.nz> wrote: simon> As he suggests, why not just alias out "cyberspam!" for you feeds simon> and use NoCeM-on-spool on spool? This should cut down the number of simon> messages in control.cancel by around 90% . Because you want the cancels to be processed. The problem is the impact of a large directory full of articles on innd's ability to write to that directory. 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. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Net Scum
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
44 lines
2967 bytes
2967 bytes
On 22 Jun 1997, Michael Hucka wrote:
> >>>>> On 22 Jun 1997, jgreco@ns.sol.net (Joe Greco) wrote:
> jgreco> Alternatively, do the Poor Man's Expire...
> jgreco> mv /news/control/cancel /news/control/bye.bye && rm -fr
> jgreco> /news/control/bye.bye
>
> (<*> Sound of my hand slapping against my forehead.) Of course! And here I
> was wondering why cancels were taking so damn long to process. Duh!
I'd be careful with this. This is all well and good if you're sending
non-backlogged real-time feeds (taking advantage of the disk cache rather
than re-reading via a linear search through your huge directory at ten
minute intervals or so) to peers. However, if your peers start to backlog
so that there may be an effective delay of several hours in certain
articles to them, then you run the risk of effectively cancelling the
cancel before it can propagate. Despite all the noise in other groups in
news.*, I think most of us agree that propagation of cancels is a Good
Thing, since I don't think all sites want to keep the 600 000 articles
I've seen daily these past couple days.
Luckily for me, I'm running a spool which has no need to search
through huge directories to find a cancel message, and I also have several
outgoing feeds which consist of nothing but cancel messages, in an effort
at spam control. In fact, I'd almost suggest writing the control.cancel
group, as well as certain jobs gr^H^Hwastelands, in this FIFO-like
cyclical filesystem format, while other articles may be written to a
conventional directory-structure spool, just to minimize the time it takes
to access these groups without too adversely affecting their retention,
and also keeping the advantage of more precise control over article
expiration in other groups.
Unfortunately, the CNFS code at present is an all or nothing deal, but
it certainly is tempting to enhance it to permit one to store certain
hierarchies/groups in cyclical format, and others as normal, for the best
of both worlds and dramatically enhanced performance. Just a thought...
Barry Bouwsma, news admin for Radio Praha
now at Mendel University, Brno, Czech Republic
Re: Control Group
Author: brian moore
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
41 lines
2580 bytes
2580 bytes
In article <5om053$lce$1@earth.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: > Yeah, and the thing is, a lot of it seems to be automated database > dumping. I think that those two groups are quickly becoming useless, > I haven't heard any good comments about them in quite some time. > Usually people complain that they're too high-volume. Usually people stay the hell away from them. I think I'm gonna kill 'em from my active. I -need- control but I don't need us.jobs and misc.jobs. >: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. > > It's scary to see what's being cancelled. > > I remember the days when people used to actually understand that Usenet > is a privilege and not a right. Now we've got psychic spammers dropping > thousands of messages for the hell of it. Everyone seems to think that > because they pay their ISP $10/month, they have a right to do whatever > they want. Remember how outraged The Two Who Mustn't Be Named made everyone? Now the same thing goes on hundreds of times a day and most of them Chris Lewis kills before we see them. > I remember not so long ago when news.sol.net was a Sun 3/60, 24MB RAM, > and a bunch of Wren 660MB drives. Now it's a PPro200, 384MB RAM, 21 > Ultra-SCSI drives on five controllers. This stuff ain't cheap. And > the spammers don't give a flying fuck. Nor do some of the ISP's. :-( Well, Earthlink claims (we shall see) to have put a throttle into their nnrpd to slow down spam to the point of making it take weeks to spam. Hopefully during the weeks that it takes to generate they'll take action and cancel offenders. -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necesarily my employers'.
Re: Control Group
Author: Heiko W.Rupp
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
16 lines
1145 bytes
1145 bytes
In <33AE562F.5AE187A@interalpha.co.uk>, Jason Brown wrote:
|> I hope this tip makes it into the FAQ (hi, Heiko :-)).
|I second that..just found 262,000 articles in my control.cancel group
Ok, im reading that thread at the moment, but why doesn't anybody of you
just send me a mail with that?
Heiko
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
Re: Control Group
Author: Jason Brown
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
10 lines
784 bytes
784 bytes
Michael Hucka wrote: > Joe, you're my hero. > > I hope this tip makes it into the FAQ (hi, Heiko :-)). I second that..just found 262,000 articles in my control.cancel group Eeek!
Re: Control Group
Author: Joe Greco
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
29 lines
1804 bytes
1804 bytes
In news.software.nntp article <Pine.LNX.3.95.970622230603.13495i-100000@wauug.erols.com>, Juan Carlos Castro <jcastro@netcrusader.net> wrote: :On 23 Jun 1997, Jeremy wrote: : :> Doesn't this affect cancel propagation? If a local user cancels her :> post, and the directory gets nuked before it is sent out, it will never :> get sent -- correct? :> :> Perhaps a method of deleting anything more than 15 minutes old would be :> better... :> :You can probably get around that problem with some sort of real :time propagation agent (nntplink comes to mind) for local posts :only. Or if your localposts are relatively few (and you dont want :to tie up your upstreams/peers file descriptors), a program feed :could be kicked off to send that article up. (If you get too many :localposts, having so many 1 article connections might be troublesome :aswell). Blah. This is all true; the machines I sometimes do the mv/rm thing on aren't too concerned with feeding articles. I'll post my prune.c gizmo. It's potentially helpful. http://www.nntp.sol.net/patches/prune.tgz ... JG
Re: Control Group
Author: Joe Greco
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
48 lines
2746 bytes
2746 bytes
In news.software.nntp article <5ok6cs$nnc$1@news.cmc.net>, bem@news.cmc.net wrote: :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. :) Yeah, and the thing is, a lot of it seems to be automated database dumping. I think that those two groups are quickly becoming useless, I haven't heard any good comments about them in quite some time. Usually people complain that they're too high-volume. :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. It's scary to see what's being cancelled. I remember the days when people used to actually understand that Usenet is a privilege and not a right. Now we've got psychic spammers dropping thousands of messages for the hell of it. Everyone seems to think that because they pay their ISP $10/month, they have a right to do whatever they want. I don't know about you, but that pisses _me_ off. Of course, then again, I'm one of an increasingly small number of people who actually pay for their own news servers out of pocket. I remember not so long ago when news.sol.net was a Sun 3/60, 24MB RAM, and a bunch of Wren 660MB drives. Now it's a PPro200, 384MB RAM, 21 Ultra-SCSI drives on five controllers. This stuff ain't cheap. And the spammers don't give a flying fuck. Nor do some of the ISP's. :-( ... JG
Re: Control Group
Author: Gary Palmer
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
14 lines
1157 bytes
1157 bytes
In article <5omnck$hi7$1@popnews.hamburg.pop.de>, Georg v.Zezschwitz <gvz@popocate.hamburg.pop.de> writes: > What I do is rotating the control directory every ten minutes. > Control get control.1230 at 12:30 e.g. > > As I use the inum patch propagation is not affected. But there are some > reasons why the inum patch is dangerous to use. I'm curious ... what are they? Gary
Re: Control Group
Author: Simon Lyall
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
35 lines
1896 bytes
1896 bytes
A few days ago Andrew Gierth <andrew@erlenstar.demon.co.uk> posted the
following:
--cut--here---
My latest analysis (equivalent to taking a big-8 and alt feed only)
had, in about one week:
262281 Properly-formed spam cancels (cyberspam!)
1130 AOL & Prodigy TOS Cancels
8402 Cancels probably from the user or the original site admin
12997 broken or malformed cancels (mainly spam-cancels done wrong)
plus moderator cancels, terms-of-service cancels, regional
enforcement etc. (About half of them are malformed spam-cancels)
3148 other suspicious cancels
How effective is aliasing out cyberspam! and using NoCeM-on-spool,
but keeping other cancels enabled? At present, if you turn them all
off, you sacrifice moderators abilities to deal with forged approvals,
ISPs cleaning up after their own, cancels for cross-regional abuse etc.
--cut--here---
As he suggests, why not just alias out "cyberspam!" for you feeds and use
NoCeM-on-spool on spool? This should cut down the number of messages in
control.cancel by around 90% .
What is the overhead for expiring x000 articles using NoCeM-on-spool
compare to processing the same number of cancels?
--
Simon Lyall. | Looking for Work | Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention." | MT.
Re: Control Group
Author: Jeremy
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
23 lines
1572 bytes
1572 bytes
Ken Leland <kwl@shell.monmouth.com> wrote: >you got it. >100000 extra article writes per weekend day to the spool >just can't be good especially since it is climbing as a percentage. I >was just checking my /dev directory for possible block >null devices when your response came in. Hope it will port to >BSD/OS if it works. Am currently doing the mv/fastrm on the control directory >hourly. This mitigates the rediculous directory searching but am still after >eliminating the control article writes. Doesn't this affect cancel propagation? If a local user cancels her post, and the directory gets nuked before it is sent out, it will never get sent -- correct? Perhaps a method of deleting anything more than 15 minutes old would be better... -- Jeremy | jeremy@exit109.com "Everything you think you know is wrong." --Jack Chalker
Re: Control Group
Author: Georg v.Zezschwitz
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
13 lines
890 bytes
890 bytes
What I do is rotating the control directory every ten minutes. Control get control.1230 at 12:30 e.g. As I use the inum patch propagation is not affected. But there are some reasons why the inum patch is dangerous to use. Greetings, Georg
Re: Control Group
Author: Gary Palmer
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
20 lines
1427 bytes
1427 bytes
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 Gary
Re: Control Group
Author: Heiko W.Rupp
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
19 lines
1337 bytes
1337 bytes
In <5okia9$mqb$2@news1.exit109.com>, Jeremy wrote:
|Doesn't this affect cancel propagation? If a local user cancels her
Yes. it does. But on those hosts, that have problems with the masses
of cancels coming, that canecel will most probably get out before.
|Perhaps a method of deleting anything more than 15 minutes old would be
|better...
Yes and no .. Main problem is the size of the directory. These don't
shink by themselves when removing articles from them.
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
Re: Control Group
Author: J. Porter Clark
Date: Tue, 24 Jun 1997 00:00
Date: Tue, 24 Jun 1997 00:00
82 lines
3070 bytes
3070 bytes
gpalmer@SPAM.webspan.net (Gary Palmer) writes:
>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
I have a slightly different problem but a very similar solution. In my
case, I have WANT_TRASH set to DO, and junk fills up very rapidly. The
main reason I use this setup is to detect MMF in junk. Therefore, I
have to keep the articles in junk long enough for my MMF detector
(which works on a channel feed) to grep through them. I came up with a
quick-and-dirty perl hack to delete all but the last N ($maxdepth)
articles from junk. It, too, runs on a channel feed, and needs an
entry like this:
junkman!:!*,junk:Tc,Wn,S16384:/news/lbin/junkman
I don't see why you couldn't modify/generalize it to use on control or
control.cancel. In my case, I put junk in a tmpfs (RAM disk)
partition, for a little more speed.
I had always planned to rewrite this in C; it's simple enough.
#! /usr/bin/perl
# Clean out all but the last $maxdepth articles from junk
# by jpc@drum.msfc.nasa.gov
use integer;
$spool = '/newsspool';
$maxdepth = 200;
chdir "$spool/junk" or die "Can't change to $spool/junk directory: $!\n";
# Load up the FIFO with the current entries in the junk newsgroup
opendir(JUNK, '.') or die "Can't open current directory: $!\n";
$depth = 0;
while (defined($_ = readdir(JUNK)))
{
if (/^\d+$/o)
{
$_ += 0;
$depth = push(@fifo, $_);
}
}
closedir JUNK;
@fifo = sort(@fifo);
while (<STDIN>)
{
my $i;
if (m#^junk/(\d+)\n#o)
{
$file = $1 + 0;
$depth = push(@fifo, $file);
for ($i = $depth - $maxdepth; $i > 0; $i--)
{
unlink(shift(@fifo));
}
}
}
--
J. Porter Clark jpc@drum.msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch
Cyclical Spool Approach (was Re: Control Group)
Author: Peter Preuss
Date: Tue, 24 Jun 1997 00:00
Date: Tue, 24 Jun 1997 00:00
34 lines
2095 bytes
2095 bytes
Net Scum <barry@bofh-cabal.vszbr.cz> wrote:
...
Luckily for me, I'm running a spool which has no need to search
through huge directories to find a cancel message, and I also have several
outgoing feeds which consist of nothing but cancel messages, in an effort
at spam control. In fact, I'd almost suggest writing the control.cancel
group, as well as certain jobs gr^H^Hwastelands, in this FIFO-like
cyclical filesystem format, while other articles may be written to a
conventional directory-structure spool, just to minimize the time it takes
to access these groups without too adversely affecting their retention,
and also keeping the advantage of more precise control over article
expiration in other groups.
Unfortunately, the CNFS code at present is an all or nothing deal, but
it certainly is tempting to enhance it to permit one to store certain
hierarchies/groups in cyclical format, and others as normal, for the best
of both worlds and dramatically enhanced performance. Just a thought...
Barry Bouwsma, news admin for Radio Praha
now at Mendel University, Brno, Czech Republic
That sounds like an excellent approach to the never-ending flood of
postings in hot-spot groups. Does that put "regular" groups at any
disadvantage? It seems that expiration would be simplified too.
Are there publicly available projects/sources around?
Peter.
Re: Control Group
Author: Michael Hucka
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
23 lines
1360 bytes
1360 bytes
>>>>> On 25 Jun 1997, cball@bu.edu (Charles Ball) wrote:
cball> A half measure which reduces system load if you haven't already done
cball> it is to modify the overview newsfeed entry to exclude control.
For reasons I don't understand, this doesn't seem to make any difference on
my INN 1.5.1 system.
I have:
overview!\
:clari.*,!control.*\
:Tc,B16384/2048,WO,F/news/outgoing/overview!:/news/bin/overchan
but the .overviews files for control are still getting created.
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Jeremy
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
18 lines
1272 bytes
1272 bytes
Michael Hucka <hucka@eecs.umich.edu> wrote: >>>>>> On 25 Jun 1997, cball@bu.edu (Charles Ball) wrote: > > cball> A half measure which reduces system load if you haven't already done > cball> it is to modify the overview newsfeed entry to exclude control. > >For reasons I don't understand, this doesn't seem to make any difference on >my INN 1.5.1 system. Control messages propagate based on the groups they are posted to, in the Newsgroups header, so excluding control won't stop them. -- Jeremy | jeremy@exit109.com "Do you think a princess, and a guy like me..." --Han Solo
Re: Control Group
Author: Forrest J. Cavalier III
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
34 lines
1463 bytes
1463 bytes
In article <82bu4u4ocj.fsf@manic.eecs.umich.edu>, hucka@eecs.umich.edu wrote...
>
>>>>>> On 25 Jun 1997, cball@bu.edu (Charles Ball) wrote:
>
> cball> A half measure which reduces system load if you haven't already done
> cball> it is to modify the overview newsfeed entry to exclude control.
>
>For reasons I don't understand, this doesn't seem to make any difference on
>my INN 1.5.1 system.
>
>I have:
>
> overview!\
> :clari.*,!control.*\
> :Tc,B16384/2048,WO,F/news/outgoing/overview!:/news/bin/overchan
>
>but the .overviews files for control are still getting created.
>
Just a friendly reminder:
!control.*
is different than
!control*
Forrest Cavalier, Mib Software, INN customization and consulting
INN man pages, including newsfeeds(5):
http://www.mibsoftware.com/userkt/inn/innman.htm
Re: Control Group
Author: Charles Ball
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
10 lines
729 bytes
729 bytes
A half measure which reduces system load if you haven't already done it is to modify the overview newsfeed entry to exclude control. -- Charles Ball Information Technology Boston University
Re: Control Group
Author: Ken Lalonde
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
28 lines
1739 bytes
1739 bytes
Adding "!control*" to the overchan entry in newsfeeds
doesn't do what you want.
As I understand it, when a control message is posted to foo.bar, innd
marks all receiving sites by setting Sites[i].Sendit = TRUE. Let's
assume that set includes overchan. It then notices that this is a
cancel message that is not posted to "to.*", so it resets the list of
newsgroups to "control.cancel", then adds any sites that want that
group. The check for !control* is not honoured.
As a brute force workaround, I changed the last loop in
ARTpost(), near the end of innd/art.c, to read as follows:
/* And finally, send to everyone who should get it */
for (sp = Sites, i = nSites; --i >= 0; sp++)
if (sp->Sendit) {
/* Don't send control articles to overchan */
if (sp->Type == FTchannel && /* optimization */
Accepted && ControlHeader >= 0 &&
strchr(sp->FileFlags, FEED_OVERVIEW) != NULL)
continue;
TMRstart(TMR_SITESEND);
SITEsend(sp, &Data);
TMRstop(TMR_SITESEND);
}
Re: Control Group
Author: Net Scum
Date: Thu, 26 Jun 1997 00:00
Date: Thu, 26 Jun 1997 00:00
31 lines
2071 bytes
2071 bytes
On 25 Jun 1997, Jeremy wrote:
> Control messages propagate based on the groups they are posted to, in
> the Newsgroups header, so excluding control won't stop them.
This is true, in that if you are trying to aid the propagation of
cancel messages by feeding control.cancel to your peers, and you are
configured to file unknown groups into junk, cancel messages in these
unwanted groups are not included in control.cancel.
Wonder if there's a quick hack that will file cancel messages for
unwanted groups into control.cancel as well... (rummages around, trying
to find where I hid the INN source) That would immensely simplify my
configuration, and allow me not to have to add every bogus group there is
just to be able to propagate spam cancels for the benefit of sites which
happen to carry these groups.
Wonders too whether use of the poison pill (a la *,@control.cancel )
which has the effect of refusing to propagate the messages posted to the
indicated group, would help. Probably not. Maybe another quick hack
could permit one to send a feed with no cancel messages to sites which are
known to be configured not to act on cancels and which will not propagate
them further.
Barry Bouwsma, Radio Praha newsbully
is usenet worth saving? join fellow net.scum and find out
Re: Control Group
Author: Michael Hucka
Date: Fri, 27 Jun 1997 00:00
Date: Fri, 27 Jun 1997 00:00
44 lines
2529 bytes
2529 bytes
>>>>> On 25 Jun 1997, ken@angel.uunet.ca (Ken Lalonde) wrote:
ken> As I understand it, when a control message is posted to foo.bar, innd
ken> marks all receiving sites by setting Sites[i].Sendit = TRUE. Let's
ken> assume that set includes overchan. It then notices that this is a
ken> cancel message that is not posted to "to.*", so it resets the list of
ken> newsgroups to "control.cancel", then adds any sites that want that
ken> group. The cARTpost(), near the end of innd/art.c, to read as
ken> follows:
ken> /* And finally, send to everyot) {
ken> /* Don't send control articles to overchan */
ken> if (sp->Type == FTchannel && /* optimization */
ken> strchr(sp->FileFlags, FEED_OVERVIEW) != NULL)
ken> continue;
ken> }
This seems like a good idea. Unfortunately, your posting apparently got
mangled somewhere between here and your site (e.g., note the truncated first
line of the code). However, it was enough to let me reconstruct the patch.
Here it is, in case anyone else is interested. (Note: line numbers will be
off because this is against a locally-patched INN 1.5.1.)
RCS file: RCS/art.c,v
retrieving revision 1.68.1.2
diff -r1.68.1.2 art.c
2287c2287,2291
< for (sp = Sites, i = nSites; --i >= 0; sp++)
---
> for (sp = Sites, i = nSites; --i >= 0; sp++) {
> /* Optimization: don't send control articles to overchan */
> if (ControlHeader >= 0 && sp->Type == FTchannel &&
> strchr(sp->FileFlags, FEED_OVERVIEW) != NULL)
> continue;
2289a2294
> }
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Brian Tao
Date: Fri, 27 Jun 1997 00:00
Date: Fri, 27 Jun 1997 00:00
17 lines
1333 bytes
1333 bytes
In article <5omvp6$r05@news.webspan.net>, Gary Palmer <gpalmer@SPAM.webspan.net> wrote:
>
>(cd /var/spool/news/control/cancel ; rm *) once an hour.
Aren't you in danger of exceeding your shell's argument list limit
like that? Or do you really do something more along the lines of:
mount -uo async /spool/control ; cd /spool/control/cancel ; ls | xargs rm
(assuming, of course, your control hierarchy is a separate filesystem,
and your OS can flip to asynchronous meta updates on-the-fly)
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Control Group
Author: Tim Hogard
Date: Sat, 28 Jun 1997 00:00
Date: Sat, 28 Jun 1997 00:00
35 lines
2085 bytes
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
Re: Control Group
Author: Don Lewis
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
17 lines
1255 bytes
1255 bytes
In article <5orqvk$7k@angel.uunet.ca>, Ken Lalonde <ken@angel.uunet.ca> wrote: > >As a brute force workaround, I changed the last loop in >ARTpost(), near the end of innd/art.c, to read as follows: [ deleted ] Ick. My preference would be an added newsfeeds flag that would allow: Feed only normal articles Feed only control articles Feed both (default) -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 916 478-8284 FAX: +1 916 478-8251 Nevada City, CA 95959
Re: Control Group
Author: Gary Palmer
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
24 lines
1641 bytes
1641 bytes
In article <5p0unk$amb@tor-nn1-hb0.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) writes: > In article <5omvp6$r05@news.webspan.net>, Gary Palmer <gpalmer@SPAM.webspan.net> wrote: >> >>(cd /var/spool/news/control/cancel ; rm *) once an hour. > > Aren't you in danger of exceeding your shell's argument list limit > like that? Or do you really do something more along the lines of: > > mount -uo async /spool/control ; cd /spool/control/cancel ; ls | xargs rm Yep, it is the ls | xargs rm solution I use, but on the other hand I wasn't actually posting the script I use, just what it basically does :) And Brian, you should know I'd be running FreeBSD :-) Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
Re: Control Group
Author: Gary Palmer
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
20 lines
1445 bytes
1445 bytes
In article <5p3sg5$m48@not.abnormal.com>, thogard@not.abnormal.com (Tim Hogard) writes: > It seems the the real problem is that we have too much junk in > control/cancel for the OS to deal with. That's a software analyist speaking. The *REAL* problem is all those freeloaders who think they can make a fast buck by overloading everyones hardware with ads for their XXX sites. Get rid of those, and 90% of the problem is already solved. We just need more ISP's to be proactive about their TOS, and get the rest with crap TOS's to get better ones. Of course, the likelyhood of that happening is 0, so we need to all go out and buy bigger servers every few months. SIGH Gary
Re: Control Group
Author: Michael Hucka
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
28 lines
2036 bytes
2036 bytes
>>>>> On 30 Jun 1997, gpalmer@SPAM.webspan.net (Gary Palmer) wrote: gpalmer> That's a software analyist speaking. The *REAL* problem is all gpalmer> those freeloaders who think they can make a fast buck by gpalmer> overloading everyones hardware with ads for their XXX sites. Get gpalmer> rid of those, and 90% of the problem is already solved. We just gpalmer> need more ISP's to be proactive about their TOS, and get the rest gpalmer> with crap TOS's to get better ones. gpalmer> Of course, the likelyhood of that happening is 0, so we need to gpalmer> all go out and buy bigger servers every few months. SIGH On a related topic: I highly recommend J. Garzik's spam filter, recently posted to this group (n.s.n). It's amazing. At our site, yesterday, it filtered over 135,000 EMP's, ECP's and MMF's. That's 135,000 pieces of spam that we're not passing to other sites -- 135,000 spam articles whose propagation has been terminated. If every news server were to implement spam filtering like this, it might make spam advertising less attractive to the spammers. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Rick Ellis
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
14 lines
1133 bytes
1133 bytes
In article <5p9pch$a0o$1@news.gv.tsc.tdk.com>, Don Lewis <gdonl@tsc.tdk.com> wrote: >Too bad we don't have the Usenet readership reports anymore. It would >be interesting (depressing?) to see how all this junk has hurt the >readership of the most popular groups (misc.jobs.* and alt.sex.* >according to the reports), and how much it has increased the cost per >reader. Out of curiosity a took a look at an alt.sex.* newsgroup. I found nothing but ads in it.
Re: Control Group
Author: Don Lewis
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
24 lines
1731 bytes
1731 bytes
In article <5om053$lce$1@earth.execpc.com>, Joe Greco <jgreco@ns.sol.net> wrote: >In news.software.nntp article <5ok6cs$nnc$1@news.cmc.net>, bem@news.cmc.net wrote: >:Maybe I >:should do the same for us.jobs.offered and misc.jobs.offered. Or just >:kick them out of my active. :) > >Yeah, and the thing is, a lot of it seems to be automated database >dumping. I think that those two groups are quickly becoming useless, >I haven't heard any good comments about them in quite some time. >Usually people complain that they're too high-volume. Too bad we don't have the Usenet readership reports anymore. It would be interesting (depressing?) to see how all this junk has hurt the readership of the most popular groups (misc.jobs.* and alt.sex.* according to the reports), and how much it has increased the cost per reader. -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 916 478-8284 FAX: +1 916 478-8251 Nevada City, CA 95959
Re: Control Group
Author: Jeremy
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
20 lines
1261 bytes
1261 bytes
Christopher Sait Turan <turans-REMOVE@ton80.engin.umich.edu> wrote: >Chris Bellomy (cbellomy@flash.net) wrote: > >: ln -s /dev/null /over.view/control/cancel/.overview > >You can just take the control.cancel out of the overview feed in the >newsfeeds file instead. :-) That doesn't work. Control messages propagate according to the groups to which they are posted. However, would expireover (or anything) have a problem with a symlink to /dev/null? -- Jeremy | jeremy@exit109.com The customer is always right, until he tries to say something.
Re: Control Group
Author: Michael Hucka
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
19 lines
1465 bytes
1465 bytes
>>>>> On 2 Jul 1997, Jeremy <jeremy@exit109.com> wrote: >> You can just take the control.cancel out of the overview feed in the >> newsfeeds file instead. :-) jeremy> That doesn't work. Control messages propagate according to the jeremy> groups to which they are posted. Yes, completely true. Ken Lalonde posted a patch to hack innd so that it doesn't send overview info for control groups down overview channels. I posted a followup to this group (news.software.nntp) in the last few days. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Spam Control (was: Re: Control Group)
Author: Michael Hucka
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
30 lines
1967 bytes
1967 bytes
>>>>> On 2 Jul 1997, turans-REMOVE@ton80.engin.umich.edu wrote:
turans-REMOVE> How accurate is the spam filter? What does it key on?
"Make Money Fast" (MMF) filter:
Rejects articles with subjects containing 'make money fast', 'cash cash
cash', and a general regex pattern matching something like '$$$ SOME TEXT
HERE $$$'.
Excessively cross-posted (ECP) article filter:
If the number of groups listed in a Newsgroups: header exceeds a certain
maximum (I set it to 30), the article is rejected.
Excessively multi-posted (EMP) article filter:
Each From, Subject, and Lines header is stored in a history array of the
last 3000 articles received. If the same From/Subject/Lines combination
appears a certain number of times (I set it to 5) in the last 3000
articles, then that From/Subject/Lines combo is considered an EMP,
excessive multi-post, thereafter.
I can't offer figures on accuracy (I don't have time to gather that info),
but this is pretty safe stuff.
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Control Group
Author: Jeff Weisberg
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
28 lines
1851 bytes
1851 bytes
jeremy@exit109.com said:
| Christopher Sait Turan <turans-REMOVE@ton80.engin.umich.edu> wrote:
| >Chris Bellomy (cbellomy@flash.net) wrote:
| >
| >: ln -s /dev/null /over.view/control/cancel/.overview
| >
| >You can just take the control.cancel out of the overview feed in the
| >newsfeeds file instead. :-)
|
| That doesn't work. Control messages propagate according to the groups
| to which they are posted.
"fixing" overchan to not create "control/.overview" works well. I think
that there is a patch out there somewhere (or at least, the code is in my
overchan, and I don't think I wrote it).
--jeff
----------------------------------------------+-------------------------------
OpNet provides high quality, high reliability | Shell, SLIP/PPP, WWW services,
Internet services in the Philadelphia area | dedicated connections, custom
| solutions, consulting, etc...
http://www.op.net or call us at 610-520-2880 +-------------------------------
Re: Control Group
Author: Chris Bellomy
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
22 lines
1203 bytes
1203 bytes
I'm sure I'm missing the blindly obvious, but what would be the harm of ln -s /dev/null /var/spool/news/control/cancel ? Seems to me this allows INND to process the cancels without the consumption of system resources of spooling the things. Would expire have problems with this? Would history? What about ln -s /dev/null /over.view/control/cancel/.overview ? -- Chris Bellomy FlashNet Communications Manager of Server Operations Fort Worth, Texas cbellomy@flash.net (817)332-8883
Re: Control Group
Author: Christopher Sait Turan
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
19 lines
1215 bytes
1215 bytes
Chris Bellomy (cbellomy@flash.net) wrote: : ln -s /dev/null /var/spool/news/control/cancel Not a good idea. This wouldn't let the cancels propagate to your peers. There's a lot of spam cancels out there that do usenet a whole ot of good. Don't wipe those off your spool. :-) : ln -s /dev/null /over.view/control/cancel/.overview You can just take the control.cancel out of the overview feed in the newsfeeds file instead. :-) Hope this helps. Christopher Turan Usenet-Systems
Spam Control (was: Re: Control Group)
Author: Christopher Sait Turan
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
11 lines
1051 bytes
1051 bytes
Michael Hucka (hucka@eecs.umich.edu) wrote: : On a related topic: I highly recommend J. Garzik's spam filter, recently : posted to this group (n.s.n). It's amazing. At our site, yesterday, it : filtered over 135,000 EMP's, ECP's and MMF's. That's 135,000 pieces of spam : that we're not passing to other sites -- 135,000 spam articles whose : propagation has been terminated. How accurate is the spam filter? What does it key on?
Re: Control Group
Author: Christopher Sait Turan
Date: Thu, 03 Jul 1997 00:00
Date: Thu, 03 Jul 1997 00:00
17 lines
1080 bytes
1080 bytes
: Yes, completely true. Ken Lalonde posted a patch to hack innd so that it : doesn't send overview info for control groups down overview channels. I : posted a followup to this group (news.software.nntp) in the last few days. (Sound of hand slapping forehead) Doh! My bad. I should remember what was posted to the thread I'm following up on. :-) Anyways, putting a !control.cancel in the overview channel in newsfeeds *would* work if it wasn't for the bug in the control message handler. :-) -Chris
Re: Control Group
Author: Anthony Talltree
Date: Fri, 04 Jul 1997 00:00
Date: Fri, 04 Jul 1997 00:00
14 lines
988 bytes
988 bytes
>>(cd /var/spool/news/control/cancel ; rm *) once an hour. >mount -uo async /spool/control ; cd /spool/control/cancel ; ls | xargs rm How's about /usr/local/bin/gnu/find /var/spool/news/control -type f -cmin +25 | /usr/local/bin/gnu/xargs /bin/rm -f ? This gives messages 25 minutes to propagate.
Re: Control Group
Author: Scott W. Gifford
Date: Sat, 05 Jul 1997 00:00
Date: Sat, 05 Jul 1997 00:00
12 lines
1095 bytes
1095 bytes
> Yes, completely true. Ken Lalonde posted a patch to hack innd so that it > doesn't send overview info for control groups down overview channels. I > posted a followup to this group (news.software.nntp) in the last few days. Does anybody still have a copy of the patch floating around? The article that had it has already been expired from my server... -----Scott.
Re: Control Group
Author: Wolfgang Rupprecht
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
19 lines
1416 bytes
1416 bytes
gdonl@tsc.tdk.com (Don Lewis) writes: > It would be interesting (depressing?) to see how all this junk has > hurt the readership of the most popular groups (misc.jobs.* and > alt.sex.* according to the reports), and how much it has increased > the cost per reader. It would be interesting to see how many sites still carry misc.jobs.offered . I just turned it off yesturday (what a cesspool!) and it took 1/2 hr to do an '/bin/rm -rf' on it. That was some bloated directory. The directory entry itself was 900k . -wolfgang -- Wolfgang Rupprecht <wolfgang@wsrcc.com> http://www.wsrcc.com/ Fun anti-spam tactic: http://www.hotwired.com/packet/97/23/index3a.html
Re: Control Group
Author: Wolfgang Rupprecht
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
33 lines
2211 bytes
2211 bytes
Michael Hucka <hucka@eecs.umich.edu> writes: > >>>>> On 07 Jul 1997, Wolfgang Rupprecht <wolfgang@dailyplanet.wsrcc.com> wrote: > wolfgang> It would be interesting to see how many sites still carry > wolfgang> misc.jobs.offered . I just turned it off yesturday (what a > wolfgang> cesspool!) and it took 1/2 hr to do an '/bin/rm -rf' on it. That > wolfgang> was some bloated directory. The directory entry itself was 900k > wolfgang> . > We carry it. I don't see why people would want to remove it outright. It > seems to me that a reasonable compromise is to simply set a shorter expire > time, such as a few days instead of weeks or whatever. I'm curious, how many articles do you see in m.j.o and how long is your expire? How long to do an 'ls' in the directory? I saw 19,000 entries in mine with my expire set to 5 days. Even if I set the expire at 1 day, I'd still have what I coincider an overly full directory under Unix (4000 - 8,000 entries). At 1/2 day (or 1/4 day) expire the group would be virtually useless. So why not dump it altogether and not take that big directory lookup hit whenever an article for it came in? I'll carry a no-headhunters group in a heartbeat, but the current bilge pumpings from the original spammers of usenet was just too much to bear. -wolfgang -- Wolfgang Rupprecht <wolfgang@wsrcc.com> http://www.wsrcc.com/
Page 1 of 2 • 54 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads