Article View: news.software.nntp
Article #79375Re: Server throttled File exists writing SMstore file -- throttling
From: Russ Allbery
Date: Wed, 27 Aug 2008 21:49
Date: Wed, 27 Aug 2008 21:49
23 lines
1855 bytes
1855 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> 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?)
Thanks, fixed.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<877ia2cemn.fsf@windlord.stanford.edu>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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<76039927-198c-443b-abbd-af800075b8b1@m45g2000hsb.googlegroups.com> <g94aji$tb9$1@puck.litech.org> <g94heo$a7u$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <877ia2cemn.fsf@windlord.stanford.edu> Subject: Re: Server throttled File exists writing SMstore file -- throttling Date: Wed, 27 Aug 2008 14:49:36 -0700 From: Russ Allbery <rra@stanford.edu> References: <76039927-198c-443b-abbd-af800075b8b1@m45g2000hsb.googlegroups.com> <g94aji$tb9$1@puck.litech.org> <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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 23 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.stanford.edu 1219873776 24991 171.64.19.147 (27 Aug 2008 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:iU05ExF8RRviTRdwWiY8KFr7poU=