[freenet-support] Re: OSX builds of freenet
Matthew Toseland writes: > > Cool. What code changes? > I added a couple case statements to NativeBigInteger.java, similar to those suggested by Josh Watzman earlier this month. I think his diff also added support for loading an external jbigi library without having to rebuild the freenet-ext.jar file. My changes only work if the library is put into the jar. I'm *assuming* that his code changes result in a requested library name of "libjbigi-osx-none.jnilib". I don't know for sure, since I found his diff after I had already made my changes. I used the jbigi source from i2p since the build scripts for it had already been modified to support OSX. The resulting file was libjbigi.jnilib, which just needed to be renamed to "libjbigi-osx-none.jnilib" and inserted into freenet-ext.jar. The i2p_0_6_0_6 source builds the jbigi library static, so I'm hoping that it will run fine on a Mac that doesn't have gmp installed. Someone else said they had managed to build the library on the Mac, but their library was dynamic and would only run on a Mac with gmp already installed (or something to that effect.) After the osx jbigi library is inserted in to the freenet-ext.jar, I dropped that into the lib folder of the current stable source and built the project using ant. I won't discuss how many wrong turns I made on the way ;-) And the result on starting freenet... INFO: Non-optimized native BigInteger library 'net/i2p/util/libjbigi-osx-none.jnilib' loaded from resource
[freenet-support] OSX builds of freenet
Cool. What code changes? On Wed, Sep 28, 2005 at 10:31:48PM +, Squished Squirrel wrote: > Thanks to those who tried to help me get a pathetic old Celeron 400 optimized > to run freenet acceptably well. > > I caved and spent the time to build freenet for OSX (With native jbigi > libaries!!!) using the current stable source. I knew just enough programming > to > make the few code changes to support loading the jbigi library for OSX and > managed to compile jbigi.jnilib using the I2P source and insert it into the > freenet.ext.jar file. Then I stuck that into the freenet source directory so > that I could then compile freenet using ant. > > That may be nothing to the the developers that hang about here, but I'm damn > pleased ;-) -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/support/attachments/20050929/ce5557f2/attachment.pgp>
[freenet-support] Need a little help plz ...
I seem to have Freenet working ok, but for some reason I am getting far to many error messages. To date, I have been very lucky to get to a site's main page, but never any further than that. Can someone tell me what I am doing wrong. Thanks Here are some of the error messages ... Couldn't retrieve key: SSK at SYICj6OwbBQHEaXfLip8oM9V5UgPAgM/Exhale/7//exhale.html Hops To Live: 23 Error: Route Not Found Attempts were made to contact 4 nodes. * 0 were totally unreachable. * 0 restarted. * 4 cleanly rejected. * 0 backed off. Couldn't retrieve key: SSK at rVxBgVi4oLfrFEWPdPas1XZSYooPAgM%2cQZvYaKsdFJxfCjq%7eFiC5XA/CICFI// Hops To Live: 15 Error: Data Not Found SSK at rVxBgVi4oLfrFEWPdPas1XZSYooPAgM,QZvYaKsdFJxfCjq~FiC5XA/CICFI//activelink.png Request started at Thu Sep 29 02:12:58 BST 2005 and failed after 77 seconds Transfered 150 bytes of metadata Failed to follow a DateRedirect to 'SSK at rVxBgVi4oLfrFEWPdPas1XZSYooPAgM,QZvYaKsdFJxfCjq~FiC5XA/CICFI' RouteNotFound, reason: No route found I am running a Wndows XP + Firefox system, below is the information from Freenet itself ... Node Version0.5 Protocol VersionSTABLE-1.51 Build Number5105 CVS Revision1.90.2.50.2.134 Uptime 34 minutes Load Current routingTime 0ms Current messageSendTimeRequest 5643ms Pooled threads running jobs 89 (74.2%) Pooled threads which are idle 15 Reason for refusing connections:avgMessageSendTimeRequest(5643.280) > successfulSendTimeCutoff(1000.000) It's normal for the node to sometimes reject connections or requests for a limited period. If you're seeing rejections continuously the node is overloaded or something is wrong (i.e. a bug). Current estimated load for QueryReject purposes 75% Current estimated load for rate limiting1,128.7% [Rejecting incoming connections and requests!] Reason for load:Load due to thread limit = 74.2% Load due to routingTime = 10% = 100ms / 1000ms <= overloadLow (100%) Load due to messageSendTimeRequest = 1,128.7% = 5643ms / 500ms > overloadLow (100%) Load due to expected inbound transfers: 15.2% because: 36738.65620474868 req/hr * 0.003562545888037 (pTransfer) * 104871.0 bytes = 13725846 bytes/hr expected from current requests, but maxInputBytes/minute = 1368705 (max observed bytes per minute) * 60 * 1.1 = 90334530 bytes/hr target Estimated external pSearchFailed (based only on QueryRejections due to load): 0.0 Current estimated requests per hour:22816.291614250673 Current global quota (requests per hour): 21397.611919877607 Highest seen bytes downloaded in one minute:1368705 Current outgoing request rate 36738.65620474868 Current probability of a request succeeding by routing 0.5% Current probability of an inbound request causing a transfer outwards 0.7% Current target (best case single node) probability of a request succeeding 1.8% Open Connections Connections open (Inbound/Outbound/Limit) 48 (22/26/200) Transfers active (Transmitting/Receiving) 45 (20/25) Data waiting to be transmitted/received 12 KiB/None Amount of data transmitted/received over currently open connections 17 MiB/22 MiB Total amount of data transmitted/received 24 MiB/25 MiB Number of distinct nodes connected 48 Outbound connections legend Inbound connections legend IdleIdle Transmitting data Transmitting data Receiving data Receiving data Receiving and transmitting data Receiving and transmitting data Messages transferred TypeSent/Received Accepted13212/18831 DataInsert 65/59 DataNotFound5912/4919 DataReply 128/105 DataRequest 21419/14809 InsertReply 10/10 InsertRequest 145/87 NodeAnnouncement5/5 QueryAborted8/16 QueryRejected 8098/15238 QueryRestarted 26684/12922 StoreData 93/77 _ The new MSN Search Toolbar now includes Desktop search! http://toolbar.msn.co.uk/
[freenet-support] Re: Need a little help plz ...
Richard Thomson [EMAIL PROTECTED] writes: I seem to have Freenet working ok, but for some reason I am getting far to many error messages. To date, I have been very lucky to get to a site's main page, but never any further than that. Can someone tell me what I am doing wrong. This is normal for new nodes. It gets better once a node is established in the network, which is achieved by leaving it up as much as possible, preferably with a big datastore. Freenet 0.5.x does have known performance issues even when well established though, which hopefully will be somewhat addressed by 0.7. Please see : http://article.gmane.org/gmane.network.freenet.support/6610 (Guess something like this should go in the official Wiki FAQ) Thanks Here are some of the error messages ... --snip-- OK, you have inbound connections which is good but I notice you have no outputBandwidthLimit (or inputBandwidthLimit) set. Many people recommend having an outputBandwidthLimit appropriate for your connection's upload speed, or freenet tends to generate more traffic than it can handle. There are many other settings you can tweak for performance, this is a bit of a black art since optimal settings vary depending on the node but the first thing I would try is changing the JavaMem= line in Flaunch.ini to e.g. JavaMem=256 to allow freenet to use up to 256MB of RAM. Bob ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] OSX builds of freenet
Cool. What code changes? On Wed, Sep 28, 2005 at 10:31:48PM +, Squished Squirrel wrote: Thanks to those who tried to help me get a pathetic old Celeron 400 optimized to run freenet acceptably well. I caved and spent the time to build freenet for OSX (With native jbigi libaries!!!) using the current stable source. I knew just enough programming to make the few code changes to support loading the jbigi library for OSX and managed to compile jbigi.jnilib using the I2P source and insert it into the freenet.ext.jar file. Then I stuck that into the freenet source directory so that I could then compile freenet using ant. That may be nothing to the the developers that hang about here, but I'm damn pleased ;-) -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. signature.asc Description: Digital signature ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
[freenet-support] Re: OSX builds of freenet
Matthew Toseland [EMAIL PROTECTED] writes: Cool. What code changes? I added a couple case statements to NativeBigInteger.java, similar to those suggested by Josh Watzman earlier this month. I think his diff also added support for loading an external jbigi library without having to rebuild the freenet-ext.jar file. My changes only work if the library is put into the jar. I'm *assuming* that his code changes result in a requested library name of libjbigi-osx-none.jnilib. I don't know for sure, since I found his diff after I had already made my changes. I used the jbigi source from i2p since the build scripts for it had already been modified to support OSX. The resulting file was libjbigi.jnilib, which just needed to be renamed to libjbigi-osx-none.jnilib and inserted into freenet-ext.jar. The i2p_0_6_0_6 source builds the jbigi library static, so I'm hoping that it will run fine on a Mac that doesn't have gmp installed. Someone else said they had managed to build the library on the Mac, but their library was dynamic and would only run on a Mac with gmp already installed (or something to that effect.) After the osx jbigi library is inserted in to the freenet-ext.jar, I dropped that into the lib folder of the current stable source and built the project using ant. I won't discuss how many wrong turns I made on the way ;-) And the result on starting freenet... INFO: Non-optimized native BigInteger library 'net/i2p/util/libjbigi-osx-none.jnilib' loaded from resource ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]