I'd be happy to help since the 100% bug is really bothering me recently. I go to 99% CPU in a few minutes to a couple of hours on every node restart. Must be because I have a large datastore, as it's not a problem on another machine with a small datastore. I'm running 0.3.7 on Win2K. If you email me either the appropriate .class file(s), I can replace in the .jar or email the .jar to me or send me a link or... I'm not knowledgeable to use CVS. I've tried to get anonymous access and can't make it work. If this doesn't meet your needs, I'll wait patiently...I'm just pleased that someone is working on the problem.
Fred -----Original Message----- From: [email protected] [mailto:devl-admin at freenetproject.org]On Behalf Of Tavin Cole Sent: Thursday, February 15, 2001 13:10 To: devl at freenetproject.org Subject: [freenet-devl] possible fix to 100% CPU bug .. need testers Here is a replacement for Freenet/Key.java which I think fixes the 100% CPU bug, which we believe to be grounded in a math bug in the key comparison routine that occasionally makes searching for a reference in the datastore get stuck in an infinite loop. Update to the latest 0.3 CVS and replace Freeney/Key.java with this. Search your logs for "Key.compare() failed:". You can have your log level on ERROR or anything else for this. If you get any of these messages, please post your log AND the console output of Fred to this list or to me. So please remember to redirect the console output to a file :) This Key.java will produce verbose debugging output and will slow your node down *A LOT*, since I am using BigInteger math in the comparison routine to doublecheck the results of our fast compare routine. -- /* tavin cole * composer of e-mail messages */ _______________________________________________ Devl mailing list Devl at freenetproject.org http://www.uprizer.com/mailman/listinfo/devl
