Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84 chuqui version 1.7 9/23/84; site nsc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!ihnp4!nsc!chuqui From: chuqui@nsc.UUCP (Cheshire Chuqui) Newsgroups: net.news.b Subject: Re: expire takes 73 minutes of cpu?!?!? Message-ID: <1859@nsc.UUCP> Date: Sat, 17-Nov-84 13:03:17 EST Article-I.D.: nsc.1859 Posted: Sat Nov 17 13:03:17 1984 Date-Received: Sun, 18-Nov-84 05:33:29 EST References: <1828@nsc.UUCP> <> Reply-To: chuqui@nsc.UUCP (Cheshire Chuqui) Distribution: net Organization: The Bistro Lines: 43 Summary: In article <206@desint.UUCP> geoff@desint.UUCP (Geoff Kuenning) writes: > >The current expire opens up every article file to look for an "Expires:" line >in the header. > >My normal expires run somewhere from an >hour to 1:15 when there is no other disk activity, and eat essentially 100% >of the seek time on the drive. > >The obvious solution is to put the expiration date in the history file. Unfortunately, it isn't quite so obvious. Expire has the '-e' flag that changes the time to expire, plus the '-i' and '-I' flags that cause it to ignore 'Expires:' header lines. Use of any of these flags make generating expiration dates for the history file at reception time impossible. If you are willing to use only the default cases of expire, it would help, but I have yet to see a news site that does that. For example, I set DFLTEXP (the defs.h value for when to get rid of things) rather high, usually 30 days or so, and then use a series of expires with the '-e' option to keep the data base to a specific size depending on how much disk space I've got allocated to it. What might be useful would be to add code so that inews flags articles with 'Expires:' lines to some file, say in the form ' ', if we do that then expire can use the existing date in the history file as the basis for the expiration and reference the expiration date from this other file if neccessary. If might also be possible to simply flag articles with 'Expires:' in it in the history file and get expire to only look at them, saving us another file at the expense of a change to the history file format. If we DO change the history file format, what does this break? Anyone out there have any ideas? chuq -- From the Department of Bistromatics: Chuq Von Rospach {cbosgd,decwrl,fortune,hplabs,ihnp4,seismo}!nsc!chuqui nsc!chuqui@decwrl.ARPA This plane is equipped with 4 emergency exits, at the front and back of the plane and two above the wings. Please note that the plane will be travelling at an average altitude of 31,000 feet, so any use of these exits in an emergency situation will most likely be futile.