Thread View: news.software.nntp
2 messages
2 total messages
Started by Nathan J. Mehl
Sun, 23 Jul 1995 00:00
Re: Regular crashes of INN
Author: Nathan J. Mehl
Date: Sun, 23 Jul 1995 00:00
Date: Sun, 23 Jul 1995 00:00
53 lines
3034 bytes
3034 bytes
[Article mailed and posted - please follow up in news.]
Christopher G. Fasano (fasano@nic.cerf.net) wrote in article <3ugtum$7pb@news.cerf.net>:
: Hello,
:
: I am having a problem that I hope someone can help me solve. I am
: experiencing daily throttling of INN with the message
:
: Server throttled Not a directory writing article file -- throttling
This happened to me several weeks ago. What's happening is that one of
the directories on your news spool has gotten mangled. An article comes
in for, say, alt.fan.kevin.darcy. Now normally, that article would be
assigned a local articles number, like "11617" and saved onto your spool
as /var/spool/news/alt/fan/kevin/darcy/11617.
But somehow, the directory "kevin" has gotten mangled, and no longer
shows up as a directory, but as a zero-length file. So inn tries to
save to .../fan/kevin/... and hits a brick wall when it first can't
find the .../darcy directory which no longer exists, and then can't
create it, because creating .../kevin/darcy requires that .../kevin
be a directory, and there's already a file sitting there with the same
name that inn can't overwrite.
If you look at the end of /var/log/news/news.err, you'll be able to
determine which article in specific inn choked on. You can then
go into that directory, removed the mangled directory, and restart inn.
*WARNING* *WARNING* When this happened to me, I posted it to the
net, and asked if it had ever happened to anybody else. The one person
who answered said that it had happened to him, and that it immediately
preceded a pretty heavy-duty filesystem failure.
A week later, after getting the error several more times, lo and behold -
catastrophic filesystem failure!
I highly recommend at this point that you take the time to shut down
inn completely, unmount the disk that this error occurred on, and run
fsck on it a few times. The spool you save could be your own.
: Any ideas on what is causing this? Also, should news.daily be run
: as news or root?
As news.
--
-------{Nathan J. Mehl}--------------------{nmehl@bbnplanet.com}-------|
| Ixnay on the ybercay! |
|If you think I speak for my employer, they'll be happy to correct you.|
|-------------{http://ccat.sas.upenn.edu/nmehl/home.html}---------------
Re: Regular crashes of INN
Author: Chris Lo
Date: Mon, 31 Jul 1995 00:00
Date: Mon, 31 Jul 1995 00:00
40 lines
2149 bytes
2149 bytes
Nathan J. Mehl (nmehl@bbnplanet.com) wrote: : Christopher G. Fasano (fasano@nic.cerf.net) wrote in article <3ugtum$7pb@news.cerf.net>: : : : : I am having a problem that I hope someone can help me solve. I am : : experiencing daily throttling of INN with the message : : : : Server throttled Not a directory writing article file -- throttling : : *WARNING* *WARNING* When this happened to me, I posted it to the : net, and asked if it had ever happened to anybody else. The one person : who answered said that it had happened to him, and that it immediately : preceded a pretty heavy-duty filesystem failure. : : A week later, after getting the error several more times, lo and behold - : catastrophic filesystem failure! : : I highly recommend at this point that you take the time to shut down : inn completely, unmount the disk that this error occurred on, and run : fsck on it a few times. The spool you save could be your own. : This is commonly a problem for a non-working mmap() implementation with your OS. Typically Linux (even 1.3.xx) do not yet have a full working mmap(). And most version of FreeBSD < 2.0.5 do not have working mmap() neither. If you have INN source change config.data with the line ACT_STYLE MMAP to ACT_STYLE READ and update your inn server appropriately should give you a better shape... Best Regards, Chris
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