When viewing my file access logs on my Synology NAS, I see that Plex is accessing the same file at 2am each morning. Scheduled task are set to run at 2am but I am not sure why this one particular file keeps getting read by Plex. I tried removing the file, refreshing my library, then adding the file back, refresh the library. The next day, I see the file in the Synology log. Any ideas what could be happening?
Could be the file itself having some issue that’s causing a hiccup when the server maintenance try to analyze it or do one of its jobs.
I’ve seen examples of that where Plex was able to finish the job after remuxing the file (e.g. if there’s been some quirk in the media container)
It plays fine. Is there anything I can do to stop Plex from scanning that file each night?
The video itself might be playing ok but still have some corrupted/incorrect parts of the container that impact Plex processing the files during maintenance.
Replace the file or try remuxing it with a tool like ffmpeg. There is no way inside Plex to tell Plex to stop worrying about the file.
Pull the server log files. Look in Plex Media Server.log (and .1.log to .5.log).
Do you see error messages like this?
Nov 15, 2023 05:00:24.525 [0x7f5e0bd53b38] ERROR - BaseIndexFrameFileManager: expected 2624 images, but found 853
I do not see any error messages like that in the “Plex Media Server.log”.
I did check another log named ‘Plex Media Scanner Analysis.log’. I see the file name of the file that keeps getting read.
The line below, there are about 30 of them with different pos. #s
DEBUG - [FFMPEG] - Unknown entry 0x437D at pos. 6883
I see a WARN
WARN - [FFMPEG] - Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the ‘analyzeduration’ (20000000) and ‘probesize’ (20000000) options
Whatever Plex is doing, its reading this same file multiple times, performing whatever operations during the Scheduled Task time.
Nov 16, 2023 02:06:10.285 [12568] DEBUG - [MI] Opening input file:
Nov 16, 2023 02:06:10.528 [12568] DEBUG - [MI] Closing input file:
Nov 16, 2023 02:06:10.534 [12568] DEBUG - [MI] Opening input file:
Nov 16, 2023 02:06:10.703 [12568] DEBUG - [MI] Closing input file:
Nov 16, 2023 02:06:10.705 [12568] DEBUG - [MI] Opening input file:
Nov 16, 2023 02:06:10.860 [12568] DEBUG - [MI] Closing input file:
Are they any cache files or database cleanup that I can manually?
Not sure about those messages.
The BaseIndexFrameFileManager message has to do with Plex generating video thumbnails.
I’ve some movies (BD rips) that, for whatever reason, Plex cannot generate thumbnails for them. The process fails and Plex repeats the process every night during scheduled maintenance. Re-ripping and/or remuxing does not help.
The movies still play OK, so no harm other than wasting some CPU cycles.
Thought you might be experiencing the same problem.
I had the same problem with one particular video file. The problem file always seems to be searching for credits. I just Unmatched it and entered the information manually and that seems to have made Plex happy.
I tried this, clicked Unmatch then manually named the file and added a poster. The file showed up in my logs at 2am this morning, so Plex is still trying to do something with that file.
Under ‘Library’, I even have all of the following set to ‘Never’.
Generate video preview thumbnails
Generate intro video markers
Generate credits video markers
Generate chapter thumbnails
Analyze audio tracks for loudness
Analyze audio tracks for sonic features
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.