Constant 25% CPU usage even video not being played

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Constant 25% CPU usage even video not being played

Post by Nake »

I wrote about this first time into 5.0.0 released announcement post here: viewtopic.php?p=14589#p14589

There is full quote what I said in above post, if you're too lazy to click it open:
I finished watching an episode of series and I was surfing web with phone at couch when I suddenly realized that my PC was louder than it should've been on idle. So I checked Task Manager and javaw.exe was using 25% of CPU (so it was CPU fan making all the noise). This is new in 5.0.0, never happened with earlier versions before, atleast for me. Unfortunately I rebooted UMS and I didn't remember to take logs to safety. I tried to reproduce this by playing same file for awhile but it didn't work. I make sure to add it next time when/if this happens again.

I have Java 8 Update 31 (32bit & 64bit) installed and I use BubbleUPnP on Nexus 4 (Lollipop 5.0.1) to browse files and to select what I want to watch via Chromecast. OS: Windows 7 64bit

EDIT: I think cause may be thumbnails, because I enabled them after updating to 5.0.0. I'd like to get confirmation for this one if the case is that. Tho dunno why it would take 15min+ to generate all thumbnails, I don't have that many files.
That edit part is not the cause because it still happened after I unchecked thumbnails.

I currently have 2 trace log files from;
5.0.0-Java7: https://mega.co.nz/#!XosGBKQa!6IMbDv9id ... NyvsvEcmn8
5.0.0-Java8: https://mega.co.nz/#!Sl9FnRJT!v_M9huIbK ... 8l95KZz4oI

I am working currently on previous version (4.4.0-Java8) trace log file, just need to watch couple episodes first :geek:
Last edited by Nake on Mon Mar 16, 2015 6:15 am, edited 1 time in total.
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Re: Constant 25% CPU usage even video not being played

Post by Nake »

Trace debug from UMS 4.4.0-Java8: https://mega.co.nz/#!mg8FTKrS!V4BpNUr1w ... S7QOr0bDfM

With 4.4.0 that CPU usage don't happen.
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: Constant 25% CPU usage even video not being played

Post by SubJunk »

Hi Nake, we have reduced the CPU usage in the upcoming version. It shouldn't happen when the program is minimized though.
jj123
Posts: 38
Joined: Tue Jul 29, 2014 10:33 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by jj123 »

@SubJunk Thanks this is great news, I had raised this in the issue tracker, but it got closed as a "Feature", so I'm really glad the "Feature" got fixed :-)
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by Nake »

I still have this problem with 5.0.1-Java8 version.

This problem occurs when no files are playing anywhere. For no reason (that I can find), UMS is using 25% CPU after I've stopped watching videos. I didn't remember to snap trace log file, but all necessary information should be on log files at first post. And I already downgraded to 4.4.0-Java8 where I don't have that problem, but if really needed I can install 5.0.1-Java8 again and get logs.
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: [Solved] Constant 25% CPU usage even video not being played

Post by SubJunk »

Hi Nake, does it stop if you minimize UMS? If not, then logs from 5.0.1 would be good
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by Nake »

It is minimized (at the tray) 99% of the time. I'll grab those logs and send them here as soon as I have them.

EDIT: Here is the log: https://mega.co.nz/#!vwM3hRrA!IQQGncGhB ... qqbGgQ7_0I
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by Nake »

Bump, there is log file at above msg and here too: https://mega.co.nz/#!vwM3hRrA!IQQGncGhB ... qqbGgQ7_0I
recognosco
Posts: 2
Joined: Mon Mar 16, 2015 4:30 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by recognosco »

See this 25% CPU usage issue as well. Got the latest 5.0.1 build that is available. The issue says [Solved] how do i fix it?
Nake
Posts: 14
Joined: Sun Dec 14, 2014 3:38 am

Re: [Solved] Constant 25% CPU usage even video not being played

Post by Nake »

recognosco wrote:See this 25% CPU usage issue as well. Got the latest 5.0.1 build that is available. The issue says [Solved] how do i fix it?
I think SubJunk misunderstood the problem first time as he said it is going to be fixed in 5.0.1 but it wasn't. And after posting logs I haven't heard anything new about the problem. I am currently using 4.4.0 since it doesn't have that problem.
Post Reply