Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
594 stars 49 forks source link

no space left on device #180

Closed warlordattack closed 1 year ago

warlordattack commented 1 year ago

I have 5tb free space on my nas and have some errors saying no free space left :

11/28/2022 9:41:49 PM Nov 28 21:41:48 INF Processor started 11/28/2022 9:41:49 PM Nov 28 21:41:49 ERR Failed initialising jobs error="watch directory: /partage/musique/_diff: no space left on device" trigger=inotify

11/28/2022 9:12:31 PM Nov 28 21:12:30 INF Starting server on port 3030 11/28/2022 9:12:31 PM Nov 28 21:12:30 ERR Failed initialising jobs error="watch directory: /partage/media/music/‐M‐/Rêvalité Augmentée (2022)/Digital Media 02: no space left on device" trigger=inotify

In this folder : /partage/musique/_diff i have only one sub folder with 15 files inside

jobrien2001 commented 1 year ago

same, was running fine for months

Dec 1 02:54:19 ERR Failed initialising jobs error="watch directory: /media: no space left on device" trigger=inotify

m-rots commented 1 year ago

Please checkout both #99 and #152. The error message isn't super helpful but it actually has to do with inotify watch limits, which in both your cases occurs when Autoscan has to watch many subdirectories (it has to watch each individual Film/TV folder).

jobrien2001 commented 1 year ago

Thank you, I increased the limit and its working fine now.

/etc/sysctl.conf increase fs.inotify.max_user_watches

then sysctl -p