Results 1 to 10 of 10

Thread: Constant CPU Usage Mezzmo 5.2.0.0 Win Server 2019 1809

  1. #1
    Join Date
    Mar 2013
    Posts
    43

    Default Constant CPU Usage Mezzmo 5.2.0.0 Win Server 2019 1809

    Hello,

    I'm running Mezzmo 5.2.0.0 as a service in a Windows Server 2019 (1809) VM. Everything is operating fine, I can stream media, maintain library, etc. However, after the media server service has been operating for 12-24 hours, the MezzmoMediaServer.exe starts consuming a constant 12%-13% of CPU resources on an 8 core CPU. Windows Resource Monitor is not showing any storage access while this is occurring. Resource Monitor is showing minimal network traffic, just a few kbps on the multicast address and brief connections from client devices. The Mezzmo UI is not showing any streaming or maintenance activity, nor any system or user tasks in the status window.

    If I restart the Mezzmo Server service the problem goes away for 12-24 hours but then returns. Is there anything I should check to troubleshoot & resolve this issue? I've turned on diagnostic logging but it will likely take a day for the CPU usage to return.

    Thanks!
    Last edited by dafunk60; 08-16-2019 at 01:56 PM.

  2. #2
    Join Date
    Sep 2009
    Posts
    2,677

    Default

    Hi,
    when Mezzmo.exe is running the folder processing tasks are handled in Mezzmo.exe. If Mezzmo.exe is not running then this is done by MezzmoMediaServer.exe so you can check to see if the CPU usage goes down when Mezzmo.exe is running. You can also try going to the properties of any folders in the library and turn off the folder refresh interval to see if this is causing the problem.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Mar 2013
    Posts
    43

    Default

    Hi Peter, Thank you for the prompt reply & suggestions. I've been troubleshooting this and I suspect this issue is caused by one of the following windows updates as the issue didn't began after they were installed.

    https://support.microsoft.com/en-us/...-net-framework
    https://support.microsoft.com/en-us/...date-kb4507469
    https://support.microsoft.com/en-us/...date-kb4509095

    Some details of the environment.
    I run Mezzmo in a Hyper-V VM, both the host & guest OS is Windows Server 2019 1809. Aside from a Zabbix monitoring agent Mezzmo is the only software installed on the PC not included with the OS. The VM is joined to my Windows Domain & I typically run the Mezzmo service using a domain account with which is an admin on the local PC. Running Mezzmo with the local service account, the default for Mezzmo, does not change the behavior. All of the media in the Mezzmo library are on network shares presented via DFS.

    Testing & Observations
    1. Since install on this VM I hadn't had any issues until 7/10 when I installed the windows updates listed above.
    2. Per your suggestion, I checked the folder refresh setting for each of the 3 folders added to the library. The option is not selected for any folder.
    3. Also per your suggestion, I launched the Mezzmo GUI (Mezzmo.exe) while observing the constant CPU usage by the Mezzmo service. The service CPU usage did not decline.
    4. Restarting the Mezzmo service returns the CPU usage to normal for varying periods of time.
    5. I reviewed the Windows Firewall rules created at install and all appear to be correct. Inbound rules are UDP 1900, TCP 2869, & TCP 53168 (Media Server Port).
    6. I reviewed some of the other troubleshooting steps at http://forum.conceiva.com/showthread...ur-DLNA-device and when checking the settings of my router I found IGMP Snooping was on. While prior to 7/10 CPU usage was low with IGMP Snooping on, I have disabled IGMP Snooping. This did cause the CPU usage to increase at a slower rate than before. Unfortunately CPU usage continues to climb until the Mezzmo service is restarted.


    The following image shows the CPU usage when things were working well, prior to 7/10 when Windows updates were installed.
    Pre-Issue-CPU-Usage.jpg

    The next image shows the CPU usage before and after the Windows updates were installed. After 7/10 the CPU usage gradually increases.
    Start-of-Issue-CPU-Usage.jpg

    This final image shows the CPU usage increasing at various rates until the service is restarted. The right side of the image on 7/30 shows the behavior once IGMP Snooping was disabled in my router. While the rate if increase is slower CPU usage continues to rise until the service is restarted.
    Troubleshooting-CPU-Ramp-Up.jpg

    I have collected a set of logs prior to disabling IGMP Snooping and can capture additional logs if necessary. They are too large to email but I am happy to get them to you in whatever manner you prefer. Media streaming and library maintenance functions as expected but I would like to get the CPU usage back to normal.

    Thanks!

  4. #4
    Join Date
    Sep 2009
    Posts
    2,677

    Default

    Can you please upload the logs to wetransfer or another of the file sharing sites and send us a download link to support [at] conceiva [dot] com?

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  5. #5
    Join Date
    Mar 2013
    Posts
    43

    Default

    Of course, a link to the logs has been sent to the email provided. Thanks!

  6. #6
    Join Date
    Mar 2013
    Posts
    43

    Default

    If any other user comes across this thread, my original thought that this change was triggered by something in a Windows update was incorrect. Mezzmo support staff took a look at my logs & identified a device on my network constantly querying the Mezzmo server which in turn increased the CPU usage. Disabling the troublesome device has resolved the issue.

    Thank you to Peter & the folks at Mezzmo for always being so helpful!

  7. #7
    Join Date
    Mar 2013
    Posts
    43

    Default

    Hey Peter,

    I think I considered this solved too soon. I haven't reattached the problematic client to the network and I'm still seeing ever increasing CPU usage as originally described. While the increase now occurs at a slower rate than it did with the problem client connected, it still occurs.

    CPU-Usage.jpg

    The period of high CPU usage in the middle of the graph is when I was running a library maintenance and is to be expected from ffmpeg.exe. Aside from that, the CPU usage is almost exclusively the MezzmoMediaServer.exe, The drops in CPU usage correspond to a restarting of the Mezzmo service. I've checked the Windows Resource Monitor periodically and the CPU usage displayed in the graph corresponds to the Mezzmo service usage in the Windows Resource Monitor. Let me know if there's any additional info I can provide which would be of help.

    Thanks!

  8. #8
    Join Date
    Sep 2009
    Posts
    2,677

    Default

    If you can send us new logs we can investigate to see if there are any other log lines that appear too often.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  9. #9
    Join Date
    Mar 2013
    Posts
    43

    Default

    Thanks Peter, I'll collect some new logs & send them your way.

    I still suspect this is due to some changes caused by the July windows updates. I uninstalled the .Net update & the other windows updates that were "removable", but the problem persisted. This leads me to think it was a change in KB4507469. This image, 90 Day CPU Usage.png, shows CPU usage of the VM for the last 90 days. There is a long period of time where the CPU usage was stable (prior to 7/10) with the same version of Mezzmo & all the same devices on my network.

  10. #10
    Join Date
    Mar 2013
    Posts
    43

    Default

    Hi Peter,

    New logs sent via email. I did some additional testing before capturing these logs, changing the Mezzmo firewall rules to block instead of accept. During this period I still saw constantly increasing CPU usage from MezzmoMediaServer.exe, approximately 2% per day. Not sure if that helps narrow anything down. The new logs were captured after restoring the firewall rules to accept. If the new logs don't reveal anything I can always create a scheduled task to reset the service every day.

    Thanks,

Similar Threads

  1. Mezzmo for Samsung 2019 Q90 TVs?
    By JCDinPGH in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 04-17-2019, 07:43 AM
  2. Constant media server disconnects with samsung tv after 3.3.1.0 update.
    By apathyps in forum Mezzmo Questions and Support
    Replies: 10
    Last Post: 09-05-2013, 03:41 PM
  3. High CPU usage - Mezzmo - System Task
    By lukasha in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 03-06-2013, 09:58 AM
  4. High CPU usage from Mezzmo.EXE
    By VinceA in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 03-05-2013, 09:10 AM
  5. Mezzmo.exe 50% cpu usage?
    By JJL in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 12-12-2011, 05:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •