CPU spikes while detecting intros/credits

Server Version#: Version 1.31.1.6716

For a while now my server has been pretty chaotic when it comes to detecting intros and credits. Its almost constantly doing it, and creates a CPU rollercoaster (as seen in screenshot).

While I appreciate this feature very much, I wonder if perhaps the state of my PMS is somehow corrupted. Is this a normal pattern? Is there a way to kind of optimize/reset the intro detection for my library? I’ve often noticed it re-processing the same episodes, etc.

2 Likes

After last update im on the same boat, Plex Media Scanner

Yes.

Set the time window for server maintenance to a time of day where you are not using your Plex server much. Set it to perform intro and credits detection not while ingesting new media.
https://support.plex.tv/articles/201553286-scheduled-tasks/

The algorithms for intro/credit detection are sometimes updated in a new server version. All detections done with an earlier version are updated automatically.
Apart from that, make sure that your server’s general /temp folder has plenty of free storage available as it is used during detection. A lack of free space leads to the detection being aborted and retried next time.

@OttoKerner thanks for the reply.

I do have my scheduled tasks setup for an overnight window, however intro/credit detection does not seem to adhere to this window, and runs outside it. Are you 100% certain that intro/credits detection is considered ‘background maintenance’?

My tasks config is vanilla default:

Set it to perform intro and credits detection not while ingesting new media.

That does seem to be what I want, but I don’t see a specific setting for that, can you elaborate?

Thanks.

You can find it under
Settings - ‘Show Advanced’ - Server - Library

Okay, thats helpful. It was indeed set to run upon new media. Let see if that addresses the issue.

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