eddieparker Posted April 25, 2014 Report Share Posted April 25, 2014 Not sure if this is just a fact of life, or if I can optimize it somehow, but I've got two big symptoms with BTSync: - My CPU is pretty much always pegged at >90% utilization, and htop reports BTSync to be the main offender: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command25556 root 30 10 2063M 1457M 1004 S 73.0 39.3 81h20:42 /usr/bin/btsync --config /etc/btsync.conf25564 root 30 10 2063M 1457M 1004 R 73.0 39.3 80h48:58 /usr/bin/btsync --config /etc/btsync.conf - The web URL takes forever to load. Now, that said, I do have a perhaps non-typical use case: I use rsnapshot to build a snapshot of my linux box every night. I currently rsync that snapshot to a place that btsync indexes (to get around the entire tree disappearing for a bit, then having it repopulate -- I'm trying to avoid indexing more than necessary). That backup tree is quite large however (~200GB). Is the speed of the web response as well as the CPU utilization normal for this type of utilization? Am I using btsync in a way that's unexpected? (Large dataset, updated nightly; although typically it should only be deltas?) Thanks. I really do like BTSync for this kind of work, it'd be a shame if this case couldn't be sped up. Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted April 25, 2014 Report Share Posted April 25, 2014 You have two instances of btsync with the exactly same configuration running trying to access the same files and databases. This should NEVER happen. Quote Link to comment Share on other sites More sharing options...
eddieparker Posted May 3, 2014 Author Report Share Posted May 3, 2014 Hrmm, good point. That's actually odd - if I use htop (where I got the original output from), it shows multiple processes. However using top or just ps auxf | grep btsync only yields me one. Regardless, it's taking 95% CPU. I imagine htop is reporting incorrectly the number of processes, or I'm reading it incorrectly. Here's the output from top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND25556 root 30 10 2112860 1.457g 1572 S 80.9 40.2 15256:02 btsync Quote Link to comment Share on other sites More sharing options...
eddieparker Posted July 1, 2014 Author Report Share Posted July 1, 2014 Just bumping this - is anyone else seeing this? Even on the latest, (1.3.106) my CPU is pegged at 100% and the website never loads (constantly "waiting for "). My current work around is to use cpulimit to set the process to some sane limit, but I still can't get access to the website to see how syncs are occuring. I'd love to have this be usable again on my Linux box. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted July 1, 2014 Report Share Posted July 1, 2014 @eddieparker Can I get the debug logs to see what your btsync is actually doing all the time? Please send them to syncapp@bittorrent.com, mention this topic in the message body. Quote Link to comment Share on other sites More sharing options...
eddieparker Posted July 1, 2014 Author Report Share Posted July 1, 2014 Sent! Thanks RomanZ - let me know if you need anything further. 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.