Re: NNTPC: Re: cache nuking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 1998 at 01:27:30PM +1000, proff@suburbia.net wrote:

> The stats file has a version id which is designed to prevent
> problems with upgrades to the stats structures. There should be no
> need to ever nuke the entire cache - just cache.mmap for those
> system that use it, although I'm considering removing the
> possibility of maintaining state in cache.mmap at all.

Why not unlink the cache.mmap file once its created?

That way, when nntpcache goes away, so will the cache.mmap file, and
it gets a close to an anonymous shared mapping as your likely to do
so on systems that require a backing file for mmap paging.



-cw


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux