Thread View: news.software.nntp
5 messages
5 total messages
Started by Brian
Fri, 19 Sep 1997 00:00
NoCem Messages
Author: Brian
Date: Fri, 19 Sep 1997 00:00
Date: Fri, 19 Sep 1997 00:00
6 lines
544 bytes
544 bytes
What newsgroups should I be pointing NoCem at to get cancel messages? Brian
Re: NoCem Messages
Author: Miquel van Smoorenburg
Date: Sat, 20 Sep 1997 00:00
Date: Sat, 20 Sep 1997 00:00
18 lines
1189 bytes
1189 bytes
In article <342313F4.1C1530E4@shreve.net>, Brian <signal@shreve.net> wrote: >What newsgroups should I be pointing NoCem at to get cancel messages? My config looks like this (-c3 is a bit low, I know) nocem-extractor:!*,\ alt.nocem.misc,\ news.lists.filters,\ :Tc,Wn:exec /usr/local/news/c-nocem -c3 >> /var/log/news/nocem.log Mike. -- | Miquel van Smoorenburg | | | miquels@cistron.nl | Owners of digital watches, your days are numbered. | | PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
Re: NoCem Messages
Author: neal
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
29 lines
1441 bytes
1441 bytes
-----BEGIN PGP SIGNED MESSAGE----- With -c10, my expire often has to wait on nocem. I'm actually thinking about raising it to c20 or so. Stephen R. van den Berg <srb@zeus.fw.cuci.nl> wrote: : Miquel van Smoorenburg <miquels@cistron.nl> wrote: : >My config looks like this (-c3 is a bit low, I know) : Why low? I'm using -c1. The shorter the pauses, the merrier (I even : tried using -c0, but that didn't work, for some reason). - -- - -- Neal Rigney, PERnet Communications, (409)729-4638 neal@mail.pernet.net "I've seen better bandwidth between two gorillas with flash cards!" -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBNChyMDLONlj+kNmhAQENIQMAulUtFRptf/fG9RIFYm33qbWRA/DVtxRZ V+BCTGRrARrL9C6M2bE5ni0Jdhh19vS0m1pNb/RTf3B5O2rhAiMXsNHpcZ9wSEZ2 6GxOVGK5diCMdQcfEfuH4dDBaudKY3Ff =quYC -----END PGP SIGNATURE-----
Re: NoCem Messages
Author: Stephen R. van den Berg
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
18 lines
1268 bytes
1268 bytes
Miquel van Smoorenburg <miquels@cistron.nl> wrote:
>My config looks like this (-c3 is a bit low, I know)
Why low? I'm using -c1. The shorter the pauses, the merrier (I even
tried using -c0, but that didn't work, for some reason).
>nocem-extractor:!*,\
> alt.nocem.misc,\
> news.lists.filters,\
>:Tc,Wn:exec /usr/local/news/c-nocem -c3 >> /var/log/news/nocem.log
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg (AKA BuGless).
"I don't like this word bomb. It is not a bomb, it is a device,
which explodes." French Ambassador about the atomic tests.
Re: NoCem Messages
Author: Rahul Dhesi
Date: Wed, 24 Sep 1997 00:00
Date: Wed, 24 Sep 1997 00:00
40 lines
2094 bytes
2094 bytes
In <6083fs$mkc$1@bigred.inka.de> olaf@bigred.inka.de (Olaf Titz) writes:
>> Why low? I'm using -c1. The shorter the pauses, the merrier (I even
>> tried using -c0, but that didn't work, for some reason).
>I started with 50 and now use 10. The idea was to batch up a number of
>deletions and avoid spawning too many fastcancel processes, but of
>course that's a matter of tuning.
I revised the code to process once every 15 minutes.
===== make changes to c-nocem script manually =====
@@ -100,6 +104,8 @@
$SIG{"PIPE"}="shutdown";
$SIG{"TTOU"}="DEFAULT";
print "Starting $ID\n\n" unless ($opt_s);
+$lastruntime = time; # time of last batch run aka &deletethem
+$TIME_WAIT = 15 * 60; # wait this many seconds between batch runs
# Read the notice(s)
if ($opt_b || $opt_c) {
while ($file=<STDIN>, defined($file)) {
@@ -108,9 +114,11 @@
print STDOUT "File $file:\n" unless ($opt_s);
&procfile("<$file");
print STDOUT "\n" unless ($opt_s);
- if (--$m<0) {
+ if (--$m<0 || ((time - $lastruntime) > $TIME_WAIT)) {
+ # if read $opt_c filenames
&deletethem;
$m=($opt_c?$opt_c:99999999);
+ $lastruntime = time; # remember time of batch run
}
}
} else {
== END ==
--
Rahul Dhesi <dhesi@spams.r.us.com>
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