bryanbocao / awesome-cmd-cheatsheets

Quick search the commands you need.
3 stars 1 forks source link

inotify_add_watch "No space left on device" #7

Closed bryanbocao closed 2 years ago

bryanbocao commented 2 years ago

Try to display an image by

plt.imshow()

but got

inotify_add_watch(<SOME_PATH>) failed: "No space left on device"
bryanbocao commented 2 years ago

Resolved by

echo fs.inotify.max_user_watches=65536 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Ref: https://askubuntu.com/questions/1088272/inotify-add-watch-failed-no-space-left-on-device