Bug#276819: inn2: CNFS buffer status from the daily report is wrong for small buffers

Marco d'Itri md at Linux.IT
Mon Oct 18 10:08:03 UTC 2004

----- Forwarded message from Michael Bienia <michael at vorlon.ping.de> -----

Subject: Bug#276819: inn2: CNFS buffer status from the daily report is wrong for small buffers
Reply-To: Michael Bienia <michael at vorlon.ping.de>, 276819 at bugs.debian.org
X-Debian-PR-Message: report 276819
X-Debian-PR-Package: inn2
From: Michael Bienia <michael at vorlon.ping.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>

Package: inn2
Version: 2.4.1+20040820-2
Severity: normal


i'm using two small CNFS buffers for control and cancel messages.
Everything works fine but the CNFS buffer status from the daily news
report reports wrong values for this buffers (FOUR and FIVE):

CNFS buffer status:
Buffer        Class              Size      Used   %Used Cycles  KB/sec     Days
FIVE          CONTROL          0.0 KB  163.8 KB    0.0%      0    0.00     0.00
FOUR          CANCEL        1024.0 KB    1.4 MB  136.0%      0    0.02     0.72
ONE           NORMAL         384.0 MB  250.7 MB   65.3%      0    0.34    13.34
THREE         LOCAL           32.0 MB  276.5 KB    0.8%      0    0.02    22.22
TWO           LONG            64.0 MB   24.0 MB   37.4%      0    0.65     1.16

TOTAL: 5      -              481.0 MB  276.5 MB   57.5%      0    0.32        -

The values for "Used" are correct, but the values for "Size" and "%Used"
are wrong for the buffers FOUR and FIVE.

Calling cnfsstat on the commandline reports the correct sizes for them
(here are the relevant lines from the output):
 Buffer FIVE, size:   256 kBytes, position:   166 kBytes  0.65 cycles
 Buffer FOUR, size:  1.75 MBytes, position:  1.37 MBytes  0.78 cycles
 Buffer ONE, size:   384 MBytes, position:   253 MBytes  0.66 cycles
 Buffer THREE, size:  32.0 MBytes, position:   282 kBytes  0.01 cycles
 Buffer TWO, size:  64.0 MBytes, position:  24.0 MBytes  0.38 cycles


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.9-rc4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages inn2 depends on:
ii  cron            3.0pl1-86                management of regular background p
ii  debconf [debcon 1.4.39                   Debian configuration management sy
ii  exim4           4.34-6                   An MTA (Mail Transport Agent)
ii  exim4-daemon-li 4.34-6                   Lightweight version of the Exim (v
ii  inn2-inews      2.4.1+20040820-2         NNTP client news injector, from In
ii  libc6           2.3.2.ds1- GNU C Library: Shared libraries an
ii  libdb4.2        4.2.52-    Berkeley v4.2 Database Libraries [
ii  libperl5.8      5.8.4-2.3                Shared Perl library
ii  perl            5.8.4-2.3                Larry Wall's Practical Extraction 
ii  perl-base [perl 5.8.4-2.3                The Pathologically Eclectic Rubbis
ii  procps          1:3.2.3-1                The /proc file system utilities
ii  time            1.7-19                   The GNU time program for measuring

-- debconf information excluded

----- End forwarded message -----

ciao, |
Marco | [8602 coagV9rhMrpJU]

More information about the inn-workers mailing list