Problem with expiration of articles

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

 



hello,
 
     I'm using NNTPCACHE 2.3.3 installed in
a FreeBSD 4.2-RELEASE.
     Problem that I seem unable to correct...
 
1) The cache.history file keeps growing (close to
1 gig and running out of space). Is there a way
 (command or program ) to trim
 this occasionally? How do I manage the cache
effectively.
 
2) nntpcache does not seem to expire articles
properly.
 
my nntpache.config file relevant to expiration of articles.
 
# expire if there are under this number of blocks in the cache partition
minBlocksFree 1000
# run expire if there are under this number of inodes in the cache partition
minFilesFree 1000
# don't let the history file grow larger than this (bytes)
hisHighWater 60M
# when it does, trim it back to this (bytes)
hisLowWater 40M
# When we do an expire, kill articles older than this
maxArtAge 2w
# check disk space, etc for automatic expiry this often
# (but only after a client connects or disconnects)
expireCheckPeriod 5m
 
I believe expiration should be automatic, and it is controlled by the above
configuration lines. But when I looked at my cached dir.
drwxr-xr-x   10 news  news   512 Jul  8 18:41 news
news# cd news
news# ls -ltr
drwxr-xr-x  3 news  news   512 Jun 17  2002 newusers
drwxr-xr-x  5 news  news   512 Jul 30 14:42 announce
drwxr-xr-x  4 news  news   512 Sep 18 08:10 lists
drwxr-xr-x  2 news  news   512 Oct  4 15:18 misc
drwxr-xr-x  4 news  news   512 Oct 11 14:17 software
drwxr-xr-x  9 news  news   512 Oct 24 12:22 admin
drwxr-xr-x  3 news  news   512 Nov 27 11:33 groups
drwxr-xr-x  2 news  news  2560 Dec 18 09:15 answers
news# ls -l answers
total 3549
-rw-r--r--  1 news  news   17352 Jun 25 15:37 235549
-rw-r--r--  2 news  news   44072 Jul 23 10:08 236156
-rw-r--r--  4 news  news   64498 Sep  9 15:55 236773
-rw-r--r--  1 news  news   14888 Nov  5 13:48 237568_xover
...trimmed...
 
Why do I see articles which are more than
two weeks. Are they not supposed to have been gone
since my nntpcache.config file says maxArtAge 2w.
Can anyone enlighten me on this. Any manpages or links
or ideas?
 
3)  How do I read the nntpcache.stats and nntpcached.core files.
4) Where do I get guidelines on how to effectively manage nntpcache.
 
 
Thanks everyone




 
    

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

Powered by Linux