Manp82 0 Posted 2 hours ago Posted 2 hours ago (edited) So, i'm running Emby server on my DS414 on the latest 7.1 update available and everything seems to be working amazingly for the most part. The issue is basically that real time monitoring on my library folders doesn't seem to be working. I'm running the latest non beta version of emby server 4.10.1.0 but the same behaviour with real time monitoring was happening on the previous 4.9.5.0. everything seems to be set up the right way: - RTM enabled on my libraries - i have the script running on startup setting increased inotify values: /sbin/sysctl -w fs.inotify.max_user_watches=1048576 /sbin/sysctl -w fs.inotify.max_user_instances=4096 and checking the values from ssh returns what was set: root@DiskStation:~# cat /proc/sys/fs/inotify/max_user_instances 4096 root@DiskStation:~# cat /proc/sys/fs/inotify/max_user_watches 1048576 - google suggested running this commad to check which processes are actually using inotify and it doesn't seem that emby is actually using it: admin@DiskStation:~$ sudo find /proc/*/fd -lname 'anon_inode:inotify' 2>/dev/null | cut -d/ -f3 | xargs -I '{}' ps -p '{}' -o pid,comm PID COMMAND 1 systemd PID COMMAND 10947 Plex Media Serv PID COMMAND 13053 synoindexscand PID COMMAND 15712 session_watcher PID COMMAND 1850 dbus-daemon PID COMMAND 1861 dbus-daemon PID COMMAND 1988 syslog-ng PID COMMAND 2114 systemd-udevd PID COMMAND 2177 agetty PID COMMAND 2786 synobackupd PID COMMAND 2926 synoscheduled PID COMMAND 6164 avahi-daemon PID COMMAND 6888 synocrond PID COMMAND 8137 crond - logs suggest Emby is watching my media folders: 2026-10-07 16:36:41.396 Info LibraryMonitor: Watching directory with new FileSystemWatcher for /volume1/video/film for item 4 2026-10-07 16:36:48.539 Info LibraryMonitor: Watching directory with new FileSystemWatcher for /volume1/video/serie tv for item 6007 - the emby user have read/write permission on the folders and i'm pretty sure they're set correctly since it can write metadata and .jpg files to every movie folder just fine. - Plex is able to update its library with no issue as sson as a new file is added. - with a manual or scheduled library scan Emby picks up the new files with no issues. yet Emby doesn't want to pick new files when added either automatically by radarr or manually by me. log attached was taken on a fresh start of the emby server after a reboot of the host nas and after coping a new .mkv file to one of the monitored folders. any help would be greatly appreciated. embyserver.txt Edited 2 hours ago by Manp82
Tremas 213 Posted 36 minutes ago Posted 36 minutes ago (edited) Perhaps nevermind... you did mention you had a script running. Edited 34 minutes ago by Tremas
Manp82 0 Posted 18 minutes ago Author Posted 18 minutes ago Yes, that’s the first thing i checked even tho i have no inotify related errors in the logs. i had that script running on startup for god knows how long, I don’t even remember why i added it but it was already there when i noticed RTM wasn’t working. thanks for your reply.
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