Every library but one updates fine, but suddenly one of my libraries with only a few titles in it is not detecting new media and even removed one of the titles from the listing, though all the files are still perfectly intact. It’s not showing them as unknown, it’s just not showing them at all. Anyone know how to fix this? It’s really frustrating, if it helps it’s a TV Show library. Latest version of Plex Media Server.
The answer is here: 
IF you only have 2GB… This isn’t for you yet 
On Synology,
- Control Panel - Terminal & SNMP - Enable SSH
- SSH as admin into the Synology
- sudo -su root once there to elevate to root privilege (needed)
- Using the procedure below, get the directory count
- pad up to the next 32K boundary.
- Use that number for the fs.inotify.max_user_watches value as I show in the procedure below.
- After updating the file, Restart PMS
If you have any questions, I’m happy to help before making a mess 
It’s FreeNAS, with 12 GB of RAM, so it’s not a ram problem, and I’m unsure if your instructions will work on it. FreeNAS is a FreeBSD linux distribution. will those instructions work in a jail on there?
BSD Unix (and FreeBSD) is not Linux.
FreeBSD has its root in Berkeley Unix 4.2 from the 90’s.
Linux is a completely different code base and API.
Searching Google shows there appears to be a “kwatcher” feature similar to iNotify.
You will need to find out that table parameter’s name and increase it for automatic updating to continue.
Searching for kwatcher has not helped me, I’m not sure I understand what it is I am looking for here. I tried killing the library and all it’s data and redoing it, and it finds all the titles, and then when doing the metadata for them it removes all of the ones beyond 20 of them. Very frustrating.
This table parameter, how can I go about finding it?