b0rman Posted June 24, 2014 Report Share Posted June 24, 2014 Hi! I added a directory to sync and setup syncing. Than I edit file on first PC but BTSync didn't synced it. I have to wait a lot (may be 10 minutes or more) to sync - it's too long time to wait OS is CentOS, BTSync latest version. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 24, 2014 Report Share Posted June 24, 2014 @b0rman I suggest that iNotify is not working for your CentOS. Which version of glibc is installed on your CentOS? 2.3 does not support iNotify - and it might be a reason. Quote Link to comment Share on other sites More sharing options...
b0rman Posted June 25, 2014 Author Report Share Posted June 25, 2014 glibc was not installed. Now I installed v2.12. Should inotify work now?inotifywatch command is working correctly, so I don't know why btsync can't work with inotify UPD: OK, I switched to debug log and found that there is an event from inotify:[20140625 22:39:00.224] SyncFolderNotify: "test", event = "IN_MOVED_FROM"[20140625 22:39:00.224] SyncFolderNotify: "testX", event = "IN_MOVED_TO"[20140625 22:39:00.224] [OnNotifyFileRename] /vhosts_static/**************.com_static/test -> /vhosts_static/**************.com_static/testX, source = NULL[20140625 22:39:00.224] SyncFilesController [file changed]: Processing file "/vhosts_static/**************.com_static/test"[20140625 22:39:00.224] SyncFilesController [file changed]: Processing file "/vhosts_static/**************.com_static/testX"[20140625 22:39:00.224] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"But file didn't apear on another node. Why? UPD 2: I found that now BTSync "knows" that there are a new file for syncing without re-index whole folder. But the problem is that it is not syncing between nodes. Looking in my log, now it takes ~7 minutes to transfere 6 bytes file. (force resync is 120 secs). Any fixes? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 26, 2014 Report Share Posted June 26, 2014 @b0rmanI suggest collecting debug logs from both peers (see this topic on how to enable debug logs http://forum.bittorrent.com/topic/12658-if-you-have-sync-issue/) and send them to us to syncapp@bittorrent.com. Note this forum topic in message body. Also, set log_size advanced preference to ~200 to make sure your issue will fit into logs. 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.