On Fri, Jul 04, 2003 at 09:05:06AM +0200, Benny Amorsen wrote: > On 2003-07-04 at 05:41, Toad wrote: > > > Oh, and another thing: RedHat 9.0 with the current Sun JVMs gets various > > deadlocks running Freenet. You can > > a) Run an older version of Freenet, 598 is the last version without NIO. > > However, this is probably also going to freeze occasionally due to the > > bug in question. > > b) As a), but using Kaffe 1.1 (CVS) or GCJ (3.4, not necessarily stable), > > which implements its own "green" threads, and should therefore be > > invulnerable. Kaffe cannot run Freenet 599 or later, for now. > > c) Wait for Sun and RedHat to fix the bug, > > d) Keep restarting it whenever it crashes. There is a script "fmonitor" > > in the source tree that might help, or > > e) Switch distribution (e.g. downgrade to 8.2 or whatever the last > > pre-NPTL one was... or try a different distro altogether). > > This does not exactly speak well of the maturity of Java. NPTL can be > disabled with LD_ASSUME_KERNEL=2.4.1. Does that fail to work around the > problem?
I do not know. > > Anyway, a hang once in a while is not that bad. The memory usage on the > other hand makes it impossible to run Freenet on my server. I will have > to keep the Freenet daemon stopped for now. What level of memory usage? We currently tell the JVM to use 192MB for the heap, it should not go significantly above this.. it may be possible to set it to 128M (in start-freenet.sh) without major ill effects... the NIO freenet code does however use more memory than its predecessors, something we are currently planning to address after releasing 0.5.2, unless we have a good reason (and financial ability) to do so before (we can make significant reductions, but they would take some time to debug...). > > > /Benny -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
pgp00000.pgp
Description: PGP signature
