dv1r 25 Posted January 14, 2021 Share Posted January 14, 2021 In the past few days, my server ( v 4.5.4.0) on xpenology is not recognizing new content that is added to the directories. Only after I manually "scan library files" does the new content show up. This is happening on all library types. Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted January 14, 2021 Share Posted January 14, 2021 Can you post a server log that contains the time when you added new content? You may be maxing out your inotify watches or instances. Link to comment Share on other sites More sharing options...
dv1r 25 Posted January 14, 2021 Author Share Posted January 14, 2021 I am not sure I understand. 1 hour ago, FrostByte said: Can you post a server log that contains the time when you added new content? You want the logs of when I added files to the directory or after I "scan library files" ? 1 hour ago, FrostByte said: You may be maxing out your inotify watches or instances. I didn't change any server settings since the last time it automatically scanned and added my new media. Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted January 14, 2021 Share Posted January 14, 2021 A server log after library scan. Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted January 14, 2021 Share Posted January 14, 2021 43 minutes ago, Happy2Play said: A server log after library scan. I thought the library scanned worked. It's RTM that isn't working Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted January 14, 2021 Share Posted January 14, 2021 1 minute ago, FrostByte said: I thought the library scanned worked. It's RTM that isn't working Sorry yes I miss read that. So this would almost guarantee inotify errors in the log. 1 Link to comment Share on other sites More sharing options...
dv1r 25 Posted January 14, 2021 Author Share Posted January 14, 2021 I found these errors in the log file. 2021-01-14 19:24:36.857 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Execute: /var/packages/EmbyServer/target/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 2021-01-14 19:24:37.883 Error App: Error sending socket message from 0.0.0.0:1900 to 239.255.255.250:1900 *** Error Report *** Version: 4.5.4.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Mon Dec 14 18:48:50 CST 2020 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (13): Permission denied at Rssdp.SsdpCommunicationsServer.SendFromSocket(Tuple`4 socketTuple, Memory`1 messageData, IPEndPoint destination, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void Throw() 2021-01-14 19:24:38.165 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Process exited with code 139 2021-01-14 19:24:38.216 Error VaapiCodecProvider: Error running ffdetect for vaencdec - ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-14 19:24:38.216 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Output: 2021-01-14 19:24:38.216 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Error Output: ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-14 19:24:38.223 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Execute: /var/packages/EmbyServer/target/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 qsvencdec -print_format json 2021-01-14 19:24:38.239 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Process exited with code 139 2021-01-14 19:24:38.289 Error QuickSyncCodecProvider: Error running ffdetect for qsvencdec - ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-14 19:24:38.289 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Output: 2021-01-14 19:24:38.289 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Error Output: ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-14 19:24:38.292 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Execute: /var/packages/EmbyServer/target/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json 2021-01-14 19:24:38.295 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Process exited with code 1 2021-01-14 19:24:42.211 Info LibraryMonitor: Watching directory /volume1/Series 2021-01-14 19:24:54.730 Error LibraryMonitor: Error in Directory watcher for: /volume1/Music *** Error Report *** Version: 4.5.4.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Mon Dec 14 18:48:50 CST 2020 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/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 2021-01-14 19:24:54.731 Info LibraryMonitor: Stopping directory watching for path /volume1/Music 2021-01-14 19:24:54.735 Info LibraryMonitor: Watching directory /volume1/Music 2021-01-14 19:24:54.757 Error LibraryMonitor: Error in Directory watcher for: /volume1/Images *** Error Report *** Version: 4.5.4.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Mon Dec 14 18:48:50 CST 2020 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/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 If you want more of the file I can sent it. Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted January 14, 2021 Share Posted January 14, 2021 RTM can not function as the current set limits have be reached. There are several topics on this. The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. Required workaround Real time monitoring seems broken - Page 9 - Emby Server - Emby Community 1 Link to comment Share on other sites More sharing options...
dv1r 25 Posted January 15, 2021 Author Share Posted January 15, 2021 (edited) Hi, I looked at the area of the post you pointed to. I ran this command manually ~$ sudo sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&' ~$ cat /proc/sys/fs/inotify/max_user_watches 204800 I then restarted the emby server and the "User limit" error was gone. After doing this, content started appearing automaticity. I still see these are the errors in the log file: 2021-01-15 18:12:38.996 Error VaapiCodecProvider: Error running ffdetect for vaencdec - ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-15 18:12:38.996 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Output: 2021-01-15 18:12:38.996 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Error Output: ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-15 18:12:38.999 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Execute: /var/packages/EmbyServer/target/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 qsvencdec -print_format json 2021-01-15 18:12:39.043 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Process exited with code 139 2021-01-15 18:12:39.093 Error QuickSyncCodecProvider: Error running ffdetect for qsvencdec - ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-15 18:12:39.093 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Output: 2021-01-15 18:12:39.093 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Error Output: ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static libavutil 56. 36.100 / 56. 36.100 Begin GetVaAdapterInfo Found 33 device entries GetDeviceName: unable to open pci.ids file GetDeviceName unable to load pci.ids file Begin get_nodes Found -1 drm entries End GetVaAdapterInfo 2021-01-15 18:12:39.096 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Execute: /var/packages/EmbyServer/target/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 nvencdec -print_format json 2021-01-15 18:12:39.098 Info NvidiaCodecProvider: ProcessRun 'ffdetect_nvencdec' Process exited with code 1 2021-01-15 18:12:39.305 Info LibraryMonitor: Watching directory /volume1/Prime/Audio/Music 2021-01-15 18:12:41.026 Error App: Error sending socket message from 0.0.0.0:1900 to 239.255.255.250:1900 *** Error Report *** Version: 4.5.4.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Mon Dec 14 18:48:50 CST 2020 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (13): Permission denied at Rssdp.SsdpCommunicationsServer.SendFromSocket(Tuple`4 socketTuple, Memory`1 messageData, IPEndPoint destination, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void Throw() Again, If you want the full log file I can send it privately. Edited January 16, 2021 by dv1r Link to comment Share on other sites More sharing options...
Luke 37094 Posted January 17, 2021 Share Posted January 17, 2021 Glad you got it sorted out. Thanks for the feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now