Task manager shows constant 30% CPU usage

Server Version#: Version 1.40.4.8679

I’ve recently noticed my Plex server using 30% of the CPU constantly.

I run a server on Intel NUC - 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz 2.80 GHz, 32gb RAM.
Nothing is running in the background (no maintenance or anything).

I noticed that if I end the task in task manager, and restart it, it won’t burn through the CPU until I play 1 video or add a file. After that, it is stuck in a loop buring approx 30% CPU.
Oh and I have to shut it down in the task manager if i just quit it from the taskbar it doesn’t actually shut down.

I don’t know how long has this been going on but I noticed recently because the fan in NUC is always on (which it wasn’t before) no, it is not dirty or anything and the room is airconditioned so external heat shouldn’t be the issue either.

I was looking through threads and only found old (3+ years) issues that seem irrelevant.

Did you move the location of your Plex data folder away from the default? If you did, is it perhaps on the same drive as some of your media files?

Do you use 3rd-party anti virus software, or other tools for encrypting storage drives, VPN software, or other tools?

What about software for cloud synchronization, or masquerading cloud storage as local drives?

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. fetch log files and attach them here

Plex Media Server Logs_2024-07-25_11-54-43.zip (1.6 MB)

No changes were made to the Plex data folder (last 6 months or so) other than adding new content.

No VPN, no encryption no third-party tools as this server is mostly a clean Windows install for PLEX.

No cloud of any kind.

Thanks!

Any *arr apps?

Are you downloading directly into the media folders to which your Plex libraries have been directed?
If you do, are periodic and/or automatic library updates in Plex activated?
If they are, try disabling them for now.

What are *arr apps? I’m guessing I’m not using them. I use tautulli for tracking server status & usage

I have different folders for different media:

Anime goes to G:/Anime and then its subsequent folder if its a pack for example. Plex is directed to scan G:/Anime.

I have periodic & automatic scans enabled.

I will disable all of those for now (but these have been set the same for past 6months+ without issues)

Which can mean that each additional downloaded byte will trigger another scan by the server.
I recommend that you use a different folder, which is located completely outside the folders of your Plex library, for downloading, unpacking, and renaming to meet Plex requirements.
Only after all steps have been performed to prepare your media files, you should move them to the Plex media folders.
Doing so will also tremendously help to avoid mismatches in Plex.

But why would this start happening in the last 2 weeks and not before?

It makes no sense, I’ve been downloading the same way all the time without any issues. And why would after the download is complete there be additional “bytes” that doesn’t make sense.

Also a “scan” shows up on the dashboard, which in my case doesn’t happen

I am talking about the time, during which the download is performed. Particularly when using Torrent a client, downloads can consist of several streams which fill up many files (or different parts of files).

I cannot tell.
Start by trying the steps and practises I outlined above, to see if they have any effect.

It can’t hurt to check if you have an issue with your server database: https://support.plex.tv/articles/repair-a-corrupted-database/

Oh, and avoid starting Plex server while the Torent software is already running. Always start Plex server first.

There have been no files added recently, yet Plex was eating away 30% of CPU idling (or at least according to the plex dashboard that is)

I will track for a couple of days to see what happens and will check for database corruption.

Thank you!

The Task Manager doesn’t show all the details that can be useful in figuring out what is going on. I would try Process Explorer.

This is weird as hell.

Task manager shows 3x higher usage then process explorer.

I would says Task manager is correct because the CPU temps are higher forcing the vent to do more work.

That’s interesting, all right.

I had kind of expected to see something like a stuck transcoder process, and in a case like that Process Explorer will show you the command line arguments which can help you spot bad files.

Well, I am out of bright ideas, sorry!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.