Thread View: news.software.nntp
5 messages
5 total messages
Started by Chris Martin
Fri, 14 Jan 2000 00:00
No space left in CNFS buffer
Author: Chris Martin
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
53 lines
2666 bytes
2666 bytes
I am running inn-2000-01-08_03-01 on a development server (dual
Pentium Pro 200 MHz, RedHat Linux 6.1 with all updates).
In cycbuff.conf I have defined the cycbuffs and metacycbuffs:
cycbuff:BUFF10:/cycbuffs/part10/buff10:401940
cycbuff:BUFF11:/cycbuffs/part10/buff11:401140
cycbuff:BUFF12:/cycbuffs/part11/buff12:401736
cycbuff:BUFF13:/cycbuffs/part11/buff13:401344
cycbuff:BUFF14:/cycbuffs/part12/buff14:401540
cycbuff:BUFF15:/cycbuffs/part12/buff15:50200
cycbuff:BUFF16:/cycbuffs/part12/buff16:351340
cycbuff:BUFF17:/cycbuffs/part13/buff17:401540
cycbuff:BUFF18:/cycbuffs/part13/buff18:401540
cycbuff:BUFF19:/cycbuffs/part14/buff19:401540
cycbuff:BUFF20:/cycbuffs/part14/buff20:401540
cycbuff:BUFF21:/cycbuffs/part15/buff21:401540
cycbuff:BUFF22:/cycbuffs/part15/buff22:401540
metacycbuff:BINARIES:BUFF10
metacycbuff:JOBS:BUFF11
metacycbuff:MISC:BUFF12
metacycbuff:ALT:BUFF13,BUFF14
metacycbuff:TEST:BUFF15
metacycbuff:REC:BUFF16,BUFF17
metacycbuff:NEWS:BUFF18,BUFF19
metacycbuff:UK:BUFF20
metacycbuff:CATCHALL:BUFF21,BUFF22
The server has just stopped with the messages:
Jan 14 13:50:40 tualatin innd: SERVER throttled No space left on device writing SMstore file -- throttling
Jan 14 13:50:40 tualatin innd: SERVER throttle No space left on device writing SMstore file -- throttling
Jan 14 13:50:40 tualatin innd: SERVER cant store article: cnfs_store() xwritev() failed
Running "cnfsstat -a" gives:
Class BINARIES for groups matching "*.binaries*"
Buffer BUFF10, len: 392.52 Mbytes, used: 392.11 Mbytes (99.9%) 0 cycles
Newest: 2000-01-14 13:50:40, 0 days, 1:28:28 ago
Oldest: 2000-01-13 14:50:23, 1 days, 0:28:45 ago
(...the others don't seem to be relevant)
I thought that CNFS automatically overwrote old articles when it ran
out of space -- have I missed a vital bit of configuration?
--
The address in the header is anti-spammed.
To email, please check the To: header, if it is wrong, replace it with
c point martin node sheffield point ac point uk
Re: No space left in CNFS buffer
Author: Russ Allbery
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
29 lines
1730 bytes
1730 bytes
Chris Martin <chris@localhost.localdomain> writes: > I am running inn-2000-01-08_03-01 on a development server (dual > Pentium Pro 200 MHz, RedHat Linux 6.1 with all updates). > In cycbuff.conf I have defined the cycbuffs and metacycbuffs: > cycbuff:BUFF10:/cycbuffs/part10/buff10:401940 > cycbuff:BUFF11:/cycbuffs/part10/buff11:401140 [...] > The server has just stopped with the messages: > Jan 14 13:50:40 tualatin innd: SERVER throttled No space left on > device writing SMstore file -- throttling > Jan 14 13:50:40 tualatin innd: SERVER throttle No space left on > device writing SMstore file -- throttling > Jan 14 13:50:40 tualatin innd: SERVER cant store article: > cnfs_store() xwritev() failed How did you create your cycbuffs, and how close to full is that disk partition? Some methods of creating cycbuffs leave holes in the file, meaning that the space hasn't actually been allocated and won't be until you write to it. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: No space left in CNFS buffer
Author: Chris Martin
Date: Sat, 15 Jan 2000 00:00
Date: Sat, 15 Jan 2000 00:00
60 lines
3221 bytes
3221 bytes
>>>>> On 14 Jan 2000 13:26:33 -0800, Russ Allbery <rra@stanford.edu> said:
> I am running inn-2000-01-08_03-01 on a development server (dual
> Pentium Pro 200 MHz, RedHat Linux 6.1 with all updates).
> In cycbuff.conf I have defined the cycbuffs and metacycbuffs:
> cycbuff:BUFF10:/cycbuffs/part10/buff10:401940
> cycbuff:BUFF11:/cycbuffs/part10/buff11:401140
> The server has just stopped with the messages:
> Jan 14 13:50:40 tualatin innd: SERVER throttled No space left on
> device writing SMstore file -- throttling
Russ> How did you create your cycbuffs, and how close to full is that
Russ> disk partition? Some methods of creating cycbuffs leave holes
Russ> in the file, meaning that the space hasn't actually been
Russ> allocated and won't be until you write to it.
Russ,
Thanks you for your reply.
This test system has been set up on Linux and it doesn't look as
though raw partitions can be used even though this is version
2.2.12 of the kernel and not 2.0.x which is mentioned in the
"Supported Systems" section of INSTALL.
I set up /dev/sda10--15 as 803218 block (100 cylinder) partitions --
these have been formatted and have two equally sized files taking up
the full partition. The partitions are mounted under /cycbuffs as
/cycbufs/part10 to part15 and the files are called buff10 to buff22
(one partition has 3 files).
The partition created by mke2fs has a block size of 4k. mke2fs says
that there are 200804 4k blocks on the device. As the files are not
expected to change in size, the percentage of the partition reserved
for root has been set to 0.
Although the count has been set to 100385, the size of buff10 is
401960k which corresponds to 100490 4k blocks. This is probably an
artifact of the mapping of the real number of cylinders, heads and
sectors to something the BIOS (on Intel machines) can cope with.
The second dd command, creating buff11, stopped early with a "Disk
full" message after writing 100186 4k blocks; the size of the two
files (shown by ls) in kilobytes is, however, 401940k and 401140k.
mke2fs -c -N 32 -m 0 -v -L cnfs10 /dev/sda10
dd if=/dev/zero of=/cycbuffs/part10/buff10 bs=4k count=100385
dd if=/dev/zero of=/cycbuffs/part10/buff11 bs=4k count=100285
chmod 664 /cycbuffs/part10/buff1[01]
chown news.news /cycbuffs/part10/buff1[01]
I hope this is not too much info...
Chris
--
The address in the header is anti-spammed.
To email, please check the To: header, if it is wrong, replace it with
c point martin node sheffield point ac point uk
Re: No space left in CNFS buffer
Author: Miquel van Smoorenburg
Date: Sat, 15 Jan 2000 00:00
Date: Sat, 15 Jan 2000 00:00
16 lines
1379 bytes
1379 bytes
In article <m33drzvdkf.fsf@localhost.localdomain>, Chris Martin <chris@localhost.localdomain> wrote: > >This test system has been set up on Linux and it doesn't look as >though raw partitions can be used even though this is version >2.2.12 of the kernel and not 2.0.x which is mentioned in the >"Supported Systems" section of INSTALL. They _can_ be used (I've been doing that for years) if you get my "rawfs" - a filesystem that implements direct partition access. ftp://ftp.cistron.nl/pub/people/miquels/kernel/v2.2/rawfs-0.6.tar.gz Mike.
Re: No space left in CNFS buffer
Author: Russ Allbery
Date: Sat, 15 Jan 2000 00:00
Date: Sat, 15 Jan 2000 00:00
23 lines
1744 bytes
1744 bytes
Chris Martin <chris@localhost.localdomain> writes: > The second dd command, creating buff11, stopped early with a "Disk full" > message after writing 100186 4k blocks; the size of the two files (shown > by ls) in kilobytes is, however, 401940k and 401140k. > mke2fs -c -N 32 -m 0 -v -L cnfs10 /dev/sda10 > dd if=/dev/zero of=/cycbuffs/part10/buff10 bs=4k count=100385 > dd if=/dev/zero of=/cycbuffs/part10/buff11 bs=4k count=100285 > chmod 664 /cycbuffs/part10/buff1[01] > chown news.news /cycbuffs/part10/buff1[01] I'll bet there's some lossage of space from something and that INN is running into the same thing that dd did. It's possible that dd ended up leaving a hole in the file and that's why the sizes look right to ls. My recommendation would be to just drop the size of the cycbuff by a bit in the configuration until you stop having problems. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads