20

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

Abdul Mannan
  • 323
  • 2
  • 3
  • 5
  • 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? – Peter Flynn Dec 31 '18 at 23:33

2 Answers2

31

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

Florian Echtler
  • 2,630
  • 2
  • 22
  • 31
  • 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. – Abdul Mannan Oct 29 '18 at 13:38
-1

This is not a problem with disc storage space. I was getting this error message while running a python script, when I had ~100 GB disc space left. There are few solutions suggested by previous users. For me, just restarting the system stopped showing this error message.

Thanks J