Re: Freenet hangs and restarts shortly after startup

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
On Monday 08 Oct 2012 22:06:59 guido wrote:
> > 
> > Nothing obvious there. Are you sure it was using heavy CPU at the time?
> 
> It's always using this much CPU, including at that time. I checked. (With top)
> 
> > If so it might be a garbage collection issue 
> >.... how much memory is Freenet allowed in wrapper.conf?
> 
> wrapper.java.maxmemory is set to 1095. I can find no other setting related to 
> memory limits in there.
> 
> Here's the entire file:
> 
> wrapper.java.command=java
> wrapper.working.dir=../
> wrapper.java.mainclass=freenet.node.NodeStarter
> wrapper.java.classpath.1=freenet.jar
> wrapper.java.classpath.2=freenet-ext.jar
> wrapper.java.library.path.1=lib
> wrapper.java.initmemory=60
> # Increased because of slot filters in 1385
> wrapper.java.maxmemory=1095
> wrapper.java.additional.1=-Dnetworkaddress.cache.ttl=0
> wrapper.java.additional.2=-Dnetworkaddress.cache.negative.ttl=0
> wrapper.java.additional.3=-enableassertions:freenet

Okay, add this line here:

wrapper.java.additional.4=-Xloggc:freenet.loggc

Then shut down and start up Freenet, and watch freenet.loggc. Are you seeing a lot of "Full GC" ?

_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-RdDMkVZAZeuJnvDnx1genB2eb7JE58TQ@public.gmane.org?subject=unsubscribe
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABEIAAYFAlBz73AACgkQYUNbc3WUHYhLMACfWQMVbT8uVW7W2jPZH/NQqbxN
okcAn1dvIJLjPVQ/RrZrK/rNbhqMbpXC
=Mq+h
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.