trombiggs Posted May 5, 2013 Report Share Posted May 5, 2013 Just installed btsync on two laptops, both running Ubuntu 12.04.Created a ~/btsync directory, put the btsync executable in each, ran ./btsync. Made a secret, put the secret in on the otherlaptop. The WebUI showed that the folders on the two laptopswere recognized. I copied some files into the ~/btsync directory,it sync'd up. As easy and straighforward as I could hope for. Cool.Not too long after, though, the webui showed that it was 'indexing',and the computer became very slow. 'top' showed that several instances of btsync were very very busy. The hard drive light wason constantly. The webui showed that it was still indexing, and thatit had indexed hundreds of thousands of files. WHAT!!?? I onlyput a few hundred files into the ~/btsync folder - is it indexing myentire hard drive? If so, why?Whatever it's doing, it's really reducing the usabilty of the computer,to the point where I finally killed the btsync daemon.How can I change this behavior? Can I tell it to just index the~/btsync folder? Why is it indexing everything? (it makes mejust a little bit paranoid, a daemon with network access couldshare all my files with the world and I wouldn't know... ) Quote Link to comment Share on other sites More sharing options...
sergey@bt Posted May 5, 2013 Report Share Posted May 5, 2013 Did you put btsync executable into shared folder? Please move it out.By default on Linux btsync creates .sync folder with metadata in the same folder where executable is located. If you put .sync folder into btsync shared folder, it may create infinite loop. Quote Link to comment Share on other sites More sharing options...
trombiggs Posted May 6, 2013 Author Report Share Posted May 6, 2013 Did you put btsync executable into shared folder? Please move it out.By default on Linux btsync creates .sync folder with metadata in the same folder where executable is located. If you put .sync folder into btsync shared folder, it may create infinite loop.That is exactly what I did, and I will fix it right away. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
rdebath Posted May 6, 2013 Report Share Posted May 6, 2013 Did you put btsync executable into shared folder? Please move it out.By default on Linux btsync creates .sync folder with metadata in the same folder where executable is located. If you put .sync folder into btsync shared folder, it may create infinite loop.This seems to be quite a common problem on the public secret shares ( hmmm) I've seen, I assume something will be done about it, like forcing the current .sync folder on to the .SyncIgnore list. Quote Link to comment Share on other sites More sharing options...
dontaskaboutjack Posted December 7, 2013 Report Share Posted December 7, 2013 Hey Sergey & Trombiggs - Can I confirm that the solution for this was to ensure that the .sync folder was not in the same folder that is being synced? I have:home/pi/desktop/btsync.exehome/pi/.syncmedia/SYNC/folderBeingSyncedOriginally .sync and btsync.exe were in the same folder (not the one being shared), but I dragged the .exe to the desktop. Still seeing these infinite (or interminably long) "Indexing". Could this just be the slower processor of the pi? Thanks for the help.Ben Quote Link to comment Share on other sites More sharing options...
KSL Posted December 14, 2013 Report Share Posted December 14, 2013 Hey Sergey & Trombiggs - Can I confirm that the solution for this was to ensure that the .sync folder was not in the same folder that is being synced? I have:home/pi/desktop/btsync.exehome/pi/.syncmedia/SYNC/folderBeingSyncedOriginally .sync and btsync.exe were in the same folder (not the one being shared), but I dragged the .exe to the desktop. Still seeing these infinite (or interminably long) "Indexing". Could this just be the slower processor of the pi? Thanks for the help.Ben I have same setup and I still get never ending indexing. Please help us! Quote Link to comment Share on other sites More sharing options...
Harold Feit Posted December 14, 2013 Report Share Posted December 14, 2013 Using what specific version of sync? Quote Link to comment Share on other sites More sharing options...
Tozo Posted December 15, 2013 Report Share Posted December 15, 2013 (edited) Hi, I have the same problem.I am using it on debian 7, btsync version: 1.2.82I installed btsync through repository and my shared folder is under /mnt/download/shared/... so the btsync is not in the shared folder. Although the number of shared files are pretty high: 119 844 Files, 23 054 Folders (several projects..) Every file and folder was synchronized couple of hours ago, but it is still indexing: 4.4 GB in 103785 files (Indexing...)But the number (103785) isn't changing. I even restarted the btsync but nothing has changed. Do you have any idea what could be the problem? Thanks,Tozo Edited December 15, 2013 by Tozo Quote Link to comment Share on other sites More sharing options...
Tozo Posted December 15, 2013 Report Share Posted December 15, 2013 (edited) Hi, Sorry, I couldn't edit my previous comment. I forgot to mention that the client I am syncing from, is a windows client (version: 1.2.82) and I am using soft links within the sync folder.I mean the various project folders linked via mklink.The command I used to create these soft links:mklink /D sourceFolder targetFolder I will try out without these folders, but I don't think that is the problem. Thanks,Tozo Edited December 15, 2013 by Tozo Quote Link to comment Share on other sites More sharing options...
MacGyverDude Posted December 16, 2013 Report Share Posted December 16, 2013 I am having the endless indexing issue as well. I have files that are created in directories on the source drive that all start with ~$**** these are the files that show up in the transfer window for a second then dissapear. These files are what seems to be causing the loop the same file will appear, not sync, the reappear over and over again. The original file that was edited without the ~$ ahead of the file name are in the folder as well. The only way i have been able to get the sync to work is to delete the file with the ~$ ahead of the file name. Then the sync will finish and show up as fully synced. These files seem to be originating from Word and Excel. I have made the changes suggested on a forum regarding eliminating the creation of these files. Does anyone have any other suggestions. C Quote Link to comment Share on other sites More sharing options...
Harold Feit Posted December 16, 2013 Report Share Posted December 16, 2013 Add "~$*" to a new line in the .syncignore file in the top level folder of your shares on all machines. Quote Link to comment Share on other sites More sharing options...
loopy Posted December 17, 2013 Report Share Posted December 17, 2013 I uninstalled dropbox and then used btsync to sync the folder. It's about 90GB, but since sync'ing my computer is often running at high CPU... and the cause is btsync. I open up BTsync and it says "indexing" this has been going on and off for days/weeks. Quote Link to comment Share on other sites More sharing options...
MacGyverDude Posted January 3, 2014 Report Share Posted January 3, 2014 Harold Thanks for the tip on the ~$ in the .syncignore file. Now my syncs are finishing. Quote Link to comment Share on other sites More sharing options...
p1neapples Posted January 13, 2014 Report Share Posted January 13, 2014 Hey guys - I've installed BTSync 1.2.82 on my Pi with Raspbmc installed. I'm currently experiencing the same non-stop "indexing" issue and I've tried everything above and on other posts. I have a 32GB flash drive in on of my Pi ports that is the actual sync location so I know it's not a problem with ./btsync being in the sync folder. I am syncing mine and my wife's iPhone pics as well as our iPad's. Any ideas? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
p1neapples Posted January 13, 2014 Report Share Posted January 13, 2014 Hey guys - I've installed BTSync 1.2.82 on my Pi with Raspbmc installed. I'm currently experiencing the same non-stop "indexing" issue and I've tried everything above and on other posts. I have a 32GB flash drive in on of my Pi ports that is the actual sync location so I know it's not a problem with ./btsync being in the sync folder. I am syncing mine and my wife's iPhone pics as well as our iPad's. Any ideas? Thanks in advance. Just for anyone with the same issue - I had changed the “folder_rescan_interval” to 86400 like other posts suggested and nothing seemed to happen. However after a decent amount of time, the problem seems resolved. BTSync service now running at a cool 2.5 to 3.0 % CPU consistently and no constant indexing. 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.