# Setting inotify limit PERMANENTLY on Synology Diskstation

**URL:** https://forum.syncthing.net/t/setting-inotify-limit-permanently-on-synology-diskstation/12221
**Category:** Support
**Created:** [September 25, 2018, 1:33pm UTC](https://forum.syncthing.net/t/setting-inotify-limit-permanently-on-synology-diskstation/12221 "2018-09-25T13:33:40Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ProactiveServices](https://forum.syncthing.net/user_avatar/forum.syncthing.net/proactiveservices/32/2386_2.png) [@ProactiveServices](https://forum.syncthing.net/u/ProactiveServices)
#### Post date: [September 25, 2018, 3:52pm UTC](https://forum.syncthing.net/t/setting-inotify-limit-permanently-on-synology-diskstation/12221/3 "2018-09-25T15:52:32Z")

</div>

For configuring anything to always happen automatically, particularly to survive a DSM upgrade, always use the Task Scheduler. Any other method will eventually be over-written.

I have it run a script that, amongst other things, runs on boot `sysctl -p /volume1/<path>/sysctl.conf` where sysctl.conf contains `fs.inotify.max_user_watches = 204800`

---

_[View the full topic](https://forum.syncthing.net/t/setting-inotify-limit-permanently-on-synology-diskstation/12221)._
