Bogus no space left errors

Got this error message today:

`2016-01-15 10:14:17: [Inotify] Failed to install inotify handler for system: no space left on device

2016-01-15 10:14:17: [Inotify] Failed to install inotify handler for training-docs: no space left on device

2016-01-15 10:14:17: [Inotify] Failed to install inotify handler for moto_x-photos: no space left on device

2016-01-15 10:14:17: [Inotify] Failed to install inotify handler for config: no space left on device

2016-01-15 10:14:17: [Inotify] Failed to install inotify handler for emu: no space left on device`

There’s no way I’m out of space:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
run             7.8G  9.4M  7.8G   1% /run
/dev/sda3        92G   24G   64G  27% /
tmpfs           7.8G   82M  7.7G   2% /dev/shm
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs           7.8G  216K  7.8G   1% /tmp
/dev/sda5        28G  4.3G   23G  16% /apps
/dev/sda2       9.1G  120M  8.5G   2% /boot
/dev/sda1       192M  238K  192M   1% /boot/efi
/dev/sda6       770G  472G  291G  62% /home
tmpfs           1.6G   16K  1.6G   1% /run/user/1000

Anybody have any idea what might be causing this?

At a guess, you’re running out of whatever magic widgets it is inotify needs on your OS - file descriptors, watch objects, … something. The inotify docs should have some tips on what to increase?

Yup; I suspected that as well, and raising the limit fixed the problem.

Maybe we have an opportunity for a better error message? The idea that the disk was full is what threw me off.

Possibly. I’m not the developer of that particular piece of code, but I think that error message is verbatim as given to us by the OS. Maybe we could print a hint in addition to the error though, regardless of what the error is.

I suspect ENOSPACE is the error code for basically all filesystem operations that need to report a shortage of some sort of resource.

1 Like

Indeed

Done, will be part of next release.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.