MM5 [2832] High CPU Usage

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

Peke
Posts: 17502
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: MM5 [2832] High CPU Usage [#20725]

Post by Peke »

Hi,
Make sure that dbgview is started before MM start and min or two you see High CPU usage. Note the time for easier tracking and you can close MM in order that log is complete.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
PoorBoy2001
Posts: 14
Joined: Sun Nov 03, 2013 4:12 pm

Re: MM5 [2832] High CPU Usage

Post by PoorBoy2001 »

Thanks for the response. I sent in a more complete log yesterday.

Garrett
Barry4679
Posts: 2429
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: MM5 [2832] High CPU Usage

Post by Barry4679 »

PoorBoy2001 wrote: Wed Feb 07, 2024 11:57 am By full debug log, do you mean from startup of MM until the issue occurs (and then a few minutes after?).
Yes, that is what he will be meaning.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Ludek
Posts: 4964
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 [2832] High CPU Usage

Post by Ludek »

Hi, 
analyzing the log from [Ticket # 6805] and the high CPU usage is caused by intensive scanning of MediaMonkey media server by LG TV  (LGE WebOS TV LGE_DLNA_SDK)

You can filter out this LG TV scanning in Options > Media Sharing > MediaMonkey Library > Clients tab
and disable the TV there..
PoorBoy2001
Posts: 14
Joined: Sun Nov 03, 2013 4:12 pm

Re: MM5 [2832] High CPU Usage

Post by PoorBoy2001 »

Just disabling the TV entries didn't seem to work. I removed the Library and re-added it - then denied the TV's share access when requested.

So far so good, but if the issue reoccurs I'll grab a debug log and alert you.

Garrett
PoorBoy2001
Posts: 14
Joined: Sun Nov 03, 2013 4:12 pm

Re: MM5 [2832] High CPU Usage

Post by PoorBoy2001 »

Still running hot this morning (19-26% CPU). New debug log uploaded.
kowcop
Posts: 8
Joined: Tue May 16, 2023 12:45 am

Re: MM5 [2832] High CPU Usage

Post by kowcop »

I get this too.. it just happens at random times and it isn't specific to my machine as I also get it running in a VM. I do notice that when it happens and I open task manager, there are a few MediaMonkey processes running 'Background processes', as when generally when it isn't happening (close and re-open MediaMonkey), there is only one process

This has been happening to me since the start of the 5.1 beta which I wanted for multi-sorting. I think i have installed every version during the beta and it has existed in them all

I should note that to date, I have been running as a portable installation. I have just tried installing the normal way
Peke
Posts: 17502
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: MM5 [2832] High CPU Usage

Post by Peke »

Hi,
Try Disabling server in Media Sharing and see if it changes anything.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
kowcop
Posts: 8
Joined: Tue May 16, 2023 12:45 am

Re: MM5 [2832] High CPU Usage

Post by kowcop »

My 'server' was already disabled, I made this change earlier..

The issue just happened again on the latest beta with a proper install (not portable). I played an album a couple of hours ago and have checked it since while it is just idling, nothing playing. When I just looked (as fan was running high), I noticed it had happened again

https://imgur.com/a/Ef1cEwE
Ludek
Posts: 4964
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 [2832] High CPU Usage

Post by Ludek »

FYI: Thanks to user from ticket # 6805 we were able to find the culprit (mDNS) and fix it as
https://www.ventismedia.com/mantis/view.php?id=20725
kowcop
Posts: 8
Joined: Tue May 16, 2023 12:45 am

Re: MM5 [2832] High CPU Usage

Post by kowcop »

wow, that is great.. I am looking forward to having this one solved
kowcop
Posts: 8
Joined: Tue May 16, 2023 12:45 am

Re: MM5 [2832] High CPU Usage

Post by kowcop »

Is there a chance I can get the 3006 build so I can see if this fixes my issue too? I have been running the debug tool and there have been instances where I have seen the mDNS scans, but I also had one time where there were no nDNS entries, just these (over and over)

[2200] TCoolTrayIcon.NotifySystem: Mode = 2
[2200] TCoolTrayIcon.NotifySystem: Finished
[2200] LastError: Unspecified error

I grabbed an old debug build of 5.0 and this TCoolTrayIcon doesn't exist.

When I see this happening, it starts when nothing is playing, like a song had finished recently or it is just sitting idle. I have also built a Windows 11 VM and can replicate it, so it is not OS specific

I have a few debug logs I can submit and can start a new thread if it isn't the same thing
Ludek
Posts: 4964
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 [2832] High CPU Usage

Post by Ludek »

Hi,
the new build with the fix should be ready soon..

As for the 'TCoolTrayIcon.NotifySystem' messages, I am ssein ghtis too in the DbgView, but it's not culprit for the high CPU,
I'll look why the 'TCoolTrayIcon.NotifySystem' messages are there...
PoorBoy2001
Posts: 14
Joined: Sun Nov 03, 2013 4:12 pm

Re: MM5 [2832] High CPU Usage

Post by PoorBoy2001 »

Just wanted to highlight the great work by Ludek to identify and solve this issue. MediaMonkey support is top notch.

Garrett
Post Reply