Hello,<div><br></div><div>I have installed and working csync2 together with lsyncd on few servers. All is working fine except that we noticed a strange problem. Let's say that we have csync2 + lsyncd installed on a server which sync /var/www to the other servers and we have a FTP user that upload to /var/www a file (bigger file). What i see is following. I start to upload a bigger file to /var/www and i keep watching file uploading progress in FTP client and on server. At some point during upload lsync see that there is a new file and notify csync2 to sync it. At this point I see that on server side file writing stops and file size do not change anymore, but on FTP client still continue to upload. </div>
<div><br></div><div>Result is that file on server is uploaded partially, but FTP client says that it is fully uploaded. After few checks and tests I see that always file gets corrupted.</div><div><br></div><div>I set proftpd to use a temporary hidden file until upload finish and then rename it to final name, but still I need to find a solution of this problem.</div>
<div><br></div><div>This problem does not happen If I upload the file on a directory different than the one that csync2 sync, then file is fully uploaded and healthy.</div><div><br></div><div>Any ideas why this happens and how to solve this problem?</div>
<div><br></div><div>Awaiting for your reply.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Regards,</div><div>Ali<br clear="all"><div><br></div>-- <br><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Iguana Information Technologies, SL</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Calle López de Hoyos 35, 1º</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">28002 Madrid</span>, España (Spain)</div>+34 915569100<br>+34 649336286<br><a href="http://www.iguanait.com/" target="_blank">http://www.iguanait.com/</a><br>
<br>Advertencia<br>-----------<br>Este mensaje contiene información privada y confidencial. Si usted<br>no es el destinatario, no está autorizado a leer, imprimir, retener,<br>copiar o difundir este mensaje o parte de él. En caso de que usted<br>
reciba este mensaje por error debe borrarlo. Gracias.<br><br>Confidentiality notice<br>----------------------<br>This message contains private and confidential information. If you<br>are not the named addressee, you are not authorized to read, print,<br>
retain, copy or disseminate this message or any part of it. In case<br>you receive this message by mistake you should delete it. Thanks.<br>
</div>