🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23729

Re: Annoying throttle on write fail!

#23729
From: Paul Colquhoun
Date: Thu, 27 Nov 1997 00:00
47 lines
2753 bytes
On 26 Nov 1997 11:29:36 +0100, Olaf Titz <olaf@bigred.inka.de> wrote:
|Drew <drew@dontspamme.com> wrote:
|> server will throttle if it cant write just one article to spool.  We had
|> some disk funkiness that was causing occasional write failures, and simply
|> because the server couldnt write one lousy article to alt.fan.oj-simpson
|> the whole shebang came to a screeching halt.
|> Maybe this is something worth changing in future versions.  
|
|No, this should not change. If an intermittent disk failure causes an
|article write to fail, this is (a) an urgent call to replace the disk
|and (b) the server should absolutely stop scribbling to that disk
|before it has corrupted the whole filesystem.
|
|Also, if the error is an actual "no space on device", I want to stop
|_now_ instead of losing a whole batch of incoming articles. I have
|seen this despite innwatch and despite dexpire, just a matter of
|timing. (And this box was down for two days, filling up disk
|everywhere else and taking another two days to clean up. :-()


OK, but how do I find *WHICH* file it was trying to write when the
error occured ?

I have been getting the a server halting when it couldn't write an
article file due to a permissions error!

Bastard dosn't say which file, so where do I start?  All the
permissions look OK to me, althought I obviously havn't examined
3Gb+ of files by hand, individually.

Any suggestions?  I'm currently looking at rewiting every call
to IOError to include the full file path, something I feel the
original authors should have done.

Currently I feel like by INN server is saying something like:
"I had an error writing a file. I think the error is so
important I am turning myself off until it is fixed, but I'm
not going to tell you *which* file needs to be fixed. Finding
that out is *your* job."


Reverend Paul Colquhoun,     paulcol+sig@andor.dropbear.id.au
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Technical Details
Message-ID: <slrn67qie4.8kj.paulcol+usenet@linux.andor.dropbear.id.au>
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: <drew-ya023180002511970045060001@news01.equinox.net> <65gtmg$n06$1@bigred.inka.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn67qie4.8kj.paulcol+usenet@linux.andor.dropbear.id.au>
Subject: Re: Annoying throttle on write fail!
Date: Thu, 27 Nov 1997 00:00:00 +0000
From: paulcol+usenet@andor.dropbear.id.au (Paul Colquhoun)
References: <drew-ya023180002511970045060001@news01.equinox.net> <65gtmg$n06$1@bigred.inka.de>
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: 293125540
Organization: Home-Delivery UseNet service
Reply-To: paulcol+usenet@andor.dropbear.id.au
Newsgroups: news.software.nntp