Re: Strange inotify error



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, 
> {/home/erw01r/software/cvs/alt-taverna/1.9/taverna1.0/src/uk/ac/soton/itinnovation/taverna/enactor, 
> 33792}) failedioctl: No space left on device
> WARN: Exception caught while executing 
> Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Void 
> StartWorker()WARN: System.Exception: Attempt to watch 
> /home/erw01r/software/cvs/alt-taverna/1.9/taverna1.0/src/uk/ac/soton/itinnovation/taverna/enactor 
> failed!
> 
> I'm using kernel 2.6.11.4 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
user watches.

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.

	Robert Love





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]