🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66281

Re: Removing duplicates in inn 2.2 tradspool

#66281
From: Paul Tomblin
Date: Tue, 22 Jul 2003 11:52
29 lines
2476 bytes
In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said:
>In article <bfhttq$n2d$1@allhats.xcski.com>,
>Paul Tomblin <ptomblin@xcski.com> wrote:
>>Call me an old traditionalist, but I use find and a script: [...]
>>
>>I'm sure I could have done it more efficiently or something in perl, but
>>it was faster to write it this way.
>
>Well, whatever works.  You got quadratic runtime when linear was
>quite possible, so yes, it would have been much faster to use a
>different algorithm (for any substantial dataset, anyway).  Not
>that you couldn't do that in a shell script, of course.

It took so long to run that I had time to write a better algorithm in
Perl.  *That* one runs a lot faster, but it's still running.


Meanwhile, I'm discovering that expire doesn't run when the news server is
throttled due to lack of space.  That isn't a good thing.  Neither is the
fact that the throttle message is the highly misleading "Permission denied
writing article file -- throttling".  I think I'm going to have to just
"rm -rf /var/spool/news/alt" just so I can get expire to finish.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"Maybe if your vcr is still blinking 12:00 you shouldn't be using Linux."
-- Slashdot poster
Technical Details
Message-ID: <bfj8hm$6o9$1@allhats.xcski.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.kjsl.com!xcski.com!not-for-mail
References: <bfh9ai$ent$1@allhats.xcski.com> <bfhkca$h9h$2@puck.litech.org> <bfhttq$n2d$1@allhats.xcski.com> <bfj6o2$c6c$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <bfj8hm$6o9$1@allhats.xcski.com>
Subject: Re: Removing duplicates in inn 2.2 tradspool
Date: Tue, 22 Jul 2003 11:52:22 +0000
From: ptomblin@xcski.com (Paul Tomblin)
References: <bfh9ai$ent$1@allhats.xcski.com> <bfhkca$h9h$2@puck.litech.org> <bfhttq$n2d$1@allhats.xcski.com> <bfj6o2$c6c$3@puck.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.kjsl.com!xcski.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario
Lines: 28
Reply-To: ptomblin@xcski.com (Paul Tomblin)
NNTP-Posting-Host: allhats.xcski.com
X-Trace: allhats.xcski.com 1058874742 6921 192.168.1.1 (22 Jul 2003 11:52:22 GMT)
X-Complaints-To: abuse@xcski.com
NNTP-Posting-Date: Tue, 22 Jul 2003 11:52:22 +0000 (UTC)
X-Newsreader: trn 4.0-test70 (17 January 1999)
Originator: ptomblin@xcski.com (Paul Tomblin)