Re: Strange inotify error
- From: Robert Love <rml novell com>
- To: Rowland Watkins <erw01r ecs soton ac uk>
- Cc: dashboard-hackers gnome org
- Subject: Re: Strange inotify error
- Date: Thu, 17 Mar 2005 09:50:56 -0500
On Thu, 2005-03-17 at 12:27 +0000, Rowland Watkins wrote:
> I've been playing around with Beagle, trying to get it do inde my files,
> however, I get the following error when running:
> beagled --debug --fg
> ioctl(40, INOTIFY_WATCH,
> 33792}) failedioctl: No space left on device
> WARN: Exception caught while executing
> StartWorker()WARN: System.Exception: Attempt to watch
> I'm using kernel 184.108.40.206 with the inotify 0.20 patch. /dev/inotify
> exists and I have access to it, so I'm really not sure what's going on.
> Any help would be appreciated.
-ENOSPC is probably caused by exceeding the maximum number of allowed
The default is 16k. If you have more files than that in your home
directory, Beagle will generate that error.
You can bump the number via /sys/class/misc/inotify/max_user_watches.
As root, write a larger number, say 32k, in there. It makes sense to do
so during boot.
] [Thread Prev