🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Hor Tue, 30 Apr 2002 09:18
INN-2.3.1+CNFS: Way to get diskusage by groups?
#58564
Author: Hor
Date: Tue, 30 Apr 2002 09:18
28 lines
1970 bytes
Hi,

I am the news admin of news.netplace.de - we are receiving a lot of
articles daily (full feed with no binary groups). Lately our incoming
feed exploded size-wise (about 4 times as much MBs as before). I guess
someone is sending us a lot of big articles (binaries) to a group we
havn't blocked.

I am looking for a way to find out which group is the problem, so that I
can
remove it from our incoming feeds. 
Is there a way to get a list of groups with diskusage and article count
from INN-2.3.1 in CNFS mode?

I know my total diskusage, but I dont know which groups are the "bad"
ones.

Any ideas?

Thanks,

Thomas
-- 
Thomas Niederreiter                      Tel: +49 89 551805-11
netplace Telematic GmbH                  Fax: +49 89 551805-24 
Marsstrasse 26                           Email: tn@netplace.de
D-80335 Muenchen                         http://www.netplace.de
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58571
Author: Kjetil Torgrim Homme
Date: Tue, 30 Apr 2002 11:22
20 lines
1732 bytes
[Hor]

>   I am looking for a way to find out which group is the problem, so
>   that I can remove it from our incoming feeds.  Is there a way to
>   get a list of groups with diskusage and article count from
>   INN-2.3.1 in CNFS mode?
>   
>   I know my total diskusage, but I dont know which groups are the "bad"
>   ones.
>   
>   Any ideas?

I suggest you write a small feed program which only tallies the sizes
(I'm sure someone has done this already).  this will of course only
give you the numbers for articles which came in after the installation
of the feed, not what's actually in your CNFS buffers.

-- 
Kjetil T.		[ nerd #5 -- http://nerdquiz.thathost.com ]
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58575
Author: Ed Clarke
Date: Tue, 30 Apr 2002 12:43
19 lines
1935 bytes
On Tue, 30 Apr 2002 11:18:26 +0200, Hor <tn@fhm.edu> wrote:
>I am the news admin of news.netplace.de - we are receiving a lot of
>articles daily (full feed with no binary groups). Lately our incoming
>feed exploded size-wise (about 4 times as much MBs as before). I guess
>someone is sending us a lot of big articles (binaries) to a group we
>havn't blocked.

Use "cleanfeed" instead.  It watches articles go by and can delete
any unauthorized binaries in non binary groups.  It may also be set
to delete those damnable html postings in text only groups.  If you
get the "bad_" lists from osirusoft.com, it will also let you discard 
all those moronic "hipcrime" postings.

	http://www.exit109.com/~jeremy/news/cleanfeed.html
	http://www.osirusoft.com/rbcheck/news.osirusoft.com.tgz

That last tar file contains the "/usr/bin/filter/bad_*" files to be
used by the cleanfeed program.
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58578
Author: Hor
Date: Tue, 30 Apr 2002 15:08
38 lines
2657 bytes
Ed Clarke wrote:
> 
> On Tue, 30 Apr 2002 11:18:26 +0200, Hor <tn@fhm.edu> wrote:
> >I am the news admin of news.netplace.de - we are receiving a lot of
> >articles daily (full feed with no binary groups). Lately our incoming
> >feed exploded size-wise (about 4 times as much MBs as before). I guess
> >someone is sending us a lot of big articles (binaries) to a group we
> >havn't blocked.
> 
> Use "cleanfeed" instead.  It watches articles go by and can delete
> any unauthorized binaries in non binary groups.  It may also be set
> to delete those damnable html postings in text only groups.  If you
> get the "bad_" lists from osirusoft.com, it will also let you discard
> all those moronic "hipcrime" postings.

Thanks for the quick answer.
I am actually using "cleanfeed" already. And it catches a lot of stuff..
but not enough as it seems. And the main problem still persists.. the
data
is still transfered to my news-server and then checked by cleanfeed. 
Because I have to pay for traffic, this only saves space on my
harddrive,
but not the traffic. 

If I would know the names of the "bad" groups, I would block them from
my upstream, so I will never get them sent in the first place.

Still, I will look at the osirusoft-filter-update 8)

Thanks,
Thomas

-- 
Thomas Niederreiter                      Tel: +49 89 551805-11
netplace Telematic GmbH                  Fax: +49 89 551805-24 
Marsstrasse 26                           Email: tn@netplace.de
D-80335 Muenchen                         http://www.netplace.de
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58590
Author: Jeffrey M. Vinocur
Date: Tue, 30 Apr 2002 21:25
19 lines
1731 bytes
In article <3CCEB38A.36D2F997@fhm.edu>, Hor  <tn@fhm.edu> wrote:

>And the main problem still persists.. the data is still
>transfered to my news-server and then checked by cleanfeed.
>Because I have to pay for traffic, this only saves space on my
>harddrive, but not the traffic. 
>
>If I would know the names of the "bad" groups, I would block them from
>my upstream, so I will never get them sent in the first place.

I don't use Cleanfeed, actually, but I got the impression that it
gives (or can be configured to give) detailed reports on what
articles were junked, and what groups they were in.  Can't you
look there?

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58594
Author: Marco d'Itri
Date: Tue, 30 Apr 2002 21:59
16 lines
1532 bytes
tn@fhm.edu wrote:

>is still transfered to my news-server and then checked by cleanfeed. 
>Because I have to pay for traffic, this only saves space on my
>harddrive,
>but not the traffic. 

>If I would know the names of the "bad" groups, I would block them from
>my upstream, so I will never get them sent in the first place.
You can easily add a some code in cleanfeed.local to save rejected
binaries with saveart(), RTFM.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58599
Author: Andrew - Supernews
Date: Wed, 01 May 2002 00:23
138 lines
7159 bytes
In article <3CCEB38A.36D2F997@fhm.edu>, Hor wrote:
> I am actually using "cleanfeed" already. And it catches a lot of stuff..
> but not enough as it seems. And the main problem still persists.. the
> data
> is still transfered to my news-server and then checked by cleanfeed. 
> Because I have to pay for traffic, this only saves space on my
> harddrive,
> but not the traffic. 
> 
> If I would know the names of the "bad" groups, I would block them from
> my upstream, so I will never get them sent in the first place.

here are some of our volume statistics (pre-filtering) for comparison.
For your own server, start by looking at the news log to see what your
filter is rejecting (adding additional data to the rejection messages
if need be).

The "Rej.KB" column indicates what proportion of the listed traffic
volume was rejected by our filters, which block misplaced binaries as
well as spam. Volume figures are per-day but averaged over the past 7
days.

(The high rejection rate for es.binarios.* and esp.binarios.* may be an
anomaly caused by the fact that we were still rejecting all traffic from
telefonica-data.net. Some of the other anomalies, specifically the high
figures for uk.local.*, rec.sport.*, and alt.war.*, are caused by
deliberate flooding incidents. The figure for bellsouth.net.* is caused
by automated content-free test posting in bellsouth.net.test.)

Top 100 Top- or Second-Level Hierarchies or Groups by Volume

Kilobytes Articles Rej.KB Rej.Art Hierarchy/Group
---------|--------|------|------|-------------------------------------------
357106594 1280027   10.3%  19.6%  alt.*
334064167 1050382    4.3%  11.4%  alt.binaries.*
 22814483   51936  100.0%  99.4%  alt.chello.*
  4360801   15329   97.9%  84.9%  es.*
  4352136   12026   98.0%  97.1%  es.binarios.*
  3970021   21746    0.5%   1.3%  dk.*
  3926603   16674    0.3%   1.1%  dk.binaer.*
  2724030    5765    1.2%   3.8%  korea.*
  2724025    5764    1.2%   3.8%  korea.binaries.*
  1569475    5103   99.5%  84.6%  alt.nl.*
  1454080    2948    0.0%   0.2%  bellsouth.*
  1454077    2948    0.0%   0.2%  bellsouth.net.*
  1387276    4238   99.5%  98.3%  esp.*
  1233864    4305   93.4%  67.3%  chile.*
  1231618    3784    0.1%   0.5%  alt.binaries
  1167384    3579   99.4%  98.9%  esp.binarios.*
  1044300    2898   92.8%  83.3%  chile.binarios.*
   889023   12952   97.9%  39.9%  alt.fan.*
   792482   58379   99.6%  97.7%  alt.sex.*
   711514    1867  100.0%  97.8%  alt.casema.*
   602589     590  100.0%  99.6%  abulafia.test
   602589     590  100.0%  99.5%  abulafia.*
   367431   22954    1.2%   3.4%  it.*
   355839     576    0.0%   2.0%  a2000.*
   355456     549    0.0%   0.1%  a2000.beeld.*
   329363     763    0.5%  13.4%  it.binari.*
   304966     429  100.0%  96.6%  alt.oyp.*
   265606    6555   96.5%  26.5%  free.*
   242432    2160   87.2%  63.0%  japan.*
   237432    1589   87.3%  72.4%  japan.binaries.*
   232562     868   99.4%  48.1%  sol.*
   230488     391  100.0%  98.3%  sol.test
   219120     582  100.0%  99.2%  esp.rec.*
   206670    1084  100.0%  97.0%  alt.mag.*
   184497    1158    0.1%   9.6%  pt.*
   161673     532  100.0%  98.4%  alt.pt.*
   161355    3216   97.6%  18.3%  alt.pl.*
   154954    4424    1.6%   4.1%  hr.*
   145581    6785  100.0% 100.0%  alt.bainaries.*
   138132     827    1.5%  12.4%  hr.alt.*
   130202     376  100.0%  96.3%  free.pt
   129065     361  100.0%  98.9%  alt.sylvia-saint.*
   122179     313    0.0%   0.4%  pt.binarios.*
   120411     495  100.0%  99.5%  alt.no-advertising.*
   117844     290   99.9%  86.7%  alt.multimedia.*
   117458     342  100.0%  97.7%  chile.test
   117072     368   99.5%  28.3%  alt.luser.*
   113084     813  100.0% 100.0%  alt.binaires.*
   112588   35466   38.6%   3.7%  rec.*
   111421   26178   54.7%   8.9%  microsoft.*
   111267   26098   54.7%   8.8%  microsoft.public.*
   110844     363  100.0%  99.7%  free.iweor.*
   103514     263   36.7%  35.7%  planet.*
   103508     259   36.7%  35.7%  planet.binaries.*
    86729     629  100.0%  97.0%  alt.japanese.*
    74405     619   99.9%  95.8%  alt.svens
    67081   16048   12.9%   4.0%  de.*
    65866   14615   58.9%   5.8%  uk.*
    65613     361   99.2%  31.1%  chile.rec.*
    62991    3138    0.6%   1.4%  sfnet.*
    62891     518    0.5%  11.0%  han.*
    62001     186    0.0%   0.8%  han.binaries.*
    61236     391    0.2%  18.0%  pt.binarios
    56946     236    0.0%   0.1%  sfnet.tiedostot
    56920   16527   23.7%   5.4%  fido7.*
    52221     487   99.9%  90.6%  alt.pantyhose
    48384      77  100.0%  99.6%  alt.cd.*
    47601     255  100.0%  99.4%  alt.dita
    47336      77  100.0%  93.9%  own.*
    47330      72  100.0%  94.9%  own.music
    45416     129  100.0% 100.0%  alt.earth
    43834    4390   81.6%   8.0%  rec.sport.*
    43377   25173   10.0%   3.0%  tw.*
    42722   25115    9.1%   2.9%  tw.bbs.*
    42538    3513   17.2%  11.4%  de.alt.*
    40601     228   98.9%  43.9%  a.*
    40026      58  100.0%  98.5%  a.b.*
    39088   10792   14.7%   6.5%  soc.*
    38465    3374   99.8%  99.0%  alt.penthouse.*
    37858    2187   97.4%  78.3%  alt.2600.*
    37079   14466   18.4%   6.9%  comp.*
    36737    1604   93.2%  33.5%  yu.*
    36587    1074   96.3%  31.1%  uk.local.*
    35914     598   97.0%  40.1%  alt.war.*
    33560     675   98.4%  55.2%  yu.forum.*
    31918     161  100.0%  98.7%  alt.bin.*
    30883      96   99.7%  90.1%  alt.ubergene
    30514     194   99.9%  94.8%  alt.barefoot
    29625    7807   16.2%   6.3%  soc.culture.*
    29475     150    0.1%   1.8%  dk.binaer
    27799     241  100.0%  99.4%  alt.svens.*
    27220   16728    4.1%   1.6%  pl.*
    27195    7345   29.4%   6.5%  fido7.ru.*
    25870    3193   11.5%   9.9%  news.*
    25736   13107   11.0%   2.7%  fr.*
    23974    9592   15.3%  10.1%  misc.*
    22926     141   99.6%  58.1%  alt.amazon-women.*
    22135     160   88.6%  88.8%  alt.binares.*
    21439    6638   52.7%  15.2%  alt.music.*
    21358     172  100.0%  98.6%  alt.zdenka-podkapova

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58678
Author: jpk
Date: Fri, 03 May 2002 17:47
73 lines
3320 bytes
I use this script.  I run it in cron every night.  When I see a group that's
taking up a lot of space and which is of no interest to my customers, I
remove that group.

-Jim

#!/usr/bin/sh
#
# ovdb_count    Look through the overview database to get a list of
#               all newsgroups with postings, number of postings, and
#               megabytes used.
# Kunze 10/01

TMPFILE=/tmp/$$_ovdb_count
SORTFILE=/tmp/ovdb_count.lst
SIZFILE=/tmp/ovdb_count.size
OLDPWD=`pwd`
OVDB=/usr/local/news/spool/overview

cd $OVDB
find . -name '*.DAT' \
  -exec awk -F" " '{ KBTOT += $7/1024
    LC += 1}
    END {
      MBTOT=KBTOT/1024
      fname=a[split(FILENAME,a,"/")]
      name=substr(fname,1,length(fname)-4)
      printf "%-51s%6d%12.1f\n", name,LC,MBTOT}' \
  {} \; > $TMPFILE

cd $OLDPWD
sort $TMPFILE > $SORTFILE
sort -r -k 3,3 $SORTFILE > $SIZFILE

printf "Top space usage\n\n" > $TMPFILE
printf "%-51s%6s%14s\n" newsgroup posts megabytes >> $TMPFILE
head -10 $SIZFILE >> $TMPFILE
echo "\nNon-alt top space users:\n" >> $TMPFILE
grep -v "^alt." $SIZFILE |head -10 >> $TMPFILE
mailx -s "newsgroup space usage" YOURNAME@EMAIL.ADDRESS < $TMPFILE

###rm $TMPFILE
"Hor" <tn@fhm.edu> wrote in message news:3CCE6162.B68A12A9@fhm.edu...
> Hi,
>
> I am the news admin of news.netplace.de - we are receiving a lot of
> articles daily (full feed with no binary groups). Lately our incoming
> feed exploded size-wise (about 4 times as much MBs as before). I guess
> someone is sending us a lot of big articles (binaries) to a group we
> havn't blocked.
>
> I am looking for a way to find out which group is the problem, so that I
> can
> remove it from our incoming feeds.
> Is there a way to get a list of groups with diskusage and article count
> from INN-2.3.1 in CNFS mode?
>
> I know my total diskusage, but I dont know which groups are the "bad"
> ones.
>
> Any ideas?
>
> Thanks,
>
> Thomas
> --
> Thomas Niederreiter                      Tel: +49 89 551805-11
> netplace Telematic GmbH                  Fax: +49 89 551805-24
> Marsstrasse 26                           Email: tn@netplace.de
> D-80335 Muenchen                         http://www.netplace.de


Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58682
Author: jpk
Date: Fri, 03 May 2002 19:19
84 lines
3968 bytes
Note that the field separator in the awk command below is a tab.  I should
have mentioned that the purpose of the script is to get the number and size
of postings from the overview database.  The script sends the top ten
results to me via email.  The script takes no action, it only reports top
ten groups for postings based on size.

"jpk" <nxk83jia9@yahoo.com> wrote in message
news:aauie8$9mh$1@news.tamerica.net...
> I use this script.  I run it in cron every night.  When I see a group
that's
> taking up a lot of space and which is of no interest to my customers, I
> remove that group.
>
> -Jim
>
> #!/usr/bin/sh
> #
> # ovdb_count    Look through the overview database to get a list of
> #               all newsgroups with postings, number of postings, and
> #               megabytes used.
> # Kunze 10/01
>
> TMPFILE=/tmp/$$_ovdb_count
> SORTFILE=/tmp/ovdb_count.lst
> SIZFILE=/tmp/ovdb_count.size
> OLDPWD=`pwd`
> OVDB=/usr/local/news/spool/overview
>
> cd $OVDB
> find . -name '*.DAT' \
>   -exec awk -F" " '{ KBTOT += $7/1024
>     LC += 1}
>     END {
>       MBTOT=KBTOT/1024
>       fname=a[split(FILENAME,a,"/")]
>       name=substr(fname,1,length(fname)-4)
>       printf "%-51s%6d%12.1f\n", name,LC,MBTOT}' \
>   {} \; > $TMPFILE
>
> cd $OLDPWD
> sort $TMPFILE > $SORTFILE
> sort -r -k 3,3 $SORTFILE > $SIZFILE
>
> printf "Top space usage\n\n" > $TMPFILE
> printf "%-51s%6s%14s\n" newsgroup posts megabytes >> $TMPFILE
> head -10 $SIZFILE >> $TMPFILE
> echo "\nNon-alt top space users:\n" >> $TMPFILE
> grep -v "^alt." $SIZFILE |head -10 >> $TMPFILE
> mailx -s "newsgroup space usage" YOURNAME@EMAIL.ADDRESS < $TMPFILE
>
> ###rm $TMPFILE
> "Hor" <tn@fhm.edu> wrote in message news:3CCE6162.B68A12A9@fhm.edu...
> > Hi,
> >
> > I am the news admin of news.netplace.de - we are receiving a lot of
> > articles daily (full feed with no binary groups). Lately our incoming
> > feed exploded size-wise (about 4 times as much MBs as before). I guess
> > someone is sending us a lot of big articles (binaries) to a group we
> > havn't blocked.
> >
> > I am looking for a way to find out which group is the problem, so that I
> > can
> > remove it from our incoming feeds.
> > Is there a way to get a list of groups with diskusage and article count
> > from INN-2.3.1 in CNFS mode?
> >
> > I know my total diskusage, but I dont know which groups are the "bad"
> > ones.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Thomas
> > --
> > Thomas Niederreiter                      Tel: +49 89 551805-11
> > netplace Telematic GmbH                  Fax: +49 89 551805-24
> > Marsstrasse 26                           Email: tn@netplace.de
> > D-80335 Muenchen                         http://www.netplace.de
>
>


Re: INN-2.3.1+CNFS: Way to get diskusage by groups?
#58775
Author: Bettina Fink
Date: Wed, 08 May 2002 15:21
14 lines
1321 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

> I suggest you write a small feed program which only tallies the sizes
> (I'm sure someone has done this already).

I've been using "feedinfo" for years, it's old, but fine:

http://www.netsw.org/net/news/system/inn/contrib/feedinfo/
ftp://ftp.demon.co.uk/pub/news/misc/

It gives you stats like "Total feed size" (size, number of
articles), "Top feeding sites" (by volume, by article count),
"Top newsgroups" (by volume, by article count), and so on.
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