🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42808

Re: expire causing fs-problems on INN 2.2.2 on Linux

#42808
From: Ray Rocker
Date: Wed, 05 Jan 2000 00:00
29 lines
1708 bytes
In article <xkbhfgsbrhl.fsf@munin.diku.dk>,
pink aka Chr. Boesgaard <pink@munin.diku.dk> wrote:
>
>We're running INN on Linux 2.2 on an IA-32, using CNFS.
>
>The problem is that something is not clearing inodes right. After an
>expire there is about 500Mb less space on the drive holding history
>and overview.
>
>The historyfiles and friends is about 500Mb, but it could also be the
>overview...
>
>The difference is shown using df and du.

That just means some running process (an nnrpd?) still has an
open filehandle to the old history file. du won't see it because
it's no longer linked in the directory structure, but df will,
until all processes have closed their filehandles to it, allowing 
it to be deallocated.

To find out which process it is, you could look up the inode #
(ls -li) of the old history file, wait for expire to replace it,
then look through /proc/[0-9]*/fd to see who still has it open.

--
Ray Rocker
rocker@datasync.com

Technical Details
Message-ID: <84vvmj$rl4$1@shell.datasync.com>
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
References: <xkbhfgsbrhl.fsf@munin.diku.dk>

Show Full Headers
Complete Article Headers
Message-ID: <84vvmj$rl4$1@shell.datasync.com>
Subject: Re: expire causing fs-problems on INN 2.2.2 on Linux
Date: Wed, 05 Jan 2000 00:00:00 +0000
From: rocker@datasync.com (Ray Rocker)
References: <xkbhfgsbrhl.fsf@munin.diku.dk>
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: 568721072
Distribution: inet
X-Complaints-To: abuse@datasync.com
X-Trace: news.datasync.com 947094036 9716 205.216.82.5 (5 Jan 2000 17:40:36 GMT)
Organization: Datasync
NNTP-Posting-Date: 5 Jan 2000 17:40:36 GMT
Newsgroups: news.software.nntp