mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/WebDAV/Wait/TV Repeat 349262 times: #5327
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @J666Z on GitHub (Dec 20, 2023).
Please describe your bug
扫描媒体库会不停重启,必须卸载挂载内容才正常,摸索关闭文件实时监控,感觉媒体库数量多数量大不适合开起这个,如果有机会修复会更好,docker安装的armhf 10.8版本,
Jellyfin Version
10.8.z
if other:
No response
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
X[07:22:36] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
{[07:22:37] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:01.105393
<[07:22:37] [INF] [1] Main: Startup complete 0:00:23.6980845
Stack overflow.
n[07:22:37] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/WebDAV/Wait/TV
Repeat 349262 times:
!--------------------------------
m at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.Write(System.Text.StringBuilder, Boolean)
!--------------------------------
c at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.GetPath(Boolean, System.String)
m at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
m at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
� at System.IO.FileSystemWatcher+RunningInstance..ctor(System.IO.FileSystemWatcher, Microsoft.Win32.SafeHandles.SafeFileHandle, System.String, Boolean, System.IO.NotifyFilters, System.Threading.CancellationToken)
7 at System.IO.FileSystemWatcher.StartRaisingEvents()
D at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
C at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean)
d at Emby.Server.Implementations.IO.LibraryMonitor+<>c__DisplayClass19_0.b__0()
0 at System.Threading.Tasks.Task.InnerInvoke()
F at System.Threading.Tasks.Task+<>c.<.cctor>b__272_0(System.Object)
� at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
u at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
N at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
6 at System.Threading.ThreadPoolWorkQueue.Dispatch()
K at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
. at System.Threading.Thread.StartCallback()
5[07:22:42] [INF] [1] Main: Jellyfin version: 10.8.13
Q[07:22:43] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /cache]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]"]
A[07:22:43] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
3[07:22:43] [INF] [1] Main: Operating system: Linux
-[07:22:43] [INF] [1] Main: Architecture: Arm
1[07:22:43] [INF] [1] Main: 64-Bit Process: False
2[07:22:43] [INF] [1] Main: User Interactive: True
.[07:22:43] [INF] [1] Main: Processor count: 4
6[07:22:43] [INF] [1] Main: Program data path: /config
F[07:22:43] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
=[07:22:43] [INF] [1] Main: Application directory: /jellyfin/
n[07:22:43] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
U[07:22:44] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
�[07:22:44] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.KodiSyncQueue, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Kodi Sync Queue_9.0.0.0/Jellyfin.Plugin.KodiSyncQueue.dll
�[07:22:44] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly LiteDB, Version=5.0.12.0, Culture=neutral, PublicKeyToken=4ee40123013c9f27 from /config/plugins/Kodi Sync Queue_9.0.0.0/LiteDB.dll
�[07:22:44] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.MetaShark, Version=1.7.5.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MetaShark_1.7.5.0/Jellyfin.Plugin.MetaShark.dll
�[07:22:45] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
][07:22:45] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
�[07:22:45] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
Z[07:22:45] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[[07:22:45] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
e[07:22:58] [INF] [1] Jellyfin.Plugin.KodiSyncQueue.KodiSyncQueuePlugin: KodiSyncQueue is starting...
Z[07:22:58] [INF] [1] Jellyfin.Plugin.KodiSyncQueue.Data.DbRepo: Creating DB Repository...
o[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Kodi Sync Queue 9.0.0.0
i[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MetaShark 1.7.5.0
f[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.13.0
o[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.13.0
f[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.13.0
m[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.13.0
i[07:22:58] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.13.0
@[07:22:59] [INF] [1] Main: Kestrel listening on Any IP4 Address
X[07:23:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
j[07:23:00] [INF] [1] Jellyfin.Plugin.KodiSyncQueue.ScheduledTasks.RetentionTask: Retention task scheduled
�[07:23:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Remove Old Sync Data set to fire at 2023-12-21 00:01:00.000 +00:00, which is 16:37:59.0788122 from now.
�[07:23:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for 提取章节图片 set to fire at 2023-12-21 02:00:00.000 +00:00, which is 18:36:59.0062472 from now.
a[07:23:01] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.4
�[07:23:01] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "h264", "hevc", "mpeg2video", "mpeg4", "msmpeg4", "vp8", "libvpx", "vp9", "libvpx-vp9", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[07:23:01] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_v4l2m2m", "libx265", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
�[07:23:01] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["hwupload_vaapi", "zscale", "alphasrc"]
�[07:23:02] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: scale_cuda with option Output format (default "same") is not available
�[07:23:02] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_cuda with option GPU accelerated HDR to SDR tonemapping is not available
�[07:23:02] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_opencl with option bt2390 is not available
�[07:23:02] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: overlay_opencl with option Action to take when encountering EOF from secondary input is not available
�[07:23:02] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: overlay_vaapi with option Action to take when encountering EOF from secondary input is not available
g[07:23:02] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["drm"]
n[07:23:03] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
m[07:23:03] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: f99d02c6b54d4761b416e6f11b66b81c
z[07:23:04] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: 更新插件
l[07:23:04] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
d[07:23:04] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing 更新插件
{[07:23:04] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.5055414
X[07:23:04] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
|[07:23:05] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:01.1135541
<[07:23:05] [INF] [1] Main: Startup complete 0:00:23.1220324
Stack overflow.
Repeat 349262 times:
!--------------------------------
m at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.Write(System.Text.StringBuilder, Boolean)
!--------------------------------
c at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.GetPath(Boolean, System.String)
m at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
m at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
� at System.IO.FileSystemWatcher+RunningInstance..ctor(System.IO.FileSystemWatcher, Microsoft.Win32.SafeHandles.SafeFileHandle, System.String, Boolean, System.IO.NotifyFilters, System.Threading.CancellationToken)
7 at System.IO.FileSystemWatcher.StartRaisingEvents()
D at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
C at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean)
d at Emby.Server.Implementations.IO.LibraryMonitor+<>c__DisplayClass19_0.b__0()
0 at System.Threading.Tasks.Task.InnerInvoke()
F at System.Threading.Tasks.Task+<>c.<.cctor>b__272_0(System.Object)
� at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
u at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
N at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
6 at System.Threading.ThreadPoolWorkQueue.Dispatch()
K at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
. at System.Threading.Thread.StartCallback()
Code of Conduct
@felix920506 commented on GitHub (Dec 21, 2023):
Translation of original issue:
Scanning media library will cause it to repeatedly restart, needs to unmount media for it to work, trying to disable file watching. Feels like using this with too many libraries / too much media is unsuitable, I hope this gets fixed. Docker installed armhf 10.8 version.
@jellyfin-bot commented on GitHub (Apr 19, 2024):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (May 10, 2024):
This issue was closed due to inactivity.