🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24481

Re: Inn 1.7.2/Linux high CPU usage

#24481
From: Marc Slemko
Date: Fri, 19 Dec 1997 00:00
25 lines
1678 bytes
In <349A9494.CAC92265@inode.at> Peter Augustin <acp@inode.at> writes:

>Jeff Fisher wrote:


>> > The problem is that the directory file itself (not the content) gets
>> > big. So erasing control/cancel/* may not help. It's better to erase -rf
>> > control.cancel and let inn remake the cancel directory.
>> >
>> 
>> Even better might be to move it aside, then remove it.  That way you won't
>> be fighting with incoming cancels.

>Wheres the problem? In the moment, where the dir is deleted inn creates
>a new one when the next cancel message arrives. 

Because, depending on exactly how your version of rm is implemented,
there is a race condition when new cancels arrive after rm has
started.  You may well not have all the new articles removed when
rm tries removing the directory, so removing the directory will
fail.  If you don't remove the directory then, on most OSes, it
will never shrink in size on its own.

Technical Details
Message-ID: <67eehl$5mq$1@scanner.worldgate.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: <67413d$4tk$1@coredump.ucs.indiana.edu> <675uia$bkv@layla.RoBIN.de> <677klh$nv9$1@server3.mich.com> <349A4408.AB2F05F@skynet.be> <slrn69l1v5.6a2.rzxtlg@dogbert.ies-energy.com> <349A9494.CAC92265@inode.at>

Show Full Headers
Complete Article Headers
Message-ID: <67eehl$5mq$1@scanner.worldgate.com>
Subject: Re: Inn 1.7.2/Linux high CPU usage
Date: Fri, 19 Dec 1997 00:00:00 +0000
From: Marc Slemko <marcs@znep.com>
References: <67413d$4tk$1@coredump.ucs.indiana.edu> <675uia$bkv@layla.RoBIN.de> <677klh$nv9$1@server3.mich.com> <349A4408.AB2F05F@skynet.be> <slrn69l1v5.6a2.rzxtlg@dogbert.ies-energy.com> <349A9494.CAC92265@inode.at>
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: 308635486
Organization: WorldGate Inc. http://www.worldgate.com/
Newsgroups: news.software.nntp