On Sat, Mar 19, 2016 at 12:05:52PM +0000, Ben Maughan wrote: > I am not sure if the throttling by google is based on bandwidth or > number of connections, > judging by previous reports, it's data volume within a certain time, so bandwidth in first approximation.
mbsync has no built-in options to limit bandwidth. but you can use 'trickle'. it's certainly also possible to use the Tunnel option with two pv (pipe viewer) instances, bash command substitution, and tcpconnect/netcat/corkscrew or openssl s_client. alternatively, you can use iptables and tc to shape at the kernel level. see also http://unix.stackexchange.com/questions/34116/how-can-i-limit-the-bandwidth-used-by-a-process but the easiest solution is to simply re-run mbsync periodically until it finishes cleanly - syncs are resumed just fine. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel