Thread View: news.software.nntp
5 messages
5 total messages
Started by jan
Fri, 17 Mar 2000 00:00
Bad Expires: header ( inn1.7.2)
Author: jan
Date: Fri, 17 Mar 2000 00:00
Date: Fri, 17 Mar 2000 00:00
22 lines
1065 bytes
1065 bytes
hi, after some problems with the inn server i started cleaning up the history file with makehistory -v -b -u -T /lotsofspace6 while running i see many errors : Bad Expires: header in misc.jobs.offered/5232383 ... Most of these files are very old and shouldn't be there. What is the best way to get rid of those files ? i guess "find /news/spool/articles/ -atime +90 | xargs -t rm" isn't the best solution :) thx in advance, -Jan
Re: Bad Expires: header ( inn1.7.2)
Author: Ralf Döblitz
Date: Sat, 18 Mar 2000 00:00
Date: Sat, 18 Mar 2000 00:00
23 lines
1782 bytes
1782 bytes
jan <jan@online.be> wrote: [cleaning up] >Most of these files are very old and shouldn't be there. >What is the best way to get rid of those files ? >i guess "find /news/spool/articles/ -atime +90 | xargs -t >rm" >isn't the best solution :) I think find /news/spool/articles/ -mtime +90 | xargs -t rm would be better, after all you usually want to remove articles which have been received more than 90 days ago, not those that haven't been read in the last 90 days. And atime would be quite useless on filesystems mount with a noatime option (which speeds up access on a traditional spool quite a bit). Ralf -- Ralf D�blitz * Schapenstr. 6 * 38104 Braunschweig * Germany Phone: +49-531-2361223 Fax: +49-531-2361224 mailto:doeblitz@gmx.de Homepage: http://www.escape.de/users/selene/
Re: Bad Expires: header ( inn1.7.2)
Author: Frank Slootweg
Date: Mon, 20 Mar 2000 00:00
Date: Mon, 20 Mar 2000 00:00
28 lines
1906 bytes
1906 bytes
jan <jan@online.be> wrote: [deleted] > Bad Expires: header in misc.jobs.offered/5232383 > ... > > Most of these files are very old and shouldn't be there. > What is the best way to get rid of those files ? > i guess "find /news/spool/articles/ -atime +90 | xargs -t rm" > isn't the best solution :) Why don't you just remove the *reported* files? I.e. "misc.jobs.offered/5232383" means file misc/jobs/offered/5232383 in your spool directory, i.e. f.e. /usr/spool/news/misc/jobs/offered/5232383. Then after you have rebuilt the history, you let expire(8) and expireover(8) do their work (i.e. see news.daily(8), expire.ctl, etc..). What also happens is the reverse problem, i.e. article files which should have been removed because their history entry has been remove/expired, but which still exist. I collect all Message-ID:s from my spool and feed them to "grephistory -i". That gives me a list of such 'orphans' (article files without a history entry). I then inspect/remove those article files (and do a "expireover -s -v" to remove any left-over overview entries). Ofcourse you should only do this *after* rebuilding the history and first expire run, because otherwise you would probably also remove some perfectly good (i.e. not to be expired) articles.
Re: Bad Expires: header ( inn1.7.2)
Author: Brad Knowles
Date: Mon, 20 Mar 2000 00:00
Date: Mon, 20 Mar 2000 00:00
15 lines
1347 bytes
1347 bytes
In article <8b0odi$7ac$1@selene.escape.de>, Ralf D�blitz
<Doeblitz@gmx.de> wrote:
> find /news/spool/articles/ -mtime +90 | xargs -t rm
fastrm is your friend. ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: Bad Expires: header ( inn1.7.2)
Author: Ralf Döblitz
Date: Tue, 21 Mar 2000 00:00
Date: Tue, 21 Mar 2000 00:00
18 lines
1584 bytes
1584 bytes
Brad Knowles <brad@shub-internet.org> wrote: >In article <8b0odi$7ac$1@selene.escape.de>, Ralf D�blitz ><Doeblitz@gmx.de> wrote: > >> find /news/spool/articles/ -mtime +90 | xargs -t rm > > fastrm is your friend. ;-) Well, to be honest, I usually just go and by another disk to add to my newsspool, it's more fun that way. :-) Ralf -- Ralf D�blitz * Schapenstr. 6 * 38104 Braunschweig * Germany Phone: +49-531-2361223 Fax: +49-531-2361224 mailto:doeblitz@gmx.de Homepage: http://www.escape.de/users/selene/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads