# Synology DS115j inotify error

**URL:** https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810
**Category:** Support
**Created:** [April 13, 2020, 5:05pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810 "2020-04-13T17:05:45Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Chris.Karst](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Chris.Karst](https://forum.syncthing.net/u/Chris.Karst)
#### Post date: [April 13, 2020, 5:05pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/1 "2020-04-13T17:05:45Z")

</div>

I an attempting to use an older Synology NAS for syncthing. It is installed, updated, and configured with remote devices and shared folder.

All remote devices show the Synology at 0% of 650GiB.

Synology syncthing page is showing:

failed to setup inotify handler. Please increase inotify limits, see [https://docs.syncthing.net/users/faq.html#inotify-limits](https://docs.syncthing.net/users/faq.html#inotify-limits)

Not sure what i need to do.

Please don’t be the person that says “go to that link”

Link shows some commands to run from linux, but what can i do from whithin Synology?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [April 13, 2020, 5:08pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/2 "2020-04-13T17:08:02Z")

</div>

> [@Chris.Karst](#):
>
> Link shows some commands to run from linux, but what can i do from whithin Synology?

You can’t most likely.

---

<div class="post-metadata">

### Author: ![Nummer378](https://forum.syncthing.net/user_avatar/forum.syncthing.net/nummer378/32/5958_2.png) [@Nummer378](https://forum.syncthing.net/u/Nummer378)
#### Post date: [April 13, 2020, 6:08pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/3 "2020-04-13T18:08:20Z")

</div>

You can enable SSH access in options. Then login via SSH and perform the commands (you can use ‘sudo’ to get root access, if your user is part of the admin group).

Disclaimer: I do not own a Synology device, this advice is from a friend who does own one.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 13, 2020, 10:42pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/4 "2020-04-13T22:42:32Z")

</div>

The commands shown have only a partial effect. A permanent solution you get with the task planner in the control panel.

There you deposit a “triggered task” with the string

`sh -c '(sleep 120 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&'`

on boot. That means, on every boot that command will implemented. The sleep time is estimated by me and can be adjusted.

---

<div class="post-metadata">

### Author: ![Chris.Karst](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Chris.Karst](https://forum.syncthing.net/u/Chris.Karst)
#### Post date: [April 14, 2020, 11:33pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/5 "2020-04-14T23:33:27Z")

</div>

that seems to have taken care of the error, but it is still at 0% synced.

any idea if there are other tweaks i need?

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 15, 2020, 1:03am UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/6 "2020-04-15T01:03:48Z")

</div>

Which SPK package you have installed? Doe you have assigned read and write permissions to a user group in the Synology DSM?

Then permissions Ignore must be activated in each peer under Advanced.

---

<div class="post-metadata">

### Author: ![Chris.Karst](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Chris.Karst](https://forum.syncthing.net/u/Chris.Karst)
#### Post date: [April 15, 2020, 2:10am UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/7 "2020-04-15T02:10:56Z")

</div>

not sure about SPK, but version v1.4.2, Linux (ARM)

i think permissions are ok, it is moving some files, VERY SLOWLY, and sometimes it seems to stall, so i tell syncthing to restart. (for example the latest changed file name doesn’t change for hours)

i don’t know what the permissions ignore is.

---

<div class="post-metadata">

### Author: ![Chris.Karst](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Chris.Karst](https://forum.syncthing.net/u/Chris.Karst)
#### Post date: [April 15, 2020, 2:25am UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/8 "2020-04-15T02:25:09Z")

</div>

permissions ignore says use for fat drives, mine is ext4.

is that what you mean? do i need that?

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 15, 2020, 6:03am UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/9 "2020-04-15T06:03:32Z")

</div>

Some explanation about that

> [@\[v0.8.10\] Ignore Permissions](https://forum.syncthing.net/t/v0-8-10-ignore-permissions/263):
>
> Version 0.8.10 includes a new “Ignore Permissions” flag per repository. The primary use case is for filesystems that do not support permissions, such as FAT, or environments where changing permissions is impossible. When the checkbox is checked for a given repo files originating from this node will be announced with the “no permission bits” flag. Other nodes will use whatever their default permission setting is when creating the file. Nodes running older versions than 0.8.10 will use the permis…

I found out, that with this activated option all the peers are running very good. Without, it seems in any time it hangs or out of sync etc.

For me this feature is more than for FAT filesystems. E.g. is also activated on each Android APP peer and its also no FAT.

---

<div class="post-metadata">

### Author: ![Chris.Karst](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@Chris.Karst](https://forum.syncthing.net/u/Chris.Karst)
#### Post date: [April 15, 2020, 7:48pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/10 "2020-04-15T19:48:53Z")

</div>

So check this on the NAS box (linux) but not needed on the windows systems?

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 15, 2020, 8:28pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/11 "2020-04-15T20:28:18Z")

</div>

No.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [May 15, 2020, 8:28pm UTC](https://forum.syncthing.net/t/synology-ds115j-inotify-error/14810/12 "2020-05-15T20:28:22Z")

</div>

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