samba-bugs at samba.org
2016-Nov-29  12:46 UTC
[Bug 12454] New: rsync server is not going down.
https://bugzilla.samba.org/show_bug.cgi?id=12454
            Bug ID: 12454
           Summary: rsync server is not going down.
           Product: rsync
           Version: 3.1.3
          Hardware: x64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: core
          Assignee: wayned at samba.org
          Reporter: LIORLEW at Amdocs.com
        QA Contact: rsync-qa at samba.org
Hello, 
we are using rsync in production to copy data from main servers to replication
servers. 
the command we are using is:
rsync -az -h --delete --include="*/"
--include="*UUP_FILE*.dat" --exclude="*"
"/opt/app/es/appahome/pnmesp1/var/m3g/projs/apr/interfaces/output/UUP/23112016/"
-e "/usr/bin/ssh -q -o StrictHostKeyChecking=no -o
PasswordAuthentication=no"
pngesp1 at target.server.com:/tmp/UUP/ --log-file=rsync_nbies1_uup.log
the result of this command is that I can see 2 processes running on the target
server:
pngesp1   9065  9064  0 Nov23 ?        00:00:03 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
pngesp1   9070  9065 29 Nov23 ?        00:02:57 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
the problem starts when the command on source ends, but I can still see the
command on the server running. then my process is executing a new rsync command
on source 5 minutes later and I can see 2 servers running on target (total of 4
processes). example:
pngesp1   9065  9064  0 Nov23 ?        00:00:03 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
pngesp1   9070  9065 29 Nov23 ?        00:02:59 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
pngesp1  20097 20096 92 00:00 ?        00:00:01 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
pngesp1  20102 20097  0 00:00 ?        00:00:00 rsync --server -lOogDtprze.is
--delete .
/opt/app/es/appahome/pngesp1/var/m3g/projs/apr/interfaces/output/UUP/
when that happens I get many errors on the new process stating that the temp
file, rsync is creating, doesn't exist. probably the process that should
have
gone down, already deleted it.
more info:
rsync  version 3.0.6  protocol version 30
uname -a -> Linux olpvces1 2.6.18-416.el5 #1 SMP Wed Oct 26 12:04:18 EDT 2016
x86_64 x86_64 x86_64 GNU/Linux
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
