Thread View: news.software.nntp
5 messages
5 total messages
Started by Sang-yong Suh
Fri, 18 Jul 1997 00:00
Summarizing Perl filtering information
Author: Sang-yong Suh
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
21 lines
1300 bytes
1300 bytes
I recently started Perl filtering using GJ's script. The good thing is that the server is filtering about 100K articles a day. Yesterday, I filtered 141K EMPs and 19K ECPs. This makes my reader boxes (and downstream sites) very happy. Thank you GJ. Btw, I noticed that syslogd is very busy writing too many "rejecting[perl] ..." lines on news.notice. Therefore, I would like to have news.notice be summarized as follows: Jul 18 17:17:39 news innd: rejectedarts[perl] 100 437 EMP rejected Jul 18 17:20:39 news innd: rejectedarts[perl] 100 437 ECP rejected Also, I will need new innlog.pl to understand the new log entries. Does anyone wrote such a code? Thank you in advance, -- Sang-yong Suh
Re: Summarizing Perl filtering information
Author: Michael Hucka
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
17 lines
1154 bytes
1154 bytes
>>>>> On 18 Jul 1997, sysuh@kigam.re.kr (Sang-yong Suh) wrote: sysuh> Also, I will need new innlog.pl to understand the new log sysuh> entries. Does anyone wrote such a code? innreport 2.1.8_6 understands the entries and summarizes them in the news.daily report. ftp://ftp.eerie.fr/pub/usenet/innreport/ -- 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: Summarizing Perl filtering information
Author: Jeff Garzik
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
21 lines
1198 bytes
1198 bytes
(cc'd to author) Ari wrote: > On 18 Jul 1997 17:31:42 +0900, Sang-yong Suh <sysuh@kigam.re.kr> wrote > in article <5qn9le$b06@news.kigam.re.kr>... > > I recently started Perl filtering using GJ's script. > Is this script public, and if so, where can I get it? It's posted here every now and again, but should always be available at ftp://ftp.spinne.com/pub/usenet/tools/filter_innd.pl -- Jeff Garzik Quality news feeds News Administrator INN Technical info, Consulting Spinne, Inc. http://www.spinne.com/usenet/
Re: Summarizing Perl filtering information
Author: John Milburn
Date: Sun, 20 Jul 1997 00:00
Date: Sun, 20 Jul 1997 00:00
29 lines
1642 bytes
1642 bytes
[Posted and mailed. -jem] sysuh@kigam.re.kr writes: >Btw, I noticed that syslogd is very busy writing too many >"rejecting[perl] ..." lines on news.notice. Therefore, I would There are two problems here. One is that the perl filter creates so many rejects (due to the incredible amount of spam being generated these days), which leads to so many log entries. The second problem is with syslog, which syncs a file after every write to that file. If the logs are on a busy file system, syslogd will block during the sync, and eat up cycles and I/O bandwidth doing unnecessary stat'ing. On some systems, you can add a flag to certain syslog entries, turning off the file syncing after each write. One recent Linux versions, you add a '-' just before the filename. I use the following in the definition for news.notice: news.notice -/var/log/news/news.notice You might want to do the same with any other busy log file. -jem
Re: Summarizing Perl filtering information
Author: Steve Lodin
Date: Mon, 21 Jul 1997 00:00
Date: Mon, 21 Jul 1997 00:00
39 lines
1835 bytes
1835 bytes
In article <33D0356F.296DB80B@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> writes:
> It's posted here every now and again, but should always be available at
>
> ftp://ftp.spinne.com/pub/usenet/tools/filter_innd.pl
OK, I'm trying to get EMP/ECP filtering by Jeff's tools above. I've
done the following:
1) Modified config.data to set PERL_SUPPORT to DO and set the PERL_LIB
and PERL_INC variables.
2) Copied the filter_innd.pl file to ~news/bin/control/filter_innd.pl
where the old one was located.
3) Did a "make realclean" and "make update". No compilation problems.
4) Stopped and restarted the news server.
I can't tell if it is working or not. I think I should expect
rejection messages in ~news/log/news. I've got a partial feed and I'm not
accepting a quarter of what is sent to me. It's been running for an hour
or two. Is it possible that I just haven't encountered anything to
reject yet?
I have $MaxCrossposts = 20.
Any other hints or advice?
Thanks!
Steve
--
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479
"So much mail, so little time."
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