Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BorgWatcher: Error -1 #77

Open
Firesphere opened this issue Dec 4, 2022 · 1 comment
Open

BorgWatcher: Error -1 #77

Firesphere opened this issue Dec 4, 2022 · 1 comment

Comments

@Firesphere
Copy link

BorgWatcher keeps throwing this error:

Traceback (most recent call last):
  File "/app/borghive/management/commands/watch_repositories.py", line 55, in handle
    for event in i.event_gen(yield_nones=False):
  File "/usr/local/lib/python3.8/site-packages/inotify/adapters.py", line 300, in event_gen
    self._i.add_watch(full_path, self._mask)
  File "/usr/local/lib/python3.8/site-packages/inotify/adapters.py", line 95, in add_watch
    wd = inotify.calls.inotify_add_watch(self.__inotify_fd, path_bytes, mask)
  File "/usr/local/lib/python3.8/site-packages/inotify/calls.py", line 34, in _check_nonnegative
    raise InotifyError("Call failed (should not be -1): (%d)" %
inotify.calls.InotifyError: Call failed (should not be -1): (-1) ERRNO=(0)

According to the internet, it's because the limit on inotify... I've upped this to the max, but it keeps happening... Any idea?

@Firesphere
Copy link
Author

This might be related to
#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant