cnfsstat on *large* buffers under FreeBSD ...
The Hermit Hacker
scrappy at hub.org
Fri Aug 20 14:51:46 UTC 1999
I'm running FreeBSD 3.2-STABLE with Perl:
This is perl, version 5.005_03 built for i386-freebsd
If I run cnfsstat, no args, all goes well:
%bin/cnfsstat
Class control for groups matching "control*"
Buffer ctrl1, len: 100.62 Mbytes, used: 41.87 Mbytes (41.6%) 23 cycles
Newest: 1999-08-20 10:46:55, 0 days, 0:00:46 ago
Class bin for groups matching "*bin*"
Buffer bin1, len: 11986.34 Mbytes, used: 2.94 Mbytes ( 0.0%) 50 cycles
Newest: 1999-08-17 16:31:53, 2 days, 18:15:48 ago
Buffer bin7, len: 7994.22 Mbytes, used: 4629.86 Mbytes (57.9%) 49 cycles
Newest: 1999-08-20 10:47:22, 0 days, 0:00:19 ago
Class alt for groups matching "alt.*"
Buffer alt2, len: 7990.58 Mbytes, used: 3172.24 Mbytes (39.7%) 8 cycles
Newest: 1999-08-20 10:47:27, 0 days, 0:00:14 ago
Class main for groups matching "*"
Buffer main1, len: 3615.88 Mbytes, used: 404.18 Mbytes (11.2%) 12 cycles
Newest: 1999-08-20 10:47:30, 0 days, 0:00:11 ago
Buffer main2, len: 3712.51 Mbytes, used: 0.92 Mbytes ( 0.0%) 12 cycles
Newest: 1999-08-13 23:50:25, 6 days, 10:57:16 ago
Buffer main3, len: 3714.33 Mbytes, used: 0.92 Mbytes ( 0.0%) 14 cycles
Newest: 1999-08-19 21:30:04, 0 days, 13:17:37 ago
%
========================================================
If I run it with the -a option, it gets stuck:
%bin/cnfsstat -a
Class control for groups matching "control*"
Buffer ctrl1, len: 100.62 Mbytes, used: 41.89 Mbytes (41.6%) 23 cycles
Newest: 1999-08-20 10:49:09, 0 days, 0:00:50 ago
Oldest: 1999-08-11 5:48:59, 9 days, 5:01:00 ago
Class bin for groups matching "*bin*"
Buffer bin1, len: 11986.34 Mbytes, used: 2.94 Mbytes ( 0.0%) 50 cycles
Newest: 1999-08-17 16:31:53, 2 days, 18:18:06 ago
Oldest: 1999-08-09 5:08:33, 11 days, 5:41:26 ago
==========================================================
If I try to truss it, I get a loop of:
syscall read(0x4,0x8112000,0x2000)
errno 27 'File too large'
has anyone seen this, or have any ideas on how it can be fixed?
Thanks...
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy at hub.org secondary: scrappy@{freebsd|postgresql}.org
More information about the inn-workers
mailing list