<div class="gmail_quote"><div class="gmail_quote">
Hello.<br><br>
My problem is Rsync stops when I use it between 2 of my servers (2 NAS Synology) ( named &quot;<b>.22</b>&quot; and &quot;<b>.6</b>&quot; ).<br>The problem continue...<br><br>For example : <br>_ Rsync run correctly between my server &quot;<b>.22</b>&quot; and &quot;.6&quot; ( in the 2 directions )<br>

_ Rsync run correctly between my server &quot;.6&quot; and &quot;<b>.8</b>&quot; ( in the 2 directions )<br>_ Rsync <u>doesn&#39;t run</u> correctly between my server &quot;<b>.8</b>&quot; and &quot;<b>.22</b>&quot; ( in the 2 directions ) :<br>

With little files ( ~ 2 Ko ) the replication works correctly ! But, with larger files ( &gt; 20Ko ), Rsync &quot;stops&quot; on the middle, and always at the same moment : It&#39;s seems to stop to send datas.<br>

<br><br>Here an example of Rsync&#39;s error between my server &quot;<b>.8</b>&quot; and &quot;<b>.22</b>&quot; (with the file &quot;port-stagiaire.htm&quot; ~20Ko )<div><div></div><div class="h5"><br>
<br>
#&gt; rsync -avvvv --timeout=60 /volume1/old/port-stagiaire.htm root@192.168.0.8:/volume1/NetBackup/test5<br>
<br>
<i>cmd=&lt;NULL&gt; machine=192.168.0.8 user=root path=/volume1/NetBackup/test5<br>
cmd[0]=ssh cmd[1]=-l cmd[2]=root cmd[3]=192.168.0.8 cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtpre.iLs cmd[7]=--timeout=60 cmd[8]=. cmd[9]=/volume1/NetBackup/</i><i>test5<br>
opening connection using: ssh -l root 192.168.0.8 rsync --server -vvvvlogDtpre.iLs --timeout=60 . /volume1/NetBackup/test5<br>
note: iconv_open(&quot;ANSI_X3.4-1968&quot;, &quot;ANSI_X3.4-1968&quot;) succeeded.<br>
(Client) Protocol versions: remote=30, negotiated=30<br>
(Server) Protocol versions: remote=30, negotiated=30<br>
sending incremental file list<br>
[sender] make_file(port-stagiaire.htm,*</i><i>,0)<br>
[sender] flist start=1, used=1, low=0, high=0<br>
[sender] i=1 /volume1/old port-stagiaire.htm mode=0100744 len=21250 uid=0 gid=0 flags=5<br>
send_file_list done<br>
file list sent<br>
send_files starting<br>
server_recv(2) starting pid=7785<br>
gid 0() maps to 0<br>
recv_file_name(port-stagiaire.</i><i>htm)<br>
received 1 names<br>
[receiver] flist start=1, used=1, low=0, high=0<br>
[receiver] i=1 1 port-stagiaire.htm mode=0100744 len=21250 uid=0 gid=0 flags=0<br>
recv_file_list done<br>
get_local_name count=1 /volume1/NetBackup/test5<br>
generator starting pid=7785<br>
recv_files(1) starting<br>
delta-transmission enabled<br>
recv_generator(port-stagiaire.</i><i>htm,1)<br>
send_files(1, /volume1/old/port-stagiaire.</i><i>htm)<br>
count=0 n=0 rem=0<br>
send_files mapped /volume1/old/port-stagiaire.</i><i>htm of size 21250<br>
calling match_sums /volume1/old/port-stagiaire.</i><i>htm<br>
port-stagiaire.htm<br>
sending file_sum<br>
false_alarms=0 hash_hits=0 matches=0<br>
sender finished /volume1/old/port-stagiaire.</i><i>htm<br>
generate_files phase=1<br>
_exit_cleanup(code=30, file=io.c, line=237): entered<br>
rsync error: timeout in data send/receive (code 30) at io.c(237) [receiver=3.0.4]<br>
_exit_cleanup(code=30, file=io.c, line=237): about to call exit(30)<br>
Killed by signal 2.<br>
_exit_cleanup(code=20, file=rsync.c, line=582): entered<br>
rsync error: unexplained error (code 255) at rsync.c(582) [sender=3.0.4]<br>
_exit_cleanup(code=20, file=rsync.c, line=582): about to call exit(255)</i><br>
<br>
<br><br></div></div>Here it&#39;s the log on the &quot;backup&quot; server ( the &quot;<b>.8</b>&quot; for example ), when I use Rsync&#39;s daemon connection (with command &quot;rsync ... root@192.168.0.8::NetBackup/test5&quot; ) :<div class="im">
<br><br>

<i>2009/07/15 11:21:13 [7793] connect from pc22.priv (192.168.0.22)<br>
2009/07/15 11:21:17 [7793] rsync to NetBackup/test5 from root@pc22.priv (192.168.0.22)<br>
2009/07/15 11:21:17 [7793] receiving file list<br>
2009/07/15 11:22:17 [7793] rsync error: timeout in data send/receive (code 30) at io.c(237) [receiver=3.0.4]<br>
2009/07/15 11:22:17 [7793] rsync: connection unexpectedly closed (88 bytes received so far) [generator]<br>
2009/07/15 11:22:17 [7793] rsync error: rsync service is no running (code 43) at io.c(633) [generator=3.0.4]</i><br>
<br><br>
<br></div>For information, the server &quot;.6&quot; runs a 2.6.3 version of rsync (protocol v.28).<br>the server &quot;<b>.22</b>&quot; and &quot;<b>.6</b>&quot; run a 3.0.4 version of rsync (protocol v.30). ( I searched on the net, no problem for this version. )<br>

<br>I tried to force to use the protocol v.28 with the &quot;<b>.22</b>&quot; and &quot;<b>.6</b>&quot; =&gt; same error.<br><br><br>I&#39;m not sure the problem comes from Rsync...<br><br>My team and me  doesn&#39;t know from which that can come. If somebody has an idea ... :)<br>

<br><br>Thx<br>
</div><br>
</div><br>