🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79374

Re: Server throttled File exists writing SMstore file -- throttling

#79374
From: Julien ÉLIE
Date: Wed, 27 Aug 2008 21:37
32 lines
2193 bytes
Hi Jeffrey,

> This is in the FAQ by the way:
>
>    http://www.eyrie.org/~eagle/faqs/inn.html#S4.4
>
> Julien's solution is certainly fine,

Hmm...  Reading this FAQ, I wondered why I posted the script which
is the same as what we can find in it.
I remember!  I added that:

+ if(-e $directory) {
    opendir (DIR, $directory) or die "Can't open $directory: $!\n";
      while (defined ($_ = readdir DIR)) {
          unlink "$directory/$_" if ($_ > $hi);
      }
    closedir DIR;
+ }


I think it should be fixed in the FAQ.  (Russ?)

Indeed, the scripts parses the active file.  And it fails (*die*)
if a newsgroup has never received any article (the folder does
not exist).

-- 
Julien ÉLIE

« Le temps, c'est des sesterces. » (Coquelus) 
Technical Details
Message-ID: <g94heo$a7u$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!feeder.erje.net!news.ecp.fr!news.trigofacile.com!not-for-mail
References: <76039927-198c-443b-abbd-af800075b8b1@m45g2000hsb.googlegroups.com> <g94aji$tb9$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <g94heo$a7u$1@news.trigofacile.com>
Subject: Re: Server throttled File exists writing SMstore file -- throttling
Date: Wed, 27 Aug 2008 23:37:21 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <76039927-198c-443b-abbd-af800075b8b1@m45g2000hsb.googlegroups.com> <g94aji$tb9$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!feeder.erje.net!news.ecp.fr!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 32
NNTP-Posting-Host: aaubervilliers-151-1-89-50.w83-199.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1219873048 10494 83.199.208.50 (27 Aug 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 27 Aug 2008 21:37:28 +0000 (UTC)
In-Reply-To: <g94aji$tb9$1@puck.litech.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049