Re: NNTPC: NNTPCache-2.4.0b5 Solaris 2.6; expiration run clears complete cache

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

 



Hi

On Sun, Oct 15, 2000 at 05:09:29PM +0200, Marcel Janssen wrote:
> running NNTPCache-2.4.0b5 on Solaris 2.6.
Same version, on Linux.

> When expiration is run my complete cache is deleted.
Same problem. Whole cache content is flushed about one minute after
being downloaded from server.

> Logging indicates no reason for removal of cache entries.
This isn't truth... read below carefully:

> Oct 15 16:50:31 ts1-st18 nntpcached[12476]: nntpcache.c:492: starting expire
> task
> Oct 15 16:50:31 ts1-st18 nntpcached[12476]: pruning history database
> Oct 15 16:50:31 ts1-st18 nntpcache-expire[12477]: expire task awakening
> Oct 15 16:50:34 ts1-st18 nntpcache-expire[12477]: expire.c:212: usedblocks
>  = 59.0%, usedinodes = 9.4%, maxArtAge = 46s, expire ended
                               ^^^^^^^^^^^^^^^
> Oct 15 16:50:34 ts1-st18 nntpcache-expire[12477]: expire.c:212: usedblocks
>  = 59.0%, usedinodes = 9.4%, maxArtAge = 46s, expire ended
                               ^^^^^^^^^^^^^^^
> Oct 15 16:50:34 ts1-st18 nntpcache-expire[12477]: expire task retiring
It seems, that nntpcache thinks, that maxArtAge is set to 46 seconds...

> maxArtAge = 2w
...but we know it's bullshit.

I've set maxArtAge to several values and checked what appered in log
file. Here are results:
Config file	Log file
2w		46s
48d		48s
96m		44s
3600		42s
1		60s
2		53s

I'm looking at these results, and... I HAVE NO IDEA HOW THIS WORKS! So, I
would be very thankfull if some nice guy from NNTP Cache devel team
could explain this to us :)
-- 
--= Michal Kochanowicz==--==--==BOFH==--==--==mkochano@ee.pw.edu.pl =--
--= PGP key: www.ee(...)/~mkochano/PGP/ or finger me @ miriam.ee... =--
--==--==--==--= Happines is good health and bad memory  =--==--==--==--


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

Powered by Linux