Hmmm, mmap()'ing over NFS... Seems fraught with peril. Disk is so cheap these days that quite frankly, I can't see the point in doing this at all... Any significantly powerful NFS server is going to be a heck of alot more $'s than 100GB or 200GB of local disk... Just my 2 cents. On 13 Jul 2000, Julian Assange wrote: > > George Dimitriadis <dimitria@forthnet.gr> writes: > > > Probably not possible...but would be nice....many proxies to this > > in order to save space (instead of using ICP).... > > There's no reason to presume that nfs is going to be more efficient than > nntpcache natively, so the only reason you want to do this is to distribute > load. > > nnptcache can share the cache, but you will need to do this by creating > a symlink from the `local' nntpcache cachedir to the shared cache dir for > each upstream news-server. The reason you need to do this, is that some > other state is saved in the cache dir (stats, history file etc). > > e.g, orginally (excuse the 132 col format): > > root@nntpcache1:/usr/local/var/nntpcache# ls -F > VERSION cache.history cache.history.pag nntpcache.pid.DEFAULT:119 > cache.base cache.history.dir news.vicnet.net.au./ nntpcache.stats > > root@nntpcache2:/usr/local/var/nntpcache# ls -F > VERSION cache.history cache.history.pag nntpcache.pid.DEFAULT:119 > cache.base cache.history.dir news.vicnet.net.au./ nntpcache.stats > > nntpcache2 after merge: > > root@nntpcache2:/usr/local/var/nntpcache# ls -F > VERSION cache.history cache.history.pag nntpcache.pid.DEFAULT:119 > cache.base cache.history.dir news.vicnet.net.au.@ nntpcache.stats > > root@nntpcache2:/usr/local/var/nntpcache# ls -l news.vicnet.net.au. > -rw-r--r-- 1 news news 4276 Jul 13 04:57 news.vicnet.net.au. -> /nfs/nntpcache2/usr/local/var/nntpcache/news.vicnet.net.au. > > You should also configure all but one of the nntpcache machines to have infinite expiry, for obvious reasons. > > Cheers, > Julian. >