Re: dynamic bwlimit with rsync

2012-10-01 Thread Chris Davies

On 28/09/12 16:06, Satish Shukla wrote:
Our pipe is limited and we don't want to give everything to rsync, We 
have situation where we want rsync transfers to scale up or down 
within a specified bandwidth limit. For e.g. if there are two (or 
multiple)  rsyncs running parallel they should be contained in max 
bwlimit (say like 1Mbps) and if there is only one running it should 
use the entire allocated bandwidth limit.


Instead of trying to use --bwlimit, take a look at "trickle". It's old 
but works well

Chris


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

2012-10-01 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5478

--- Comment #22 from Gaute Hope  2012-10-01 10:20:42 UTC 
---
(In reply to comment #21)
> After all the discussion of network matters that I saw from your thread I
> thought (as I'm working in my LAN) I could turn of openSUSE's firewall for a
> try. And: since that moment everything runs fine! And even fast. rsync doesn't
> stall and files arrive properly, independent from size (I also got some larger
> files).

I experienced a plethora of errors which all seemed to be related to this one.
The server is running on a router and when I turned off the firewall and
addressed it on its LAN interface (assuming the outside address also resulted
in the rsync connection, through ssh, passing through the firewall) it has been
working nicely. If I can address it on LAN and turn the firewall back on
everything should be fine.

I noticed that when the error happens client side rsync hangs for the timeout
and when checking the remote, before timeout, there is no rsync process
running. Perhaps the connection is severed by the firewall. I assume rsync has
no mechanism for 'retrying' the connection without restarting the entire
process?

- Gaute

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html