Article View: news.software.nntp
Article #43351Re: No space left in CNFS buffer
From: 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
Technical Details
Message-ID:
<m33drzvdkf.fsf@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<m3iu0w7jdl.fsf@localhost.localdomain> <yliu0wibue.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <m33drzvdkf.fsf@localhost.localdomain> Subject: Re: No space left in CNFS buffer Date: Sat, 15 Jan 2000 00:00:00 +0000 From: Chris Martin <chris@localhost.localdomain> References: <m3iu0w7jdl.fsf@localhost.localdomain> <yliu0wibue.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 572921566 Organization: University of Sheffield, UK Newsgroups: news.software.nntp