Thread View: news.software.nntp
4 messages
4 total messages
Started by Drew
Tue, 25 Nov 1997 00:00
Annoying throttle on write fail!
Author: Drew
Date: Tue, 25 Nov 1997 00:00
Date: Tue, 25 Nov 1997 00:00
25 lines
1267 bytes
1267 bytes
Hey folks, One thing that kind of stinks in the present iteration of INN is that the 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. Just my two cents ... Drew Linsalata EQUINOX Internet Services Corp. home of MacConnect - Connecting the Mac OS to the World http://www.macconnect.com -- Email address spam-proofed to save bandwidth and my sanity. Reach me at drew (--- at ---) gonzo ( -- dot --) equinox (-- dot-- ) net.
Re: Annoying throttle on write fail!
Author: Dave Barr
Date: Tue, 25 Nov 1997 00:00
Date: Tue, 25 Nov 1997 00:00
30 lines
1955 bytes
1955 bytes
In article <drew-ya023180002511970045060001@news01.equinox.net>, Drew <drew@dontspamme.com> wrote: >One thing that kind of stinks in the present iteration of INN is that the >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. Given the current article storage system, what else can INN do? It would take quite a big of work to fix something like that in INN. I don't think it's worth it, either. If you're having disk funkiness I'd prefer the system come to a screetching halt so I have _some_ chance of recovering some of the data off the disk. Too often it's a head crash situation, where further activity on the disk will simply cause it to degrade further and further towards total failure. This might be something worth putting into the storage API. (being able to have storage systems go 'offline' and 'online', and have the other systems pick up the slack). However, with the traditional tree-based fileystem approach isn't not quite as easy as just sticking in another API. --Dave -- http://www.cis.ohio-state.edu/~barr/ barr@cis.ohio-state.edu
Re: Annoying throttle on write fail!
Author: Paul Colquhoun
Date: Thu, 27 Nov 1997 00:00
Date: Thu, 27 Nov 1997 00:00
47 lines
2753 bytes
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 -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Re: Annoying throttle on write fail!
Author: Forrest J. Cavalier III
Date: Sun, 30 Nov 1997 00:00
Date: Sun, 30 Nov 1997 00:00
23 lines
1443 bytes
1443 bytes
In article <slrn67qie4.8kj.paulcol+usenet@linux.andor.dropbear.id.au>,
paulcol+usenet@andor.dropbear.id.au wrote...
>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.
fgrep "cant write" /var/log/news/news
Forrest Cavalier, Mib Software, INN customization and consulting
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
http://www.mibsoftware.com/userkt/forprov.htm
Commercial support for INN: http://www.mibsoftware.com/innsup.htm
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads