urlichs@smurf.sub.org (Matthias Urlichs) (05/09/91)
Archive-name: news/nntp/newsdist/0-- Archive: iraun1.ira.uka.de:/pub/news/newsdist.pl [129.13.10.90] Original-posting-by: urlichs@smurf.sub.org (Matthias Urlichs) Original-subject: News fan-out program available Reposted-by: emv@msen.com (Edward Vielmetti, MSEN) Newsdist is a program which contacts a number of other systems and feeds netnews to all of them in parallel. Thus, you need only one process slot for NNTP-feeding N systems (N = about 10 or 25, depending on how many files one process can have open). What you need: - Newsdist, available from iraun1.ira.uka.de, /pub/news. - Perl. - C News, with relaynews-daemon patches (ESSENTIAL). When a connection times out, breaks, or whatever, newsdist leaves the file name in a Reject file, which then can be processed by your regular nntpxmit. Newsdist has aggressively short timeouts, necessarily. Newsdist will reopen new log files dynamically, shortly after you send the hangup signal to the relaynews daemon. Currently, newsdist is a Perl program. I'll rewrite it in C sometime after I'm back from my vacation if nobody else beats me to it. However, it's fast enough as it is. NB: Please be aware that the C News and relaynews.daemon patches which are available on iraun1.ira.uka.de, are _not_ the latest versions. (When I'm back from vacation... see above. ;-) NB2: You'll have to adapt newsdist to your directory layout and other preferences -- ours are somewhat different from the standard C News distribution. -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/ -- comp.archives file verification iraun1.ira.uka.de /pub/news/newsdist.pl found newsdist ok iraun1.ira.uka.de:/pub/news/newsdist.pl