CNFS + FreeBSD + cnfsstat "read:file too large"

Marco Teixeira marco at ccom.uminho.pt
Thu Sep 14 13:47:08 UTC 2000


It seems strange that you only have one line like

   cycbuff:HEAVY0:/export/cycbuffs/disk0/heavy:2752000

You should have

   cycbuff:HEAVY0:/export/cycbuffs/disk0/cycheavy0:2752000
   cycbuff:HEAVY1:/export/cycbuffs/disk0/cycheavy1:2752000
   cycbuff:HEAVY2:/export/cycbuffs/disk0/cycheavy2:2752000
   cycbuff:HEAVY3:/export/cycbuffs/disk0/cycheavy3:2752000
   cycbuff:HEAVY4:/export/cycbuffs/disk0/cycheavy4:2752000
   cycbuff:HEAVY5:/export/cycbuffs/disk0/cycheavy5:2752000
   cycbuff:HEAVY6:/export/cycbuffs/disk0/cycheavy6:2752000

and (you can use files but in my case) 7 partitions (one for each buffer)

I've added the "cyc" because when i setup my INN, i used the same string

   cycbuff:HEAVY0:/export/cycbuffs/disk0/heavy0:2752000
           ^^^^^^                        ^^^^^^
            HERE          and             HERE

and it seems INN doesn´t like it, because it didn't initialized the
buffers.
When i changed it to diferent names, the problem disapeared.

Maybe it's a bug ???

Try it and shout if you can't make it work.

============================================
Marco Teixeira
Centro de Comunicações
Universidade do Minho
Campus de Azurém
4810 Guimarães
Portugal

Tel: +351 253510165   Fax: +351 253516469
E-Mail: marco at ccom.uminho.pt
============================================



-----Mensagem original-----
De: inn-workers-bounce at isc.org [mailto:inn-workers-bounce at isc.org]Em
nome de Callum Duncan
Enviada: quinta-feira, 14 de Setembro de 2000 14:19
Para: inn-workers at isc.org
Assunto: CNFS + FreeBSD + cnfsstat "read:file too large"



Good morning to all,

I have just setup INN 2.3.0 on FreeBSD 4.0 (Release) and am having a problem
with cnfsstat complaining about "File too large".  But this *only* seems to
be a problem now that the cycbuffs have filled up.

Today if I try to do a 'cnfsstat -a' I get the following:

%cnfsstat -a
Class HEAVY  for groups matching "*", article size min/max: 4000/1000000
read: File too large

The relevant section of my cycbuff.conf is:

cycbuff:HEAVY0:/export/cycbuffs/disk0/heavy:2752000
cycbuff:LIGHT0:/export/cycbuffs/disk0/light:1000000

(...)

metacycbuff:HEAVY:HEAVY0,HEAVY1,HEAVY2,HEAVY3,HEAVY6
metacycbuff:LIGHT:LIGHT0,LIGHT1,LIGHT2,LIGHT3,LIGHT6

Yesterday for example, when I did cnfsstat successfully I got:

%cnfsstat -a
Class HEAVY  for groups matching "*", article size min/max: 4000/1000000
 Buffer HEAVY0, size:  2.62 GBytes, position:   663 MBytes  0.25 cycles
  Newest: 2000-09-13  9:43:23,    0 days,  0:00:09 ago
  Oldest: 2000-09-07 22:02:40,    5 days, 11:40:52 ago
 Buffer HEAVY1, size:  2.62 GBytes, position:   677 MBytes  0.25 cycles
  Newest: 2000-09-13  9:43:23,    0 days,  0:00:09 ago
  Oldest: 2000-09-07 22:08:10,    5 days, 11:35:22 ago
 Buffer HEAVY2, size:  2.62 GBytes, position:   672 MBytes  0.25 cycles
  Newest: 2000-09-13  9:43:23,    0 days,  0:00:09 ago
  Oldest: 2000-09-13  6:22:31,    0 days,  3:21:01 ago
 Buffer HEAVY3, size:  2.62 GBytes, position:   680 MBytes  0.25 cycles
  Newest: 2000-09-13  9:43:23,    0 days,  0:00:10 ago
  Oldest: 2000-09-13  6:22:31,    0 days,  3:21:02 ago
 Buffer HEAVY6, size:  2.62 GBytes, position:   678 MBytes  0.25 cycles
  Newest: 2000-09-13  9:43:23,    0 days,  0:00:10 ago
  Oldest: 2000-09-13  6:22:32,    0 days,  3:21:01 ago

Class LIGHT  for groups matching "*", article size min/max: 0/3999
 Buffer LIGHT0, size:   977 MBytes, position:  26.6 MBytes  0.03 cycles
  Newest: 2000-09-13  9:43:27,    0 days,  0:00:06 ago
  Oldest: 2000-09-07 18:33:16,    5 days, 15:10:17 ago
 Buffer LIGHT1, size:   977 MBytes, position:  26.7 MBytes  0.03 cycles
  Newest: 2000-09-13  9:43:33,    0 days,  0:00:00 ago
  Oldest: 2000-09-07 23:38:03,    5 days, 10:05:30 ago
 Buffer LIGHT2, size:   977 MBytes, position:  26.8 MBytes  0.03 cycles
  Newest: 2000-09-13  9:43:33,    0 days,  0:00:00 ago
  Oldest: 2000-09-07 23:41:00,    5 days, 10:02:33 ago
 Buffer LIGHT3, size:   977 MBytes, position:  26.9 MBytes  0.03 cycles
  Newest: 2000-09-13  9:43:33,    0 days,  0:00:00 ago
  Oldest: 2000-09-07 23:41:37,    5 days, 10:01:56 ago
 Buffer LIGHT6, size:   977 MBytes, position:  26.8 MBytes  0.03 cycles
  Newest: 2000-09-13  9:43:33,    0 days,  0:00:00 ago
  Oldest: 2000-09-07 23:41:42,    5 days, 10:01:51 ago

Each of my disks holds two cycbuffs as follows:

-rw-rw-r--  1 news  news  2818048000 Sep 14 09:01 heavy
-rw-rw-r--  1 news  news  1024000000 Sep 14 09:01 light


Are these files too big? I wondered if there was an issue with cnfsstat
*reading* my files.

Any help is much appreciated, I'm new to INN and after figuring out (some)
of the steep learning curve, I'm getting to like it!  :-)

Cheers,
Callum

--
Callum Duncan
Senior Systems Administrator
e: callum at passport.ca
t: 416.351.1040.242
f: 416.351.8438

Don't forget to visit
http://www.passport.ca
for monthly industry insights!

Passport New Media
LEADING EDGE. BOTTOM LINE.





More information about the inn-workers mailing list