Hello,

today I have installed Freenet for the first time. It updated itself to
version 0.7.5 Build #1261 and everything seemed to work fine, but after a few
minutes it crashed. The program runs on a Linux VPS with 512MB Ram and it 
consumes
too much memory. When it starts, the memory usage displayed by "free"
increases by about 180MB, and before it crashes it consumes more than 400MB.

I suspect it has something to do with the high number of threads the
program produces. In wrapper.log I found a dump of 196 threads when the
the JVM was terminated because of an OutOfMemoryError. Can that be normal?

Many threads are "RequestSender for UID"-threads. This is one of them:

"RequestSender for UID 4172439298440835119 on 26688(114)" daemon prio=10 
tid=0x0000000061bea000 nid=0x7424 in Object.wait() [0x000000004ae68000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00002aaab0c47770> (a freenet.io.comm.MessageFilter)
      at freenet.io.comm.MessageCore.waitFor(MessageCore.java:464)
      - locked <0x00002aaab0c47770> (a freenet.io.comm.MessageFilter)
      at freenet.node.RequestSender.realRun(RequestSender.java:627)
      at freenet.node.RequestSender.run(RequestSender.java:194)
      at 
freenet.support.PooledExecutor$MyThread.realRun(PooledExecutor.java:228)
      at freenet.support.io.NativeThread.run(NativeThread.java:101)

Is there anything I can do? In wrapper.conf I have already changed
the following lines:

wrapper.java.maxmemory=80
wrapper.java.additional.4=-XX:MaxPermSize=32

But it doesn't help. I have also tried to limit memory usage with ulimit:
ulimit -d 50000; ulimit -m 50000; ulimit -s 64
No effect. Now I am at a loss.

Felix


      
_______________________________________________
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Reply via email to