cnfsstat gives incorrect buffer sizes
Jeremy Hull
jhull at sprinthosting.net
Sun Feb 24 22:41:40 UTC 2002
Russ Allbery wrote:
>
> Jeremy Hull <jhull at sprinthosting.net> writes:
>
> > OK, it's not cnfsstat thats the issue.
>
> I'm not so sure.
>
> > 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.
>
> What are you using to determine that information? 41MB is the cycbuff
> size that you defined mod 2GB, so I'm inclined to suspect that you're
> using cnfsstat and cnfsheadconf to do this, both of which are Perl
> programs, and you're not using a Perl compiled with long long support.
>
> I bet cnfsstat is just reporting the wrong values and that INN is actually
> initializing the buffers correctly.
>
> --
> Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
I had my server up for 10 hours, received about 8GB of data, the buffers had cycled
and my articles started to expire. I have roughly 455GB in buffers. Thats what led me
to believe they were the wrong size. Here is my perl version:
newsbeast:# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos dewitt.vnet.net 5.7 generic_patch sun4u sparc '
config_args='-Dcc=gcc -de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.7'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 26 2001 16:17:32
@INC:
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
More information about the inn-workers
mailing list