MM5 [2832] High CPU Usage

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MM5 [2832] High CPU Usage

Re: MM5 [2832] High CPU Usage

by PoorBoy2001 » Fri Mar 22, 2024 10:03 am

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

Garrett

Re: MM5 [2832] High CPU Usage

by Ludek » Thu Mar 21, 2024 2:34 pm

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...

Re: MM5 [2832] High CPU Usage

by kowcop » Wed Mar 20, 2024 12:41 pm

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

Re: MM5 [2832] High CPU Usage

by kowcop » Tue Mar 19, 2024 9:41 pm

wow, that is great.. I am looking forward to having this one solved

Re: MM5 [2832] High CPU Usage

by Ludek » Tue Mar 19, 2024 5:00 pm

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

Re: MM5 [2832] High CPU Usage

by kowcop » Mon Mar 18, 2024 5:36 pm

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

Re: MM5 [2832] High CPU Usage

by Peke » Mon Mar 18, 2024 1:43 pm

Hi,
Try Disabling server in Media Sharing and see if it changes anything.

Re: MM5 [2832] High CPU Usage

by kowcop » Mon Mar 18, 2024 1:30 pm

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

Re: MM5 [2832] High CPU Usage

by PoorBoy2001 » Sat Feb 10, 2024 12:23 pm

Still running hot this morning (19-26% CPU). New debug log uploaded.

Re: MM5 [2832] High CPU Usage

by PoorBoy2001 » Fri Feb 09, 2024 6:34 pm

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

Re: MM5 [2832] High CPU Usage

by Ludek » Fri Feb 09, 2024 11:21 am

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..

Re: MM5 [2832] High CPU Usage

by Barry4679 » Fri Feb 09, 2024 12:06 am

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.

Re: MM5 [2832] High CPU Usage

by PoorBoy2001 » Thu Feb 08, 2024 4:28 pm

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

Garrett

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

by Peke » Wed Feb 07, 2024 6:28 pm

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.

Re: MM5 [2832] High CPU Usage

by PoorBoy2001 » Wed Feb 07, 2024 11:57 am

Peke wrote: Tue Feb 06, 2024 7:02 pm Hi,
This looks like Resource leak.
How often it happens? As if you can fetch full debug log it could help us find it.
It happens every time MM is running on my machine.

By full debug log, do you mean from startup of MM until the issue occurs (and then a few minutes after?).

Top