🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22992

Re: control.cancel --> /dev/null

#22992
From: Forrest J. Cavalier III
Date: Thu, 06 Nov 1997 00:00
50 lines
2391 bytes
In article <g6sotaa7g2.fsf@daedalus.crosslink.net>, shields@crosslink.net 
wrote...
>
>In article <63pe46$pbq$1@bigred.inka.de>,
>olaf@bigred.inka.de (Olaf Titz) wrote:
>> No, that won't work. But you can do this:
>> 
>>  cd $SPOOL/control; mv cancel cancel.old; rm -rf cancel.old
>> 
>> about once per hour out of crontab.
>
>Sheesh.  The patch I run is pretty ugly, but it doesn't throw effort away.
>

[snip]

One thing for others to note: the patch doesn't allow propagation
of control messages.  (I'm sure Michael is aware of that.)
For some sites that is fine, but the crontab mv cancel method
does allow propagation of *most* control messages to non-backlogged
sites.

There was another "purge control/cancel" which allowed nearly
all control messages to be propagated.

Joe Greco's control.cancel patch is another "solution", which
keeps directories small, and lets all control messages be
propagated, but it has the side effect that nnrpd cannot
access control messages.  Not a big deal.  There is a minor
memory allocation bug in the control.cancel patch which could
cause memory corruption under some sequences right at startup.
I told Joe about it. The fix is simple.

All of these "solutions" are incomplete.  (i.e. have tradeoffs
in breaking something else.)  But one thing is for certain:
you have to do SOMETHING to keep up with a full feed which
includes cancels.

Speaking of which, has anyone thought about modifying the Joe
Greco timer patches to find minimum and maximum ARTwrite times?
The average is probably a lot higher because of the REALLY long
write times in a few huge directories.  Anyone know how much longer
those ARTwrites are?

Forrest J. Cavalier III, Mib Software



Technical Details
Message-ID: <63sk35$13q$1@news1.epix.net>
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: <Pine.HPP.3.95.971104124352.7722A-100000@iriquois.eel.ufl.edu> <63pe46$pbq$1@bigred.inka.de> <g6sotaa7g2.fsf@daedalus.crosslink.net>

Show Full Headers
Complete Article Headers
Message-ID: <63sk35$13q$1@news1.epix.net>
Subject: Re: control.cancel --> /dev/null
Date: Thu, 06 Nov 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <Pine.HPP.3.95.971104124352.7722A-100000@iriquois.eel.ufl.edu> <63pe46$pbq$1@bigred.inka.de> <g6sotaa7g2.fsf@daedalus.crosslink.net>
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: 287417273
Organization: Mib Software
Newsgroups: news.software.nntp