Beagle no space left on device error on ubuntu

toukokuu 31, 2009 at 08:28 (linux) (, , , , , )

If you get ‘no space left on device’ when opening beagle settings, the reason might not be disk space. Beagle uses inotify service if it’s available. Inotify notifies beagle on file system changes. The problem is too low number of inotify watches.

The fix for the problem is quite simple and documented. We need to increase inotify watches by executing following command as root:

echo 16384 > /proc/sys/fs/inotify/max_user_watches

Source: http://beagle-project.org/Troubleshooting  (Beagle loops on directories)

Above command increases the limit to 16384 which is usually enough. Unfortunately max_user_watches limit is reseted on computer restart. The solution is to make a start up script which executes above command automatically.

Start up script can be created by

sudo gedit /etc/init.d/beagleFix

and entering following to the text file

#!/bin/sh
echo 16384 > /proc/sys/fs/inotify/max_user_watches

After this, we have to make the script executable:

sudo chmod +x /etc/init.d/beagleFix

To make the script start every time we must run the following command as root

update-rc.d beagleFix defaults

1 kommentti

  1. ssalonen sanoi,

    I found out that Beagle is not suitable for my needs. It seems that it cannot parse image tags properly. I changed to tracker search tool and it works flawlessly :)

Lähetä kommentti