Re: Java is taking 100% of CPU time when running free net service on Linux

Dennis Nezic <[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
On Wed, 27 Feb 2013 12:41:23 +0000, e-mail gfs.samara wrote:
> Hi
> 
> I tried many Linux distributions and java version 1.6 and 1.7 with
> same results. When java is run it takes 100% of CPU and the whole OS
> is unusable. Am I doing something wrong? If I shut down freenet all is
> fine.
> 
> Machine icore5 with 4gb of ram and 750 gb hdd  and 60 mb fibre optic
> connection.
> 
> Thanks in advance.

What does your wrapper.log (the end of it) say it's doing? Perhaps it's
cleaning up your datastore, or something. How big did you set your
datastore to be? Also, I think my node also uses 100% at the beginning,
for a minute or so while it starts up. How long does yours stay at 100%
for?

The fact that it renders the rest of your system unusable suggests it
could be using too much IO ... possibly because it's doing some
maintenance on your datastore. You can double check this with "vmstat
5". The bi (bytes in) and bo (bytes out) columns show how much your
system is reading/writing to the disk, and the last column wa shows how
many tasks are waiting in line for IO access.
_______________________________________________
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
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.