Comment 31 for bug 1890791

Revision history for this message
In , Martin Oemus (martqn) wrote :

(In reply to Martin Oemus from comment #1)
> I experience the same problem. I'm on Kubuntu 17.10, KDE-Plasma 5.11.4,
> Frameworks 5.40.0, Kernel 4.13.0, Dolphin 17.04.3.
>
> When I start dolphin with logging like in the comment above, I also get
> messages like "inotify_add_watch("/etc/fstab") failed: "No space left on
> device"".
>
> I have enough space left on my partitions:
>
> $ df -h
> Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
> udev 7,8G 0 7,8G 0% /dev
> tmpfs 1,6G 26M 1,6G 2% /run
> /dev/sdb5 216G 34G 171G 17% /
> tmpfs 7,8G 137M 7,7G 2% /dev/shm
> tmpfs 5,0M 4,0K 5,0M 1% /run/lock
> tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
> /dev/loop0 84M 84M 0 100% /snap/core/3247
> /dev/loop2 84M 84M 0 100% /snap/core/3440
> /dev/sdb3 98G 74G 24G 76% /media/Windows
> /dev/sdb1 96M 22M 75M 23% /boot/efi
> /dev/sda1 466G 277G 190G 60% /media/Daten
> tmpfs 1,6G 236M 1,4G 15% /run/user/1000
> /dev/loop3 84M 84M 0 100% /snap/core/3604
>
>
> I also made sure the number of allowed kernel inotify watches is not
> reached, as described here: https://unix.stackexchange.com/a/13757

As the bug is still active I want to add some feedback: contrary to my first comment the solution presented at stackexchange in fact did solve the issue for me.
I simply added fs.inotify.max_user_watches=524288 to /etc/sysctl.conf and rebooted.

I'm positive that it already worked a year ago (and I forgot to give timely feedback). Currently I'm running Kubuntu 18.04, KDE-Plasma 5.12.7, Frameworks 5.47.0, Kernel 4.15.0, Dolphin 17.12.3. With the work-around described, the bug does not affect me anymore.