Article View: news.software.nn
Article #2845Re: How to delete cancelled and expired articles ???
From: Ofer Inbar
Date: Tue, 16 Jun 1992 08:50
Date: Tue, 16 Jun 1992 08:50
53 lines
3661 bytes
3661 bytes
minh@rch.unimelb.edu.au (Minh Tran) writes: >jik@athena.mit.edu (Jonathan I. Kamens) writes: > Yes we are running nnmaster as > nnmaster -r -B -C > We are only running nntp client, the server is on another machine > >>If you are, and you did, then perhaps it is not realizing that >>articles are being expired because you are not running "updatemin" or >>some other script to keep the minimum article number in the active >>file up-to-date. If the minimum article number in the active file >>never increases, then nnmaster has no way of knowing that articles >>have been expired and should be removed from the database. > > We dont have updatemin script, and infact We dont run any other > script ??, could someone post these scripts, or hint on what > they actually do. In case you're just responsible for running nn, and not the news server, you should be aware that updatemin is part of the news system, and not the nn newsreader. Also, nn by default ignores the 'min' field of the active file, unless you change it at compile time. (Perhaps this is only for NNTP, I don't remember). What nnmaster does when it expires is to individually check the existence of every article in each group. A working 'min' field simply helps it out by letting it know that articles under a certain number don't need to be checked, but even if it were assuming the min field to be valid and it were not (i.e. min is not updated and is thus too low), this would simply slow nnmaster down by causing it to check more article numbers than it needs to. The problem is most likely this: nnmaster -r, in daemon mode, does article collection runs on a periodic basis, but it does not try to expire the database until you tell it to. To signal nnmaster to expire, run nnadmin (or the :admin command within nn). From the menu, select E for "Expire" and then Y for "Yes". nnadmin also accepts stacked keystrokes from the command line, so you can enter the command "nnadmin EY" to do this. You'll most likely want to use crontab to schedule a regular expire every day. If you do this, you'll want to use nnadmin =EY. The = switch, which is ostensibly documented somewhere :-), causes nnadmin to run in noninteractive mode, so it does not use the tty. Find out when your news system expires articles, and have nnmaster do its expire after news is done. For example, if your news server starts expires at midnight and usually takes about an hour, then have nnmaster expire every day at 1:30am. Hope this helps. -- Cos (Ofer Inbar) -- cos@chaos.cs.brandeis.edu -- WBRS (BRiS) -- WBRS@binah.cc.brandeis.edu WBRS@brandeis.bitnet Brandeis University Computer Science Department (617) 736-2700 415 South Street, Waltham MA, 02254-9110 System Admin: 736-2717
Technical Details
Message-ID:
<cos.708684634@chaos.cs.brandeis.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!cosReferences:
<minh.708181938@lis.rch.unimelb.edu.au> <1992Jun10.134930.13803@athena.mit.edu> <minh.708322385@lis.rch.unimelb.edu.au> <JIK.92Jun12170212@pit-manager.mit.edu> <minh.708568657@lis.rch.unimelb.edu.au>Show Full Headers
Complete Article Headers
Message-ID: <cos.708684634@chaos.cs.brandeis.edu> Subject: Re: How to delete cancelled and expired articles ??? Date: Tue, 16 Jun 1992 08:50:34 GMT From: cos@chaos.cs.brandeis.edu (Ofer Inbar) References: <minh.708181938@lis.rch.unimelb.edu.au> <1992Jun10.134930.13803@athena.mit.edu> <minh.708322385@lis.rch.unimelb.edu.au> <JIK.92Jun12170212@pit-manager.mit.edu> <minh.708568657@lis.rch.unimelb.edu.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!cos Newsgroups: news.software.nn Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University Lines: 53