Beagle no space left on device error on ubuntu

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

One thought on “Beagle no space left on device error on ubuntu

  1. ssalonen kirjoitti:

    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🙂

Vastaa

Täytä tietosi alle tai klikkaa kuvaketta kirjautuaksesi sisään:

WordPress.com-logo

Olet kommentoimassa WordPress.com -tilin nimissä. Log Out / Muuta )

Twitter-kuva

Olet kommentoimassa Twitter -tilin nimissä. Log Out / Muuta )

Facebook-kuva

Olet kommentoimassa Facebook -tilin nimissä. Log Out / Muuta )

Google+ photo

Olet kommentoimassa Google+ -tilin nimissä. Log Out / Muuta )

Muodostetaan yhteyttä palveluun %s