atte Posted July 16, 2013 Report Share Posted July 16, 2013 HiI stumbled across these posts today:http://askubuntu.com...ax-user-watcheshttp://paulphilippov...filesystem.htmlhttp://blog.foogaro....ng-problem.htmlBasically: as default most (my) linux systems are limited as to the number of "watches in inotify", one of my boxes had it set to 8192.To find out your current setting:cat /proc/sys/fs/inotify/max_user_watchesTo change to something big:sudo echo 1000000 >> /etc/sysctl.confAll this is fine. My question, however, is: how does all this affect the way btsync runs? From reading about the lack of instant sync on BSD, it seems btsync relies on inotify to keep track of local changes that should be synced to connected boxes, so I guess it should have some impact... Quote Link to comment Share on other sites More sharing options...
ovizii Posted July 16, 2013 Report Share Posted July 16, 2013 I'm pretty sure this is wrong: sudo echo 1000000 >> /etc/sysctl.confYou're just inserting a number in there but it needs to be attached to max_user_watches...Follow-up question: is btsync really using inotify? In that case I guess I need to know more about it since I use inotify for another tool on my server too and that uses most of my user_watches. Quote Link to comment Share on other sites More sharing options...
atte Posted July 16, 2013 Author Report Share Posted July 16, 2013 Off course, I messed it up, should have been:sudo echo fs.inotify.max_user_watches=1000000 >> /etc/sysctl.conf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.