Article View: news.software.nntp
Article #90944Re: CNFS buffer consuming more disk space than the file size?
From: Russ Allbery
Date: Tue, 10 Oct 2023 15:48
Date: Tue, 10 Oct 2023 15:48
39 lines
2158 bytes
2158 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> The new buffer has wrapped some times and is now larger than its 'apparent'
> size:
> [news@spool1 ~/spool]$ du cnfs2
> 11739697 cnfs2
> [news@spool1 ~/spool]$ du -A cnfs2
> 10000000 cnfs2
> $ cnfsstat
> Class SBIN for groups matching "control.cancel,junk,alt.binaries.*"
> Buffer SBIN1, size: 9.54 GBytes, position: 7.32 GBytes 12.77 cycles
> Newest: 2023-10-09 18:42:21, 0 days, 0:00:02 ago
On an ext4 file system, I only see the expected file system overhead and
block size rounding.
$ du *
10485764 B01
10485764 B02
10485764 B03
10485764 B04
$ du --apparent-size *
10485760 B01
10485760 B02
10485760 B03
10485760 B04
That's just one data point, but that does support my feeling that whatever
is going on here is something related to ZFS specifically, as opposed to,
say, a bug in INN that's causing it to write past the end of the cycbuff
or something.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87wmvucwc7.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.ams4> <ug236i$1am2$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <87wmvucwc7.fsf@hope.eyrie.org> Subject: Re: CNFS buffer consuming more disk space than the file size? Date: Tue, 10 Oct 2023 08:48:24 -0700 From: Russ Allbery <eagle@eyrie.org> References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com> <PPZTM.104749$vEK1.10266@fx08.ams4> <ug236i$1am2$1@nnrp.usenet.blueworldhosting.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="4795"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:AZ0+1jC+gLeBS2sVegEqZBfQyjY=