[yocto] Error of " fs.inotify.max_user_watches " while using bitbake [ Yocto-2.6.1 + Qemux86]

AshishKumar Mishra ashish.emailaddress at gmail.com
Mon May 13 03:08:40 PDT 2019


Hi Members ,

Can team members please let me know the solution & what is causing the
below mentioned error ?
( I am having around 128GB of disk space still left , hence don't think
that space is the issue here )

~/Documents/linux-foundation-projects/yocto/poky/build (slef-bsp) : bitbake
-vn virtual/kernel
ERROR: No space left on device or exceeds fs.inotify.max_user_watches?
ERROR: To check max_user_watches: sysctl -n fs.inotify.max_user_watches.
ERROR: To modify max_user_watches: sysctl -n -w
fs.inotify.max_user_watches=<value>.
ERROR: Root privilege is required to modify max_user_watches.
ERROR: Command execution failed: Traceback (most recent call last):

  File
"/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/command.py",
line 113, in runAsyncCommand
    self.cooker.updateCache()
  File
"/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/cooker.py",
line 1541, in updateCache
    self.add_filewatch([[dirent]], dirs=True)
  File
"/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/cooker.py",
line 287, in add_filewatch
    watcher.add_watch(f, self.watchmask, quiet=False)
  File
"/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/pyinotify.py",
line 1924, in add_watch
    raise WatchManagerError(err, ret_)
pyinotify.WatchManagerError: add_watch: cannot watch
/home/ashish/Documents/linux-foundation-projects/yocto/poky/meta/recipes-devtools/mtd
WD=-1, Errno=No space left on device (ENOSPC)


Summary: There were 5 ERROR messages shown, returning a non-zero exit code.

~/Documents/linux-foundation-projects/yocto/poky/build (self-bsp) :
~/Documents/linux-foundation-projects/yocto/poky/build (self-bsp) : df -h
/home/ashish/
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p3  433G  284G  127G  70% /


Thanks
Ashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190513/0c07f72a/attachment.html>


More information about the yocto mailing list