🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Stefano Mon, 24 Nov 2003 09:13
A strange thing
#67231
Author: Stefano
Date: Mon, 24 Nov 2003 09:13
49 lines
2737 bytes
Hi,

so i've resetted my history file of my devel newsserver to move all
hierarchies to CNFS. I've configured my storage.conf to archivie all
articles in cnfs and for last line i've set:

method timecaf {
        newsgroups: *
        class: 9998
}

method trash {
        newsgroups: *
        class: 9999
}


So....restarting inn after 12 hours i'm seeing that my incoming bandwitdh
has an average of 2 Mbit/s ... strange... I'm carrying: Big8, it.*,
free.it.*, linux.*, microsoft.*, de.*, ch.* ...

And my timecaf spool reaches now 12 Gb ... So which articles goes in timecaf
if i've configures a cnfs buffer for every hierarchies I carry?

with iptraf i can see there's only a peer with is exchanging with me many
many articles:

    seconds: 33941          duplicates: 5           ip address: 66.xx.xxx.xx
    offered: 55164       uw newsgroups: 0          active cxns: 1
   accepted: 35656    uw distributions: 0        sleeping cxns: 0
    refused: 19499          unapproved: 3       want streaming: Yes
   rejected: 9                filtered: 0         is streaming: Yes
       size: 3.5Gb           bad sites: 0       duplicate size: 200.7kb
  Protocol:
      Ihave: 0      SendIt[335]: 0         Got[435]: 0      Deferred[436]: 0
      Check: 55356  SendIt[238]: 35692     Got[438]: 19499  Deferred[431]:
165
   Takethis: 35666      Ok[239]: 35656   Error[439]: 0


Unfortunately i cannot read which kind of articles are in timecaf-e0 dir....
so how can i debug?


Thanks

Stefano

Re: A strange thing
#67233
Author: Jeffrey M. Vinocur
Date: Mon, 24 Nov 2003 11:18
28 lines
2122 bytes
In article <bpsi0u$ei3$1@newsfeed.nextoneserver.com>,
Stefano <stefano@nospam.bizstudio.it> wrote:
>
>So....restarting inn after 12 hours i'm seeing that my incoming bandwitdh
>has an average of 2 Mbit/s ... strange... I'm carrying: Big8, it.*,
>free.it.*, linux.*, microsoft.*, de.*, ch.* ...
>
>And my timecaf spool reaches now 12 Gb ... So which articles goes in timecaf
>if i've configures a cnfs buffer for every hierarchies I carry?

The easiest way for us to answer that is if you show us your full
storage.conf.

You can also tell where an article is stored by information
encoded in the storage token (which is listed in the history
file); there's a script which will help with this in the contrib/
directory of the INN source tree.

tail db/history \
  | cut -f3 \
  | perl /usr/local/src/inn/contrib/showtoken.in

Of course, you'll have to pass it whatever articles you're
interested in, and probably grep the result in some fashion.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: A strange thing
#67234
Author: Stefano
Date: Mon, 24 Nov 2003 11:56
127 lines
4021 bytes
> storage.conf.

method cnfs {
        class: 3
        newsgroups: it.*
        options: IT
}

method cnfs {
        class: 40
        newsgroups: linux.*
        options: LNX
}

method cnfs {
        class: 50
        newsgroups: microsoft.*
        options: MS
}

method cnfs {
        class: 60
        newsgroups: gnu.*
        options: GNU
}

method cnfs {
       newsgroups:
comp.*,rec.*,talk.*,sci.*,soc.*,misc.*,news.*,humanitaties.*
       class: 100
       size: 0,3999
       options: BIG8SMALL
    }


method cnfs {
       newsgroups:
comp.*,rec.*,talk.*,sci.*,soc.*,misc.*,news.*,humanitaties.*
       class: 110
       size: 4000,1000000
       options: BIG8REST
}

method cnfs {
        newsgroups:
comp.*,rec.*,talk.*,sci.*,soc.*,misc.*,news.*,humanitaties.*
        class: 120
        size: 1000001
        options: BIG8LARGE
        }

method cnfs {
        newsgroups: ch.*
        class: 130
        options: CH
        }

method cnfs {
        newsgroups: es.*
        class: 140
        options: ES
        }

method cnfs {
        newsgroups: de.*
        class: 150
        options: DE
        }

method cnfs {
        newsgroups: free.*
        class: 160
        options: FREE
        }

method cnfs {
        newsgroups: uk.*
        class: 170
        options: UK
        }

method cnfs {
        newsgroups: it-alt.*
        class: 180
        options: ITALT
        }

method timecaf {
        newsgroups: *
        class: 9998
}

method trash {
        newsgroups: *
        class: 9999
}



Result os showtoken.in is:

@0364424947382D3200000001099A00000001@ type=cnfs class=100 buffer=BIG8-2
offset=2133400 cycnum=1
@030349543300000000000006B50700000001@ type=cnfs class=3 buffer=IT3
offset=d6a0e00 cycnum=1
@03AA554B3200000000000000639600000001@ type=cnfs class=170 buffer=UK2
offset=c72c00 cycnum=1
@040E003FC1F1003100000000000000000000@ type=timecaf class=14 time=3FC1F1
seq=0031 caf=timecaf-0e/c1/3ff1.CF
@03AA554B3100000000000000637400000001@ type=cnfs class=170 buffer=UK1
offset=c6e800 cycnum=1
@030349543400000000000006C43300000001@ type=cnfs class=3 buffer=IT4
offset=d886600 cycnum=1
@0364424947382D33000000010AE700000001@ type=cnfs class=100 buffer=BIG8-3
offset=215ce00 cycnum=1
@040E003FC1F1003200000000000000000000@ type=timecaf class=14 time=3FC1F1
seq=0032 caf=timecaf-0e/c1/3ff1.CF
@040E003FC1F1003300000000000000000000@ type=timecaf class=14 time=3FC1F1
seq=0033 caf=timecaf-0e/c1/3ff1.CF
@03A0465245453100000000001D0E00000001@ type=cnfs class=160 buffer=FREE1
offset=3a1c00 cycnum=1

Thanks

Stefano

Re: A strange thing
#67237
Author: Jeffrey M. Vinocur
Date: Mon, 24 Nov 2003 12:31
21 lines
1776 bytes
In article <bpsrhi$h9p$1@newsfeed.nextoneserver.com>,
Stefano <stefano@nospam.bizstudio.it> wrote:
>
>comp.*,rec.*,talk.*,sci.*,soc.*,misc.*,news.*,humanitaties.*

Hmm, you've spelled "humanities" wrong there.


>@040E003FC1F1003100000000000000000000@ type=timecaf class=14 time=3FC1F1
>seq=0031 caf=timecaf-0e/c1/3ff1.CF

Right, so take the "timecaf" lines and see what group they are.

Like this:

   ~news/bin/sm @040E003FC1F1003100000000000000000000@ | grep ^Newsgroups:


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: A strange thing
#67236
Author: Stefano
Date: Mon, 24 Nov 2003 12:42
13 lines
1597 bytes
>    ~news/bin/sm @040E003FC1F1003100000000000000000000@ | grep ^Newsgroups:

newsfeed:~# /usr/lib/news/bin/sm @040E003FC1F1003100000000000000000000@ |
grep ^Newsgroups:
Newsgroups: alt.binaries.pictures.comics


But i do NOT carry alt.* ... who it's possible???


Bye, Stefano

Re: A strange thing
#67240
Author: Jeffrey M. Vinocur
Date: Mon, 24 Nov 2003 16:01
16 lines
1749 bytes
In article <bpsu8e$i7g$1@newsfeed.nextoneserver.com>,
Stefano <stefano@nospam.bizstudio.it> wrote:
>>    ~news/bin/sm @040E003FC1F1003100000000000000000000@ | grep ^Newsgroups:
>
>newsfeed:~# /usr/lib/news/bin/sm @040E003FC1F1003100000000000000000000@ |
>grep ^Newsgroups:
>Newsgroups: alt.binaries.pictures.comics
>
>But i do NOT carry alt.* ... who it's possible???

Is that group listed in your active file?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: A strange thing
#67238
Author: Stefano
Date: Mon, 24 Nov 2003 16:06
7 lines
1451 bytes
> Is that group listed in your active file?

Really no!

Bye, Stefano

Re: A strange thing
#67239
Author: Andrew - Supernews
Date: Mon, 24 Nov 2003 16:21
12 lines
1563 bytes
In article <bpta6g$lig$1@newsfeed.nextoneserver.com>, Stefano wrote:
>> Is that group listed in your active file?
> 
> Really no!

is your server configured to accept junk? (wanttrash in inn.conf, IIRC)

What is the Xref: header from the article?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: A strange thing
#67241
Author: Jeffrey M. Vinocur
Date: Mon, 24 Nov 2003 16:28
22 lines
1830 bytes
In article <bpta6g$lig$1@newsfeed.nextoneserver.com>,
Stefano <stefano@nospam.bizstudio.it> wrote:
>> Is that group listed in your active file?
>
>Really no!

Ok (keep in mind that things can be added to your active file
automatically, depending on control.ctl settings), then there are
a few possibilities.

- Is "wanttrash" in inn.conf true?

- Is that article possibly crossposted?  (When you use `sm` to
  retrieve the article, pipe it into `head` or `less` instead of
  `grep`.)

- Did you have that group listed at any point in the past?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: A strange thing
#67242
Author: Tornado
Date: Mon, 24 Nov 2003 16:31
22 lines
1801 bytes
> is your server configured to accept junk? (wanttrash in inn.conf, IIRC)

wanttrash    yes


> What is the Xref: header from the article?

Yep, marked as junk ...

Xref: newsfeed.nextoneserver.com junk:917474


But so ... this want to said that one of my peer is sending me hierarchies i
do not carry?
So ... when junk expire? i have to set 'junk.*:A:1:1:never' in expire.ctl ?

Thanks

Bye, Stefano


Re: A strange thing
#67243
Author: Andrew - Supernews
Date: Mon, 24 Nov 2003 16:48
32 lines
2443 bytes
In article <Fnqwb.19610$9k3.1700@tornado.fastwebnet.it>, Tornado wrote:
>> is your server configured to accept junk? (wanttrash in inn.conf, IIRC)
> 
> wanttrash    yes

Is that set for any specific reason?

>> What is the Xref: header from the article?
> 
> Yep, marked as junk ...
> 
> Xref: newsfeed.nextoneserver.com junk:917474
> 
> But so ... this want to said that one of my peer is sending me hierarchies i
> do not carry?

Your peers don't magically know what hierarchies you carry; it's up to you
to make sure they're sending you what you want.

If you set wanttrash false, then articles sent to you will be rejected if
they aren't posted to at least one newsgroup in your active file. With
wanttrash true, such articles are filed in the junk group instead. You can
check the news log to see which peers are sending you junked articles.

> So ... when junk expire? i have to set 'junk.*:A:1:1:never' in expire.ctl ?

junk:A:1:1:1   will do to expire the junk group after 1 day, if that's what
you want.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: A strange thing
#67246
Author: Jeffrey M. Vinocur
Date: Mon, 24 Nov 2003 17:17
17 lines
1838 bytes
In article <slrnbs4di5.fcs.andrew+nonews@trinity.supernews.net>,
Andrew - Supernews  <andrew@supernews.com> wrote:
>In article <Fnqwb.19610$9k3.1700@tornado.fastwebnet.it>, Tornado wrote:
>
>> So ... when junk expire? i have to set 'junk.*:A:1:1:never' in expire.ctl ?
>
>junk:A:1:1:1   will do to expire the junk group after 1 day, if that's what
>you want.

But I would definitely put junk in a small CNFS buffer -- your
peers will send you all sorts of crazy stuff, and it's best not
to fill up your timehash partition.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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