Deep analysis is disabled but Plex still doing on schedule task time

Server Version#: 1.24.4.5081
Server Logs: Plex Media Server Logs_2021-10-27_08-41-25.zip (2.1 MB)

Hi,
I’ve noticed that every day at scheduled task time Plex maybe deep analysis JUST SPECIFIC 2 files. I’ve noticed that for a few days. But I’ve disabled all kinds of analysis except intro detection on Plex. Then why it’s doing this? It’s causing high CPU & ram usages that time. How to fix this problem?
Note: I’ve manually analyzed those 2 files through Plex web just for checking & it was completed successfully too.
I’ve collected the below processes through my monitor script.

plex       47824   20714 90 03:27 ?        00:02:37 /usr/lib/plexmediaserver/Plex Transcoder -codec:1 aac -analyzeduration 20000000 -probesize 20000000 -i /home/plex/SamFTP/WebSeries/SZ/Tales of the City (TV Series 2019– ) 720p [Dual Audio]/Season 01/Tales of the City S01 E06-E10  720p NF WEBRip x264 MSubs [Dual Audio][Hindi 5.1+English 5.1] - mkvC.mkv -filter_complex [0:1] aresample=async=1:ocl='5.1':rematrix_maxval=0.000000dB:osr=44100[0] -map [0] -metadata:s:0 language=hin -codec:0 flac -b:0 4096k -f flac -map_metadata -1 -map_chapters -1 -t 8147.8005000000003 /home/plex/cache/Transcode/Detection/d8ac84d6-41fb-4037-92b0-9ceb3e0779bc -map 0:3 -f null -codec ass nullfile -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/dd3a0ebe-8439-4ad7-a72c-547d06b1a242/16e4a82b-f148-48e3-b864-ed3f38b1fcb4/progress
plex       51108   50324 90 04:58 ?        00:01:22 /usr/lib/plexmediaserver/Plex Transcoder -codec:1 aac -analyzeduration 20000000 -probesize 20000000 -i /home/plex/SamFTP/WebSeries/SZ/Tales of the City (TV Series 2019– ) 720p [Dual Audio]/Season 01/Tales of the City S01 E01-E05  720p NF WEBRip x264 MSubs [Dual Audio][Hindi 5.1+English 5.1] - mkvC.mkv -filter_complex [0:1] aresample=async=1:ocl='5.1':rematrix_maxval=0.000000dB:osr=44100[0] -map [0] -metadata:s:0 language=hin -codec:0 flac -b:0 4096k -f flac -map_metadata -1 -map_chapters -1 -t 8464.9850000000006 /home/plex/cache/Transcode/Detection/6d049e89-e8d1-477b-9613-ecae249b69b5 -map 0:3 -f null -codec ass nullfile -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/26d11cb0-ca3b-486e-9a1a-715a21e982b1/df2bcf86-7de7-48d0-80ff-1e13836b3308/progress
plex       55517   54508 94 06:59 ?        00:00:29 /usr/lib/plexmediaserver/Plex Media Fingerprinter -raw -length 8464.9850000000006 /home/plex/cache/Transcode/Detection/52ec65a7-0fd9-4f45-bc2d-93124e98b8e1
plex       59334   58557 94 08:29 ?        00:00:35 /usr/lib/plexmediaserver/Plex Media Fingerprinter -raw -length 8464.9850000000006 /home/plex/cache/Transcode/Detection/542a8f3d-14b0-401e-817f-0cff13b22e76
plex       60189   58557 90 08:57 ?        00:02:41 /usr/lib/plexmediaserver/Plex Transcoder -codec:1 aac -analyzeduration 20000000 -probesize 20000000 -i /home/plex/SamFTP/WebSeries/SZ/Tales of the City (TV Series 2019– ) 720p [Dual Audio]/Season 01/Tales of the City S01 E06-E10  720p NF WEBRip x264 MSubs [Dual Audio][Hindi 5.1+English 5.1] - mkvC.mkv -filter_complex [0:1] aresample=async=1:ocl='5.1':rematrix_maxval=0.000000dB:osr=44100[0] -map [0] -metadata:s:0 language=hin -codec:0 flac -b:0 4096k -f flac -map_metadata -1 -map_chapters -1 -t 8147.8005000000003 /home/plex/cache/Transcode/Detection/f0a476aa-e3e3-412e-a492-1cb3fd88ad1c -map 0:3 -f null -codec ass nullfile -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/ec317d89-9eb8-4bd1-9992-301d7aac312a/fdd60805-b450-45e6-9180-884d1ccfb3e7/progress

That specific video file details: Tales of the City .txt (6.9 KB)

Below is my settings page screenshots:





You can’t disable the deep analysis PMS does, this is required for PMS to operate properly. The “analyze” function in Web is a quick analysis, not the same thing. Part of the deep analysis is to check the bitrate of the streams to look for spikes that may cause issues. If this is getting stuck on these 2 specific files, it is likely that there is an issue with the files that this analysis is failing on.

We would need to see the file to check why it’s failing. My guess is that since these are multiple episodes combined into 1, there is an issue on how these parts were joined so the analysis is failing at that point.

What should I do now? It’s causing very High CPU & RAM usages every day at scheduled task time & that time server got unavailable.

Replace those files.

I never could find any detailed information on “Plex Media Fingerprinter” so I’ve just been disabling it with chmod -x after every update. Plex is still working perfectly fine. I don’t use intro detection or thumbnails. I don’t know when that fingerprinter got added but it takes up a bunch of CPU doing it’s thing and I got tired of that spike during maintenance time every night. There is not much information available as to what it’s actually doing or why it’s needed.

Care to give a little more info on how you are blocking “Plex Media Fingerprinter” using chmod -x?

I’m using linuxserver/plex docker image.
I just go into the docker container to do it

docker exec -it plex bash
chmod -x /usr/lib/plexmediaserver/Plex\ Media\ Fingerprinter

Could probably take care of that from custom init folder but I don’t update often enough to bother unless there are issues.

I’d really like to know what it’s actually doing & why but there’s no documentation that I have been able to find.

It generates a digital fingerprint of the audio. It looks for that same fingerprint in subsequent episodes. When a match is found, that’s considered the intro. That does take cpu power to perform this.

Edit - Have you heard about the sonic analysis PMS can do for your music. This is similar but in a much simpler way.

In my attempt to keep space usage reasonable for plex I turned off intro detection, chapter thumbnails, and anything related to media analysis. I disabled the media fingerprinter executable because I didn’t see any benefits from it & I definitely noticed the increased CPU usage during maintenance times. Space usage for plex config volume on docker been stable at 24GB. Much better than my previous install that had crept up to almost 500GB. It sucks losing access to nice features but that was just way too much SSD space being wasted.

I have no plans to add my music collection into plex anytime soon. It’s full of stuff ripped over the years that is not properly tagged. Fixing it all is so very boring so it could be years until I finish with that, lol.

Intro detection should not take up that much space. There was an old bug where the temporary files Intro Detection would create were not getting removed after it was done. This should be fixed now.

Chapter thumbnails are small. If you have 10 chapters, that’s 10 small images that maybe is a few MG total. Unless you have like 20,000 episodes and movies, this would not account for 100’s of GBs.

Media analysis only results in saving a small amount of text into your database. This also should not be significant in space.

When I switched to docker I started with chapter thumbnails, intro detection, and lots of other scheduled items disabled to keep my install small but still kept seeing space usage increasing slowly every night & the only process I could see using up tons of CPU during the scheduled task time window was plex media fingerprinter. I chmod -x’d it and my CPU & space usage has been stable since. I also have no clue why it kept running even though I already had intro detection & extensive media analysis disabled everywhere.

My old plex had been migrated from CentOS 6 up to 8 but I deleted it months ago so no clue where all that space was being wasted. I used to just move the vmdk containing /var/lib/plex between VMs when upgrading due to the size & number of files.

I think the fingerprinter still runs to generate the needed info, it just isn’t live until you enable the intro detection. The space used should be minimal, unless like I said and you had the old buggy version that wasn’t cleaning up after itself. That space issue should be gone now, but the process does still run.

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