Evan Daniel wrote: > On Tue, Sep 1, 2009 at 11:23 AM, Michael Yip<mhy831 at cs.bham.ac.uk> wrote: > >> Evan Daniel wrote: >> >>> On Tue, Sep 1, 2009 at 10:07 AM, Michael Yip<mhy831 at cs.bham.ac.uk> wrote: >>> >>> >>>> Evan Daniel wrote: >>>> >>>> >>>>> On Mon, Aug 31, 2009 at 11:34 PM, Michael Yip<mhy831 at cs.bham.ac.uk> >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> I have noticed that one the nodes I'm running has cacched so many >>>>>> requests that it sends around 20k of them on every restart. >>>>>> >>>>>> How do I actually clear the cache? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Michael >>>>>> _______________________________________________ >>>>>> Devl mailing list >>>>>> Devl at freenetproject.org >>>>>> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl >>>>>> >>>>>> >>>>>> >>>>>> >>>>> What stats are you looking at? >>>>> >>>>> You can clear your persistent upload / download queues by going to the >>>>> upload / download pages in fproxy ( http://127.0.0.1:8888/downloads/ >>>>> and http://127.0.0.1:8888/uploads/ ) and removing all queued items. >>>>> >>>>> Evan Daniel >>>>> >>>>> >>>>> >>>> Hi Evan, >>>> >>>> I've actually modified my code a bit and it seems that my node sends >>>> requests for keys requested a long time before (days). I just wonder how >>>> do >>>> I get rid of such cache? >>>> >>>> The global queues are empty. >>>> >>>> >>> You're probably more familiar with what's going on there than I am, >>> then; it's not code I've looked at. >>> >>> If you're adding more stats reporting, I'd like to encourage you to >>> submit patches, and possibly give some thought to generalized >>> improvements to the stats code. See, for example, bugs 3372, 3291, >>> 3425, 3347 on the bug tracker. IMHO there are many problems with >>> Freenet that directly or indirectly relate to the fact that it is >>> difficult to get good measurements and statistics -- it's hard to >>> diagnose and solve problems when we don't have an accurate picture of >>> what's happening. >>> >>> Also, your emails are still breaking threading; I would find them much >>> easier to read if you fixed this. >>> >>> Evan Daniel >>> _______________________________________________ >>> Devl mailing list >>> Devl at freenetproject.org >>> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl >>> >>> >> Hi Evan, I didn't know about breaking thread in replies, sorry. >> >> So there's no way to clear everything (cache) without reinstalling? >> > > I didn't say that. I said I don't know. Specifically, I'm not sure > what requests or what cache you're referring to, why they're being > cached, or whether this is correct or incorrect behavior. I'm also > definitely not the best person to answer your question. I suspect > that anyone intending to investigate further would need more details > in order to know what you're asking about. For starters, Freenet has > many different sorts of caches that cache different things for > different reasons, and you haven't even said which one you're talking > about. > > Evan Daniel > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > Basically, I added a line in the NodeClientCore class, in the realGet() method which creates requests for CHK keys. I've generated a set of CHK keys and I'm trying to log the process from when my node (call it A) sends a data request for the CHK keys and when the other node (call it B) receives such a request.
From what I've seen, node A creates new requests for really old keys (it never returned data for) and this greatly interferes with my experiment. I was just wondering if there's any easy way for a user to clear the cache of his node. Also, this should increase performance anyway. Thanks, Michael
