Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1849

OSError: [Errno 28] inotify watch limit reached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Local watcher
    • Environment:
      GNU/Linux

      Description

      Issue

      At the LocalWatcher setup, this error may happen:

      2019-09-16 16:19:31 4858 139928382588672 ERROR    nxdrive.engine.workers Thread EXCEPTION
      Traceback (most recent call last):
        File "engine/workers.py", line 181, in run
          self._execute()
        File "engine/watcher/local_watcher.py", line 96, in _execute
          self._setup_watchdog()
        File "engine/activity.py", line 223, in func_wrapper
          func(*args, **kwargs)
        File "engine/watcher/local_watcher.py", line 628, in _setup_watchdog
          observer.start()
        File ".../watchdog/observers/api.py", line 253, in start
          emitter.start()
        File ".../watchdog/utils/__init__.py", line 110, in start
          self.on_thread_start()
        File ".../watchdog/observers/inotify.py", line 121, in on_thread_start
          self._inotify = InotifyBuffer(path, self.watch.is_recursive)
        File ".../watchdog/observers/inotify_buffer.py", line 35, in __init__
          self._inotify = Inotify(path, recursive)
        File ".../watchdog/observers/inotify_c.py", line 200, in __init__
          self._add_dir_watch(path, recursive, event_mask)
        File ".../watchdog/observers/inotify_c.py", line 395, in _add_dir_watch
          self._add_watch(full_path, mask)
        File ".../watchdog/observers/inotify_c.py", line 409, in _add_watch
          Inotify._raise_error()
        File ".../watchdog/observers/inotify_c.py", line 421, in _raise_error
          raise OSError(errno.ENOSPC, "inotify watch limit reached")
      OSError: [Errno 28] inotify watch limit reached
      

      Fix

      TBD, as without local watcher, Drive is unusable.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: