Bug 12454 - rsync server is not going down.
Summary: rsync server is not going down.
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.6
Hardware: x64 Linux
: P5 major (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Keywords: test_keyword
Depends on:
Reported: 2016-11-29 12:46 UTC by Lior Lew
Modified: 2016-11-29 12:48 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Lior Lew 2016-11-29 12:46:40 UTC

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@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