I am facing a problem about "no space left on device" as shown in the Figure below.

enter image description here

I am relatively a newbie and don't know much about linux. I am using Ubuntu 18.04. Checking out various blogs about my problem such as this one (which suggests that I should increase my drive size) and this one (which is quite similar to my problem) also highlights the same problem but does not specify any solution.

Can you please help any solution? Thank you so much for your attention.

PS: I have also taken screen shot of df -h as shown below enter image description here

  • 2
    I'm having a similar problem from qpdfview, which uses inotify to watch the current file. Mint 19 apparently sets the default to 8192, whereas Mint 18 used 524288. Easy to fix from the answer (thank you), but why would one appliczation watching one file consume 8192 watches anyway? Is there a way to check what else is using inotify for this? Dec 31, 2018 at 23:33

1 Answer 1


The error message doesn't actually refer to the amount of storage space, but to the amount of inotify watches that are available for a given file system (see also here: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers).

The quick solution (taken from the above website) would be to run

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

Regards, Florian

  • Thank you so much Florian Echtler. I figured it out. The problem is in my /home directory which has been consumed 73% and Linux starts issuing error or warning if the available space is less than 28%. I deleted some files in my /home directory and now it is OK. Once again, I appreciate your efforts in clearing out. Thank you so much. Oct 29, 2018 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.