cnfsstat gives incorrect buffer sizes

Jeremy Hull jhull at sprinthosting.net
Sun Feb 24 21:35:28 UTC 2002


Jeremy Hull wrote:
> Hello,
> 
> I have a Sun E3000 running INN 2.3.1 (just built it) Solaris 7,
> 
> with 54 8.43GB drives on an external array as cycbuffs.
> 
> When I do a cnfsstat it says all the disks are 40MB??
> 
> Is this just an error in cnfsstat, or are my 8.43GB buffers really only 40MB's?
> 
> Any ideas?
> 
> Thanks,
> 
> Jeremy
> 
> 


OK, it's not cnfsstat thats the issue. For some reason after I clear the index in 
each cycbuff and start innd, when it initializes the buffers it sets them to 
40MB's per disk, which is like way too small for a 8+GB disk(s).... weird. I tried 
cheating and using the cnfsheadconf to set the buffs larger, but then inn 
complains of length corruption in the index. But if I try cnfsheadconf right after 
I clear it, cnfsheadconf isn't robust enough to create an index, it has to have an 
index already there....geesh. I'm using the latest stable version (2.3.2) and I 
think it might be flakey.
Does any one have a buffer index creation tool that can initialize an index as it 
seems cnfsheadconf can't and innd creates it wrong? or maybe have a workaround?

Here's a small excerpt from my cycbuff.conf:
cycbuff:1:/news/spool/cycbuffs/b1:8430000
cycbuff:2:/news/spool/cycbuffs/b2:8430000
cycbuff:3:/news/spool/cycbuffs/b3:8430000
cycbuff:4:/news/spool/cycbuffs/b4:8430000
cycbuff:5:/news/spool/cycbuffs/b5:8430000
cycbuff:6:/news/spool/cycbuffs/b6:8430000
cycbuff:7:/news/spool/cycbuffs/b7:8430000
cycbuff:8:/news/spool/cycbuffs/b8:8430000
[snip]
metacycbuff:BINARIES:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45
metacycbuff:ARTICLES:46,47,48,49,50,51,52,53,54

Here is my storage.conf:
method cnfs {
         newsgroups: *
         class: 1
         size: 0,3999
         expires: 4d1s
         options: ARTICLES
}
method cnfs {
         newsgroups: *
         class: 2
         size: 0,3999
         expires: 0s,4d
         options: ARTICLES
}
method cnfs {
         newsgroups: *
         class: 3
         size: 4000,0
         options: BINARIES
}



More information about the inn-workers mailing list