Jump to content

Second full scan taking too long.


Recommended Posts

Posted

Guys, how does Emby work with metadata after a complete scan?
My question is whether the emby takes a long time to scan even with all the files already scanned.
I use linux, with rclone as assembly and using flags
--vfs-cache-mode full
dir-cache-time 1000h
--vfs-cache-max-age 360h

What I have noticed is that Emby does a very long scan of the disk compared to Plex even with the full vfsMeta.

How long does Emby maintain the database with media information and folder path?

embyserver.txt

Posted

Hi, are you sure this is the log from the second scan? The activity here looks more like a first scan.

Posted

Hi, Yes, I do, even today I started to receive some errors related to inotify. I increased the limit from 8192 to 1048567 and restarted the service. My library is relatively large and I have everything scheduled for real-time monitoring, there are 9 libraries and until yesterday it was working perfectly when the sonar or radarr imported a file. Today I already see a considerable delay in the scan full.

Happy2Play
Posted

Yes your Filmes library is seeing inotify limits, but your TV library still appears to be processed as the Anime library is being refreshed probing episodes according to log above.

2021-01-02 14:27:45.661 Error LibraryMonitor: Error in Directory watcher for: /mnt/unionfs/HoltzFlix/Filmes
	*** Error Report ***
	Version: 4.5.4.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 4.15.0-128-generic (buildd@lcy01-amd64-025) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 202
	Framework: .NET Core 3.1.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /config
	Application path: /system
	System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
	Source: 
	TargetSite: 
	No Stack Trace Available

 

Posted

With the increase I made in inotify will the problem be solved? Anyway, I disabled real-time monitoring in libraries that I don't upload content frequently and left only in Movies, Anime and TV Series

Happy2Play
Posted

It should, but scan times will be long until all media is processed.

 

Now if media is being reprocessed that would suggest something is changing the media and inotify is seeing that change.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...