slow rsync connection establish

tanshul22 tanshul22 at hotmail.com
Wed Jan 14 05:21:15 GMT 2009


Thanks Matt.
That makes a lot of sense now.


Matt McCutchen-7 wrote:
> 
> On Tue, 2009-01-13 at 16:20 -0800, tanshul22 wrote:
>> I am running the rsync server on a windows xp machine on my local
>> network. It
>> is taking about 10-15 secs for me to get a connection with the rsync
>> server.
>> Once the connection is established, i am getting transfer speeds of
>> 5-6MBps
>> which is great. For every connection i see:
>> 
>> name lookup failed for 192.168.0.76: Unknown server error
>> [3820] connect from UNKNOWN (192.168.0.76)
>> 
>> I wonder if there is a way to disable the name lookup?
> 
> There currently isn't, but there have been multiple previous requests
> for it:
> 
> http://www.mail-archive.com/rsync@lists.samba.org/msg21543.html
> http://www.mail-archive.com/rsync@lists.samba.org/msg20188.html
> 
> I think it's reasonable to make rsync skip the lookup when "hosts allow"
> and "hosts deny" are both absent from the configuration file.  That
> means no hostname will be logged.  An admin who wants to know the
> hostname can do a manual reverse lookup later or, if he/she insists on
> having it determined at the time of the connection, specify "hosts allow
> = *" like you did.  I will submit a patch.
> 
> -- 
> Matt
> 
> -- 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/slow-rsync-connection-establish-tp21447607p21450288.html
Sent from the Samba - rsync mailing list archive at Nabble.com.



More information about the rsync mailing list