[SOLVED]CPU Usage ?

Need help? Post your questions here.

Moderator: moderators

[SOLVED]CPU Usage ?

Postby Abraxus » Mon Jul 02, 2012 1:35 pm

Hello !

I actually using Subsonic on a dedicated server based on Debian.

But since a few days, it seems that java use lots of CPU (between 50 et 70 %). Is it normal ?

Is there any solution to bring the CPU usage of java and subsonic to less than 50 % ?
Last edited by Abraxus on Mon Jul 02, 2012 5:06 pm, edited 1 time in total.
Abraxus
 
Posts: 7
Joined: Tue Dec 20, 2011 8:54 pm

Re: CPU Usage ?

Postby Gomez » Mon Jul 02, 2012 1:49 pm

i noticed that too.

Subsonic is eating all my CPU, some days ago there was no problem. Havent found the answer...

I am on Debian 6 x64. Subsonic 4.6
Gomez
 
Posts: 23
Joined: Thu Oct 28, 2010 2:49 pm

Re: CPU Usage ?

Postby Abraxus » Mon Jul 02, 2012 2:09 pm

I'm on the same distrib as you.

On my "top" i got :

Cpu(s): 34.2%us, 64.7%sy,

Perhaps there is an upgrade of java recently ... I cant remember

I'm on 4.6 and i try the 4.7 beta 2 and no change.

Which version of java do you use ?

Code: Select all
abraxus@dagobah:~$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
abraxus@dagobah:~$
Abraxus
 
Posts: 7
Joined: Tue Dec 20, 2011 8:54 pm

Re: CPU Usage ?

Postby Gomez » Mon Jul 02, 2012 4:58 pm

I have exact the same java version.

No, i do not think there was an java update.

My top seems the same:

"Cpu(s): 32.7%us, 66.2%sy,"

Some1 else with the problem?

Maybe the Leap Secound bug? :P

http://it.slashdot.org/story/12/06/30/2 ... tems-ready
Gomez
 
Posts: 23
Joined: Thu Oct 28, 2010 2:49 pm

Re: CPU Usage ?

Postby Abraxus » Mon Jul 02, 2012 5:02 pm

Oh god i just found another link about it !

But there is several process .Which is the good one ? :/

EDIT : ok this is what i do :
Code: Select all
/etc/init.d/ntp stop
date `date +"%m%d%H%M%C%y.%S"`


And then :

Code: Select all
Cpu(s): 13.6%us,  2.6%sy, 


:D

Source
Abraxus
 
Posts: 7
Joined: Tue Dec 20, 2011 8:54 pm

Re: [SOLVED]CPU Usage ?

Postby Gomez » Tue Jul 03, 2012 5:24 am

thanks, now all cool again :)
Gomez
 
Posts: 23
Joined: Thu Oct 28, 2010 2:49 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 27 guests