If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

DS216j very high CPU usage - normal?

NJMorfNJMorf Posts: 57Members, Plex Pass Plex Pass

I've been running my server on a Win 10 media PC, storing the files on my DS216j. For a number of reasons, I've moved the server onto the NAS and I've seen CPU usage constantly between 85-100% ever since the new PMS went live. Is this to be expected?

I'm aware that the NAS is severely underpowered for PMS, but I'd have assumed that it'd be idle much of the time. I wasn't able to transfer the old server's data (thumbnails, viewing history, preferences) to the new machine, so I assume it's spending a lot of time rebuilding all that metadata. Should I expect to see the CPU usage drop once it's finished? For reference, I've got about 200 movies, 1600 TV episodes, 4000 audio tracks and an HDHomerun Connect with about 110 channels' worth of program guide to maintain.

Thanks in advance.

Best Answer

Answers

  • gdiongdion Posts: 76Members, Plex Pass Plex Pass
    edited February 14

    Yes, cpu & ram usage will drop after finishing with the library operations.

  • NJMorfNJMorf Posts: 57Members, Plex Pass Plex Pass

    I hope so. I've finished moving stuff around now and Plex isn't showing any scans or EPG updates in progress (though it is recording one program) and the CPU is still pegged at 99%.

    Currently, PMS's Status view is showing the last alert as "finished processing x" with a timestamp 30 minutes ago, but the resource monitor in DSM is still showing two Plex Media Scanner threads, each running at 35-50% CPU (with occasional dips into the 20s). I'm curious as to why they're not showing up in Plex.

    I guess I'll give it a day or so and check again - surely that's enough time for it to have finished doing whatever it feels it needs to do with the media - and see where the CPU usage goes after that. I've already disable partial scans when changes are detected, limited periodic library updates to daily, thumbnails to scheduled tasks, disabled the update of all libraries during maintenance: I'm assuming that will reduce the amount of work it has to do, though it hasn't seemed to make any difference yet.

  • ChuckPAChuckPA Posts: 22,199Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    You can turn off, as well as delete, those thumbnails in 'Advanced' under Library - Edit - Advanced. You prevent them in that same popup prior to building the library.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • NJMorfNJMorf Posts: 57Members, Plex Pass Plex Pass

    @gdion said:
    ... This will take more than 2 days with your library on DS216j. I would say give it a week to see how DS216j is behaving then. And in the meantime, try to not make any major changes to pms settings or restart/shutdown DS216j.

    This seems about right: it's been a little over two days since I made the transfer and CPU use is much lower. I'm still seeing spikes up to about 50% (one core's worth, I guess) when PMS is busy, but I'm also seeing idle periods as well. I have had to restart PMS once in that time, though, because it wouldn't finish a recording.

    @ChuckPA said:
    You can turn off, as well as delete, those thumbnails in 'Advanced' under Library - Edit - Advanced.

    Yeah, but I like having them, when they actually appear (I'm not seeing them in the Xbox One app right now, though I'm sure I have in the past).

  • ChuckPAChuckPA Posts: 22,199Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    If you're not seeing them on the Xbox then, unfortunately, I can't help you here in the server-side of the forum. I can only suggest you go to the Xbox forum and look/ask there.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • NJMorfNJMorf Posts: 57Members, Plex Pass Plex Pass

    Will do, if I can determine if it's some or all videos.

Sign In or Register to comment.