🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90883

Re: CNFS buffer consuming more disk space than the file size?

#90883
From: Billy G. (go-while)
Date: Fri, 06 Oct 2023 20:22
19 lines
1869 bytes
On 05.10.23 23:42, Jesse Rehmer wrote:
> I do have compression enabled and created the buffers with dd from /dev/zero.
> 
> In your examples the actual size is smaller, which is what I would expect, but
> my situation is reverse where the actual size used is larger by about 30%.


weird and can't get my head around.
inn would not start if filesize from conf and disk dont match.
i believe, i had such issue once while playing and copied wrong values 
and inn failed to start or initialize the buffer.
maybe there is no check if it is already initialized and file has grown 
somehow.
but how could it grow bigger, i have no idea. should not be possible.
cycbuff puts data in some kind of blocks but did not dive deep enough to 
get a better understanding.

would be cool if you did not delete the file, so we could further 
investigate it.
Technical Details
Message-ID: <PPZTM.104749$vEK1.10266@fx08.ams4>
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
References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <PPZTM.104749$vEK1.10266@fx08.ams4>
Subject: Re: CNFS buffer consuming more disk space than the file size?
Date: Fri, 6 Oct 2023 22:22:12 +0200
From: "Billy G. (go-while)" <no-reply@no.spam>
References: <ufmh0l$2bau$1@nnrp.usenet.blueworldhosting.com> <XSFTM.7805$4rg.2638@fx09.ams4> <ufnakv$14o$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
Mime-Version: 1.0
User-Agent: NoZilla/3.11 (Hackint; Unicorn; rv:0.8.15) go-while/19720229 NewsRW/4.2.0
Content-Language: en-US
Newsgroups: news.software.nntp
Organization: github.com/go-while
In-Reply-To: <ufnakv$14o$1@nnrp.usenet.blueworldhosting.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Fri, 06 Oct 2023 20:09:19 UTC