Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, August 2007
QInotifyFileSystemWatcherEngine::addPaths: ,inotify_add_watch failed: No space left on device


Message 1 in thread

QInotifyFileSystemWatcherEngine::addPaths: ,inotify_add_watch failed: No 
space left on device

I've been having this error message come out on the tty of my app for 
months.
I'm running on linux OpenSuse 10.2.

I finally got around to trying to fix it today. Googling: 
inotify_add_watch increase limit
I found:

http://www.antezeta.com/beagle-fedora.html
...
If you see the message /inotify_add_watch: no space left on device/
/Maximum watch limit hit. Try adjusting 
/sys/class/misc/inotify/max_user_watches/
beagle is hitting the kernel limit for the number of directories a 
single process can monitor. The default is 8192. The beagle 
documenations says "16384 is good, 32768 is probably more than enough." 
Increase the limit by typing (as root):

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

/The higher this number, the more memory is consumed. The command should 
be put in a system start script if you want to maintain this change.
...

I did this and now all is good. Hopefully this will be useful to someone 
else.

--
 [ signature omitted ] 

Message 2 in thread

Peter Hackett wrote:
> QInotifyFileSystemWatcherEngine::addPaths: ,inotify_add_watch failed: 
> No space left on device
>
> I've been having this error message come out on the tty of my app for 
> months.
> I'm running on linux OpenSuse 10.2.
>
> I finally got around to trying to fix it today. Googling: 
> inotify_add_watch increase limit
> I found:
>
> http://www.antezeta.com/beagle-fedora.html
> ...
> If you see the message /inotify_add_watch: no space left on device/
> /Maximum watch limit hit. Try adjusting 
> /sys/class/misc/inotify/max_user_watches/
> beagle is hitting the kernel limit for the number of directories a 
> single process can monitor. The default is 8192. The beagle 
> documenations says "16384 is good, 32768 is probably more than 
> enough." Increase the limit by typing (as root):
>
> /# echo 16384 > /proc/sys/fs/inotify/max_user_watches
>
> /The higher this number, the more memory is consumed. The command 
> should be put in a system start script if you want to maintain this 
> change.
> ...
>
> I did this and now all is good. Hopefully this will be useful to 
> someone else.
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
thanks for the info
Marie

--
 [ signature omitted ]