Article View: news.software.nntp
Article #43771Diablo problems?
From: Brad Knowles
Date: Sat, 29 Jan 2000 00:00
Date: Sat, 29 Jan 2000 00:00
85 lines
4126 bytes
4126 bytes
Folks,
I got to wondering a bit as to where all my disk space was going in
/usr/news. I found two major subdirectories -- dqueue and poster.
The first one I know about -- that's where diablo stores the list of
article ids to be offered to the various peers, etc.... However,
looking at this a bit more, I see:
ls -1 | sed 's/\..*$//' | sort | uniq -c | sort -nr | head
2299 teleglobe
191
13 verio-small
13 renaissance-small
13 mediaways-small
13 maz-small
13 mathworks-small
7 zjucn-small
7 uio-small
7 uio-big
It seems like I have a problem, with almost 2300 files queued for a
single peer. Looking at my dnntpspool.ctl for this peer, I have:
# Format:
# spoolfile machine maxfileq options
teleglobe pollux.teleglobe.net 0 n1 realtime nobatch
So, can I assume that "0" means unlimited, even though "realtime"
and "nobatch" are specified? Any ideas why this is not documented
anywhere?
Here's my next question -- any ideas how a single queue file could
be allowed to grow to almost 4GB in size? Witness:
ls -las | sort -nr +5 | head
3715216 -rw-r--r-- 1 news news 3802511283 Jan 29 11:54
uio-small
22848 -rw-r--r-- 1 news news 23370841 Jan 29 11:54
uio-big
Virtually all the other files in this directory are no more than
750KB in size. Yet, this one file is 3.541GB. Looking in
dnntpspool.ctl again, I'm wondering if this is the problem:
#uio-small news-feed.ifi.uio.no 6 n8 realtime
#uio-big news-feed.ifi.uio.no 6 n2 realtime
Yet, they hadn't been commented out of dnewsfeeds. Sigh....
I think I've solved both of these problems, but I would appreciate
confirmation.
Now, the stuff in poster -- I thought that the actual articles to be
fed were stored in /usr/news/spool, and not /usr/news/poster? I mean,
this is why I created it as a 24.851GB filesystem, and I see that right
now it's sitting at 87% utilization, so I have to assume that there are
some articles down there.
So, what the heck is this /usr/news/poster directory? If it's for
storage of articles that were posted locally, then why isn't this a
subdirectory of /usr/news/spool, where articles are supposed to be kept?
I don't have all that much disk space on /usr/news, and if there's
going to be significant amounts of space used for things like storing
news articles, I need to know these sorts of things when I'm building
the machines....
Thankfully, my script to watch the disk space on my memory-based
filesystem I use for /usr/news/history was bombing. If it hadn't been
bombing and I hadn't had to log on to fix it, and I hadn't decided to
take a look at what else might need fixing, I might have run out of disk
space on /usr/news before I ran out of space on /usr/news/history....
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Technical Details
Message-ID:
<brad-A8767D.12185229012000@news.skynet.be>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-mailShow Full Headers
Complete Article Headers
Message-ID: <brad-A8767D.12185229012000@news.skynet.be> Subject: Diablo problems? Date: Sat, 29 Jan 2000 00:00:00 +0000 From: Brad Knowles <brad@shub-internet.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.mbox.zip!not-for-mail X-Deja-AN: 579118867 Mail-Copies-To: poster X-Complaints-To: abuse@skynet.be X-Trace: news0.skynet.be 949144786 4228 195.238.20.224 (29 Jan 2000 11:19:46 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ User-Agent: MT-NewsWatcher/3.0 (PPC) NNTP-Posting-Date: 29 Jan 2000 11:19:46 GMT Newsgroups: news.software.nntp