cnfs buffer redistribution

grant basham grant at rsmas.miami.edu
Fri May 11 17:06:27 UTC 2001



Running inn-STABLE-20010426 on x86 Linux 2.4.2-2, RedHat 7.1
cnfs with   ovmethod: buffindexed.


I need to redistribute usage of my cnfs buffers to make more room for large
articles.  Currently I have 40G for LARGE, 40G for rest of ALT, 40G for all
the rest (MAIN).  I would like to consolidate storage that now goes in ALT
to go in MAIN.  I would then like to use the space in the current ALT
metacycbuffer as additional space for LARGE.  It would be great if I could
do it without rebuilding history/overview or clearing my storage buffers.

First choice would be to just  eliminate the ALT metacycbuffer (mcb) and
add its buffers (cA-cT) to the LARGE mcb in cycbuff.conf

If that will not work,  can I change newsgroup: to "*" in all mcb and
manipulate size: to take [ 50000,large ; large ; no size-config ]
in [ LARGE ; ALT ; MAIN ] in storage.conf?

Any other suggestions?

Any advice is appreciated.

--Grant

======= storage.conf ====================
method cnfs {
 newsgroups: *
 class: 1
 size: 50000
 options: LARGE
}

method cnfs {
 newsgroups: alt.*,junk,junk.*,control,control.*
 class: 2
 options: ALT
}

method cnfs {
 newsgroups: *
 class: 3
 options: MAIN
}

========= cycbuff (edited and formatted for inclusion here) ========
metacycbuff:LARGE:bA,bB,bC,bD,bE,bF,bG,bH,bI,bJ,bK,bL,bM,bN,bO,bP,\
  bQ,bR,bS,bT:SEQUENTIAL
metacycbuff:ALT:cA,cB,cC,cD,cE,cF,cG,cH,cI,cJ,cK,cL,cM,cN,cO,cP,\
  cQ,cR,cS,cT:SEQUENTIAL
metacycbuff:MAIN:dA,dB,dC,dD,dE,dF,dG,dH,dI,dJ,dK,dL,dM,dN,dO,dP,\
     dQ,dR,dS,dT:SEQUENTIAL
#
cycbuff:bA:/var/news/spool/articles/b/A:1921880
...
cycbuff:bT:/var/news/spool/articles/b/T:1921880
cycbuff:cA:/var/news/spool/articles/c/A:1921880
...
cycbuff:cT:/var/news/spool/articles/c/T:1921880
cycbuff:dA:/var/news/spool/articles/d/A:1921880
...
cycbuff:dT:/var/news/spool/articles/d/T:1921880




  Grant Basham       (305)361-4026       University of Miami
  grant at rsmas.miami.edu   RSMAS Computer Facility/Systems



More information about the inn-workers mailing list