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
