Article View: news.software.nntp
Article #11605Too many cancel messages is not healthy
From: Erland Sommarskog
Date: Sat, 12 Oct 1996 00:00
Date: Sat, 12 Oct 1996 00:00
66 lines
3843 bytes
3843 bytes
This is a war story, that I like to share in case I might save someone else from the same experience. The short summary is: don't have 300.000 cancel messages on your machine. We 're running dexpire to expire old articles here, and nothing wrong with dexpire, but there is a bug in the version we have. Our dexplist used to look like this: algonet x 300 90 swnet x 200 30 alt.binaries x 50 alt.sources x 150 news.announce.newusers x 0 comp.binaries x 50 bionet.molbio.genbank.updates x 50 control x 10 junk x 50 alt,rec,soc x 50 talk x 25 all x 100 The idea, is the higher the number, the longer articles are kept. And this works down to a weight of 50. We used to have alt.binaries on 25, but nothing was ever expired there. Imagine 23 GB spool with two months worth old of alt.binaries! When rec.* groups were only kept for five days, we took the easy way out and upped alt.binaries to 50. Control.* with a weight of 10 was kept for around 35 days, but they don't take up much disk space...but they do contain one hell lot of files! Particulary with all of these spam cancells going on. Last Friday I found two dexpire processes hogging the CPU. My immediate guess was that they were trying to clean up control.cancel, and mailed the staf here and suggested that "rm -f" was necessary. While looking at the directory I noticed that it was said to have 7.4 million links, a little more than the 300.000 files actucally hiding there. I didn't pay any attention to this though. Maybe I should, because on Sunday the machine crashed, and was not easy to revive. It started, and INN renumbered, but then machine died again. Apparently this happened when it tried to access the cancel directory, which was about empty by now, as the rm operation had completed the day before. An fsck revealed no errors, but still the machine panicked, and eventually the decision was made to rebuild the file system, and this throw away some 20MB of articles. The particular hardware is SS20 with Solaris 2.5 and RAID of which I don't remember the exact details. That is secondary anyway, as it should be apparent to anyone that keeping 300.000 files in one directory is not a very good idea. But who would be so stupid to do it beside us? Well, I have had use of them. You know, discovering a that someone has been forging cancel, that's a good resource to dig from. But, OK, they are dispensable. But somehow, this opens the discussion that have been here in news.software.nntp about storing news in a different way. For instance, using an RDBMS, it doesn't really matter if you have 3 or 300.000 articles in a group. And the same is true for several of the other alterntaives that have been proposed. -- Erland Sommarskog, Stockholm, sommar@algonet.se
Technical Details
Message-ID:
<53p21t$5fv@sophocles.algonet.se>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: <53p21t$5fv@sophocles.algonet.se> Subject: Too many cancel messages is not healthy Date: Sat, 12 Oct 1996 00:00:00 +0000 From: sommar@sophocles.algonet.se (Erland Sommarskog) 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: 189027908 Organization: BF Beckasinen 13 u.p.a. Nntp-posting-user: b6433f7f5532dec0093c87732e2a5b740 Newsgroups: news.software.nntp