trombiggs Report post 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 Share this post Link to post Share on other sites
sergey@bt Report post 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 Share this post Link to post Share on other sites
trombiggs Report post 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 Share this post Link to post Share on other sites
rdebath Report post 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 Share this post Link to post Share on other sites
dontaskaboutjack Report post 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 Share this post Link to post Share on other sites
KSL Report post 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 Share this post Link to post Share on other sites
Harold Feit Report post Posted December 14, 2013 Using what specific version of sync? Quote Share this post Link to post Share on other sites
Tozo Report post 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 Share this post Link to post Share on other sites
Tozo Report post 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 Share this post Link to post Share on other sites
MacGyverDude Report post 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 Share this post Link to post Share on other sites
Harold Feit Report post 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 Share this post Link to post Share on other sites
loopy Report post 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 Share this post Link to post Share on other sites
MacGyverDude Report post Posted January 3, 2014 Harold Thanks for the tip on the ~$ in the .syncignore file. Now my syncs are finishing. Quote Share this post Link to post Share on other sites
p1neapples Report post 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 Share this post Link to post Share on other sites
p1neapples Report post 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 Share this post Link to post Share on other sites