Buffer size in CNFS

Russ Allbery rra at stanford.edu
Sat Dec 7 06:54:01 UTC 2002


Witold Witkowski <yawitkow at cyf-kr.edu.pl> writes:

> I have defined the ~ 2GB CNFS buffer in cycbuff.conf:

> cycbuff:BUFF00:/news/cnfs/BUFF00:2097120
 
> news-> ll /news/cnfs/BUFF00
> -rw-r--r--    1 news     news     2147450880 Dec  6 10:53 /news/cnfs/BUFF00

> meanwhile cnfsstat shows only size: 1GB

> news-> cnfsstat
> Class BINARIES  for groups matching "*"
>  Buffer BUFF00, size:  1.00 GBytes, position:   767 MBytes  0.00 cycles
>   Newest: 2002-12-06 10:42:57,    0 days,  0:16:22 ago

> What is wrong ? 
> Is 1 GB of the buffer wasted or cnfsstat shows wrong buffer size ?

I think cnfsstat is probably wrong, but I'm really not sure.  What version
of Perl do you have, and is it built with large file support?  (It
shouldn't *need* large file support, since that buffer is less than 2GB,
but....)

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-bugs mailing list