Thread View: news.software.nntp
4 messages
4 total messages
Started by Dave Barr
Thu, 24 Sep 1998 00:00
processing innfeed-dropped.* files?
Author: Dave Barr
Date: Thu, 24 Sep 1998 00:00
Date: Thu, 24 Sep 1998 00:00
8 lines
678 bytes
678 bytes
What the preferred way to process innfeed-dropped.* files? --Dave -- http://www.cis.ohio-state.edu/~barr/ barr@cis.ohio-state.edu
Re: processing innfeed-dropped.* files?
Author: Russ Allbery
Date: Wed, 23 Sep 1998 00:00
Date: Wed, 23 Sep 1998 00:00
21 lines
1296 bytes
1296 bytes
Dave Barr <barr@cis.ohio-state.edu> writes:
> What the preferred way to process innfeed-dropped.* files?
I made /news/innfeed and pointed innfeed at that, and then just use:
cd /news/outgoing
procbatch -vm innfeed-dropped.<number>
cd /news/innfeed
mv * ../outgoing
and that seems to work most of the time. Haven't bothered automating it
yet. My guess is that it'll need less automation with Fluffy's control
synchronization code, since it appears that the most common cause of
innfeed droppage is too-frequent stops and restarts, usually caused by
batched control messages.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: processing innfeed-dropped.* files?
Author: Ronald Hello
Date: Thu, 24 Sep 1998 00:00
Date: Thu, 24 Sep 1998 00:00
45 lines
1802 bytes
1802 bytes
In article <6ud5ka$dj3$1@krell.snafu.de>,
Bettina Fink <laura@krell.snafu.de> writes:
> Dave Barr <barr@cis.ohio-state.edu> wrote:
>
>> What the preferred way to process innfeed-dropped.* files?
>
> I use filechan -f 2 -d /var/spool/news/innfeed <innfeed-dropped.A012345
I use a perl-script that's run by cron and also handles innfeed!
files when they occur:
#!/Utils/bin/perl
$topdir = "/News/spool/out.going";
chdir($topdir);
rename("innfeed!", "innfeed/innfeed-dropped.RH_NOMATCH") if -f "innfeed!";
chdir("innfeed");
exit 0 unless -s "innfeed.pid";
open(IN, "< innfeed.pid");
$pid = <IN>;
close(IN);
chop $pid;
opendir(DIR, ".");
@files = grep(/^innfeed-dropped/, readdir(DIR));
closedir(DIR);
@files = grep(!/$pid$/, @files);
foreach $file (@files){
if ( -s $file ){
system("/News/bin/procbatch -mu $file");
} else {
unlink $file;
}
}
Works just fine here ...
Ronald.
--
// Ronald Hello (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands
Re: processing innfeed-dropped.* files?
Author: Bettina Fink
Date: Thu, 24 Sep 1998 00:00
Date: Thu, 24 Sep 1998 00:00
7 lines
872 bytes
872 bytes
Dave Barr <barr@cis.ohio-state.edu> wrote: > What the preferred way to process innfeed-dropped.* files? I use filechan -f 2 -d /var/spool/news/innfeed <innfeed-dropped.A012345
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