Jump to content

More power to update metadata and scan the library?


Recommended Posts

Guest InvidiaHD
Posted

Is it possible to get more performance for updating metadata? Only one thread works. I have ±1500 videos, it takes several days..
or there might be an extra parameter in Docker?

I use Unraid and "Emby Server" Docker container.

Unraid-CPU.jpg

Neminem
Posted

Have you pinned the cpu cores to you emby docker ?
And there by not allowing emby to use the cores.

image.png.cc7cf9e78d8088c1a0fd71c894026f51.png

Guest InvidiaHD
Posted

no, I didn't pin a CPU.. ^^

no_cpu_pin.jpg

Neminem
Posted

Ok its not that then :)

Posted
28 minutes ago, InvidiaHD said:

that was going on with me all day today..

embyserver-63817950958.txt 16.67 MB · 0 downloads

Well for starters, it looks like you enabled nfo metadata saving, as well as saving thumbnail previews to media folders, but you did not ensure that the server has write access to do this:

2023-04-24 07:52:49.975 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 6.1.20-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Fri Mar 17 09:28:52 PDT 2023
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 20
	Data path: /config
	Application path: /system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/mnt/media/Serien/Star Trek Picard/Star Trek Picard S03E08 - Unterwerfung.nfo' is denied.
	 ---> System.IO.IOException: Permission denied

So having it constantly try to do this and get denied is probably not helping scan performance. So I would either fix that or turn these options off.

Posted

The next thing is, the thumbnail preview option is very explicit in it's help text saying it will cause scans to take significantly longer.

You probably want to configure the previews to only be generated during the background scheduled task.

Guest InvidiaHD
Posted (edited)

Turning off all options actually helped, it also says in the description that it will take longer with these options.. 😅

Why does it take so long? Can't the process be expedited? As I said, my processor is sleeping and only one thread is really working.
The data is on a Raid-5 with 4 Samsung EVOs and I have 10Gbit symmetrically. I don't think it can be because of that..
are there too many wait's between meta-pulls? No, I'm just thinking.. I really think it could be because it only runs on one thread!

 

Edited by InvidiaHD
Posted
26 minutes ago, InvidiaHD said:

Turning off all options actually helped, it also says in the description that it will take longer with these options.. 😅

Why does it take so long? Can't the process be expedited? As I said, my processor is sleeping and only one thread is really working.
The data is on a Raid-5 with 4 Samsung EVOs and I have 10Gbit symmetrically. I don't think it can be because of that..
are there too many wait's between meta-pulls? No, I'm just thinking.. I really think it could be because it only runs on one thread!

 

The thumbnail process requires decoding entire video files, so you can imagine why that might take longer.

Guest
This topic is now closed to further replies.
×
×
  • Create New...