[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: C News Frequently Asked Questions (FAQs)
Previous Document: Can different parts of C News run on different machines?
Next Document: I have trouble compiling the libbig library.


Can you speed up expire by unlinking files in the background?


Henry Spencer:
I've repeatedly considered such a two-phase expire over the years.  The
trouble is that error handling tends to fall down the crack between the
two phases.  What happens if you crash in the middle of expire?  What
happens if some of the articles *can't* be removed?  What happens if some
of them are supposed to be archived, and you run out of space for it?
In all of these cases, you want the history-file processing to reflect
the status of the file operations.

Rich Salz:
I sent patches to Henry or Geoff that added a "-z" flag to the C News
expire so that, like INN, it just wrote the list of files to unlink rather
than actually unlinking them.  It's a BIG win to be able to remove the
articles off-line, and I hope the patch gets incorporated soon.



Top Document: C News Frequently Asked Questions (FAQs)
Previous Document: Can different parts of C News run on different machines?
Next Document: I have trouble compiling the libbig library.

Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
linimon@nominil.lonesome.com

Last Update November 22 2008 @ 00:13 AM

© 2008 FAQS.ORG. All rights reserved.