Article View: news.software.nntp
Article #2935Re: [Q] history file
From: John Milburn
Date: Sun, 25 Sep 1994 01:38
Date: Sun, 25 Sep 1994 01:38
41 lines
2598 bytes
2598 bytes
In the referenced article
leesj@cs.sejong.ac.kr writes:
>Currently I installed INN 1.4 security version and TIN 1.2 patch level 2.
>There is /usr/local/news/history file. It contains much information of
>articles. By the way, its size is about 21M and will be more and more large.
>I don't know how it is operated. I want to know how to control it
>at other sites in order to reduce its size.
The history file is part of inn. It is a database of all articles on
your news system, and also includes the message ID of articles which
you have received in the last 14 days, but have already removed.
It is _very_ important that you do not alter this file in any way.
If yours is only 21 MB, then it is small. The history files on
usenet.hana.nm.kr and news.kreonet.re.kr are normally around 100 MB.
Mine on xpat.postech.ac.kr is normally about 60 MB.
The size of the history file is determined by how many articles you
have on your system, and how long you keep them.
The file is trimmed by 'news.daily', which should be run every day.
news.daily runs the program 'expire', which checks every line in the
history file, decides if the article should be kept or deleted, and
re-writes the entire history file. It is important that the amount of
free space on the disk where /usr/local/news resides be more than the
size of the history file.
By the way, you should modify the MAIL line in news.daily so that a
copy of the output is posted to han.news-stats. Change the line from:
MAIL="${MAILCMD} -s 'Daily Usenet report' ${NEWSMASTER}"
to
MAIL="${MAILCMD} -s 'Daily Usenet report' ${NEWSMASTER},han-news-stats@xpat.postech.ac.kr"
That will allow other news managers to see how your system is working,
and notify you if we see trouble.
-jem
Technical Details
Message-ID:
<362kaq$535@xpat.postech.ac.kr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-han.news.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!overload.lbl.gov!news.kreonet.re.kr!xpat.postech.ac.kr!not-for-mailReferences:
<361a04$9q@news.kreonet.re.kr>Show Full Headers
Complete Article Headers
Message-ID: <362kaq$535@xpat.postech.ac.kr> Subject: Re: [Q] history file Date: Sun, 25 Sep 1994 01:38:34 +0000 From: jem@xpat.postech.ac.kr (John Milburn) References: <361a04$9q@news.kreonet.re.kr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-han.news.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!agate!overload.lbl.gov!news.kreonet.re.kr!xpat.postech.ac.kr!not-for-mail Newsgroups: han.news,han.news.admin,news.software.nntp Organization: Pohang University of Science and Technology, Pohang, Korea Lines: 40 Distribution: inet Reply-To: jem@xpat.postech.ac.kr (John Milburn) NNTP-Posting-Host: xpat.postech.ac.kr