<div dir="ltr">Hello Mr. Gray,<br><br>What was the resulting configuration change (from default) that you had made to fix this? I have reported the same issue today, and this configuration change might be what I&#39;m looking for.<br>

<br>My report: <a href="http://www.mail-archive.com/rsync@lists.samba.org/msg26787.html">http://www.mail-archive.com/rsync@lists.samba.org/msg26787.html</a><br><br>Cheers,<br>Shai<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 5:10 PM, J. T. Gray <span dir="ltr">&lt;<a href="mailto:jtg@intarcorp.com">jtg@intarcorp.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Izidor, this appears to resolve my problem.  Thank you for your input, I will be sure to attribute you on <a href="http://serverfault.com" target="_blank">serverfault.com</a> when I add an answer to my question post.<div>

<div></div><div class="h5"><br><br><br><div class="gmail_quote">
On Tue, Sep 21, 2010 at 2:49 AM, Izidor Jerebic <span dir="ltr">&lt;<a href="mailto:ij.list@gmail.com" target="_blank">ij.list@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi,<br>
<br>
this might be a problem with maximal number of concurrent ssh connections or connection requests. Ssh daemon has two configuration settings where you can define what is the maximal number of clients which can connect concurrently. This number is by default not very high, so you are probably bumping against that limit.<br>



<br>
     MaxSessions<br>
<br>
             Specifies the maximum number of open sessions permitted per net-<br>
             work connection.  The default is 10.<br>
<br>
<br>
MaxStartups<br>
<br>
             Specifies the maximum number of concurrent unauthenticated con-<br>
             nections to the SSH daemon.  Additional connections will be<br>
             dropped until authentication succeeds or the LoginGraceTime<br>
             expires for a connection.  The default is 10.<br>
             Alternatively, random early drop can be enabled by specifying the<br>
             three colon separated values ``start:rate:full&#39;&#39; (e.g.<br>
             &quot;10:30:60&quot;).  sshd(8) will refuse connection attempts with a<br>
             probability of ``rate/100&#39;&#39; (30%) if there are currently<br>
             ``start&#39;&#39; (10) unauthenticated connections.  The probability<br>
             increases linearly and all connection attempts are refused if the<br>
             number of unauthenticated connections reaches ``full&#39;&#39; (60).<br>
<font color="#888888"><br>
<br>
izidor<br>
</font><div><div></div><div><br>
On 20.9.2010, at 19:19, J. T. Gray wrote:<br>
<br>
&gt; Greetings,<br>
&gt;<br>
&gt; I posted this at serverfault, but in hopes that the people on this list are different from the people there, here it is:<br>
&gt;<br>
&gt; Update: 9/20/10: Updated the EC2 AMI on both the client and the server and ran a 3-box test with 2 clients downloading from 1 server over 24 hours. Upon test completion, the logs had zero errors so I began replacing other instances with the updated AMI instances. After a weekend of running the 35-40ish clients, I have logs once again filled with:<br>



&gt;<br>
&gt; 2010/09/20 16:27:01 [18581] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.7] 2010/09/20 16:30:01 [18627] rsync error: unexplained error (code 255) at io.c(601)<br>
&gt; Is it unreasonable to have 35-40 clients connect to an rsync server simultaneously? Is this possibly a load issue?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Sep 16, 2010 at 11:04 AM, J. T. Gray &lt;<a href="mailto:jtg@intarcorp.com" target="_blank">jtg@intarcorp.com</a>&gt; wrote:<br>
&gt; Added --bwlimit=150 at 10:58, had a success at 10:59, failure at 11:00, and success at 11:01.<br>
&gt;<br>
&gt; It takes about 1.7s to execute the rsync command, for what that&#39;s worth.<br>
&gt;<br>
&gt; That it seems to fail immediately suggests it&#39;s something connection-related, but that it fails on rsh and ssh both suggests it&#39;s something specific to the client app.  I&#39;m currently updating my EC2 image to see if it&#39;s specific to the build of Ubuntu I&#39;m using.<br>



&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Sep 16, 2010 at 10:54 AM, Mac User FR &lt;<a href="mailto:macuserfr@free.fr" target="_blank">macuserfr@free.fr</a>&gt; wrote:<br>
&gt; Already tried --bwlimit. In my case it didn&#39;t change the error. It just slowed down the identical file recognition. But when it came to a file modified from what exist on the backup server, it dropped the connection.<br>



&gt;<br>
&gt; Thanks anyway for the help!<br>
&gt;<br>
&gt; Vitorio<br>
&gt;<br>
&gt; Le 16 sept. 10 à 15:56, Paul Slootman a écrit :<br>
&gt;<br>
&gt;<br>
&gt; On Thu 16 Sep 2010, Mac User FR wrote:<br>
&gt;<br>
&gt; I read somewhere that the ssh connection was stronger than rsync one<br>
&gt; in unstable networks. And effectively, if I run rsync via ssh ( -e<br>
&gt; option), the transfer happen without errors, on the same computer<br>
&gt; using the same networking setup.<br>
&gt;<br>
&gt; I wouldn&#39;t be surprised that the extra overhead related to ssh slows the<br>
&gt; transfer sufficiently to make a flakey network connection not give up.<br>
&gt; Perhaps try rate-limiting the rsync transfer.<br>
&gt;<br>
&gt;<br>
&gt; Paul<br>
&gt; --<br>
&gt; Please use reply-all for most replies to avoid omitting the mailing list.<br>
&gt; To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
&gt; Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
&gt;<br>
&gt; --<br>
&gt; Please use reply-all for most replies to avoid omitting the mailing list.<br>
&gt; To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
&gt; Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Please use reply-all for most replies to avoid omitting the mailing list.<br>
&gt; To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
&gt; Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
<br>
</div></div></blockquote></div><br>
</div></div><br>--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br></blockquote></div><br></div>