🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Yehavi Bourvine (58-4279) Sun, 18 Mar 2001 09:15
Tracing to which CYCbuf a posting went?
#51299
Author: Yehavi Bourvine (58-4279)
Date: Sun, 18 Mar 2001 09:15
10 lines
1459 bytes
Hello,
  I am using CYCbufs for all my news storage, and have a few groups for
specific trees. For one specific tree I have a small CYCbuf (very low usage,
but need long retention). However, when posting to groups in this tree I don't
see anything new in the relevant cycbuf (using cnfsstat); hence, I guess the
articles are stored in another CYCbuf (probably the one for newsgroups * which
is the last in storage.conf). Any idea how I can trace where a posted article
goes?
                                  Thanks! __Yehavi:
Re: Tracing to which CYCbuf a posting went?
#51301
Author: those who know me have no need o...
Date: Sun, 18 Mar 2001 14:42
44 lines
2514 bytes
<2001Mar18.091507@hujicc> divulged:

>  I am using CYCbufs for all my news storage, and have a few groups for
>specific trees. For one specific tree I have a small CYCbuf (very low
>usage, but need long retention). However, when posting to groups in this
>tree I don't see anything new in the relevant cycbuf (using cnfsstat);
>hence, I guess the articles are stored in another CYCbuf (probably the
>one for newsgroups * which is the last in storage.conf). Any idea how I
>can trace where a posted article goes?

you can see where an article is stored by looking at the token, e.g., the 
result of a grephistory.  the first two characters are the class in hex, 
and in the case of cycbuff storage the name of the cycbuff begins at the 
6th character and ends at the first nul.

why is it where it is?  i'm not aware of any simple mechanism to trace the 
storage logic, at least not on a live server.  on a test server you can 
compile with symbols and use a symbolic debugger.  so, you'll just have to 
read your storage.conf carefully.  perhaps you put a size constraint on the 
class and the article exceeds it.  remember that first match is used, both 
when matching newsgroups and when processing the methods.  the newsgroups 
line is processed left to right and as soon as a newsgroup matches any 
pattern in the storage.conf the article is stored according to the first 
matching method's entry.  e.g., 

method cnfs {
  newsgroups: comp.*
  class: 5
  options: big8
}

method cnfs {
  newsgroups: *binaries*
  class: 8
  options: bins
}

an article with a newsgroups header of "comp.binaries.foo,alt.binaries.foo" 
will be stored in big8, but a newsgroups header of 
"alt.binaries.foo,comp.binaries.foo" will be stored in bins.

-- 
okay, have a sig then
Re: Tracing to which CYCbuf a posting went?
#51308
Author: those who know me have no need o...
Date: Sun, 18 Mar 2001 15:36
11 lines
961 bytes
<tb9iai4hqeq4f8@news.supernews.com> divulged:

>the first two characters are the class in
>hex, 

s/b: the first two hex characters are the class.  the first character is 
a "@".

-- 
okay, have a sig then
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