Plex Console shows errors [Notify] Failed to add watch for "<path>" (28: No space left on device)

Server Version#: 1.19.5.3035
Player Version#: 4.37.1

I’m seeing lots of errors for what seems like every show I have:

[Notify] Failed to add watch for "<path>" (28: No space left on device)

There is plenty of free space on the server and I double checked that permissions are okay (full read/write) but the directories are still owned by my primary user account.

I’m assuming this was due to having too many folders for Plex to index, and I don’t care if it indexes Music or Photos frequently but couldn’t find a way to turn off monitoring those, so I deleted Photos library from Plex and so far haven’t seen the issue return. Alternatively, I imagine I could increase the iNotify value as a scheduled task, but want to avoid that.

Yes.

The Linux default is only 8192.

If you can run a count (use FileStation → Properties) and obtain the sum of all the monitored directories, we can increase the table size to accommodate this.

For the benefit of anyone else who finds this:

If you have media in the Plex share, please move it out now.
It doesn’t belong there.
I created the share to hold metadata because the default location afforded by Synology was too small. It was also originally hidden. I made it visible to allow retrieval of log files and database repairs when PMS won’t start correctly.

I am considering a change which will remove the restriction but, for now, I do need to keep no media there. ( I did post warnings in 6 languages)

Yeah it clearly says to not put your files in there! I figured there’d be some catestrophic failure if that happened, interesting you have it working:

Please do not place any media files here.

Is that related to my issue in any way? I don’t have any media in the Plex shared folder (just Library and tmp_transcoding directories).

The catastrophic failure which occurs is because PMS , which has 4-5 directories for each media item, modifies them.

If you take all your media files and multiply by 5, you get a catastrophic escalation because PMS starts monitoring itself… Infinite loop.

Your issue is common when a lot of photos or music is involved. When either are properly structured, directory counts sore. 8192 is nothing. It’s not uncommon to see a max_users_watches value of 262144 (256k directories).

Thanks I don’t use Plex for viewing photos anyway, so disabling that is a good enough solution for now.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.