Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zillode committed Nov 25, 2014
1 parent 4bf646e commit 96e5320
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ go build

2. Run using API key
```
./syncthing-inotify -api="..."
./inotify -api="..."
```


#### Troubleshooting
* When watching many files, the OS might not have enough inotify handles available and the app exists with the message:```no space left on device```
#### Troubleshooting (OSX)
* The Go bindings for inotify do not recursive watching. Therefore, when watching many files on OSX, we might not have enough inotify handles available and the app exists with the message:```no space left on device```. This is an [open issue](https://github.com/syncthing/inotify/issues/8)

Fix: ```sudo sh -c 'echo 262144 > /proc/sys/fs/inotify/max_user_watches'```
Temporary fix: ```sudo sh -c 'echo 262144 > /proc/sys/fs/inotify/max_user_watches'```

0 comments on commit 96e5320

Please sign in to comment.