Rsync processes remain in sleep mode / don't terminate after sync hing

Mueller-Lynch Thomas thomas.mueller-lynch at siemens.com
Tue Jan 13 07:31:41 GMT 2004


Hello,

We're synching several directories between two windows server 2003 machines.
Rsync version is 2.5.7

The command is running via a batch script, which looks like:

....
D:\cygwin\bin\rsync.exe -rva --progress --delete --force --stats --exclude-from=d:\batch\rsync\excludes\excludes.txt /cygdrive/n/zphome/intranet.cp.siemens.de/sub1 server::wwwroot1/ >> d:\batch\rsync\logs\rsynclog.txt 2>&1

D:\cygwin\bin\rsync.exe -rva --progress --delete --force --stats --exclude-from=d:\batch\rsync\excludes\excludes.txt /cygdrive/n/zphome/intranet.cp.siemens.de/sub2 server::wwwroot1/ >> d:\batch\rsync\logs\rsynclog.txt 2>&1

.... (some more lines of that)


Although rsync synches every directory some processes of rsync remain active (should better say 'don't terminate') on the receiving server (where rsync demon runs).
In a consequense of that I have several rsync processes allocationg memory within some days

     2476       0       0       2476    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     2928       0       0       2928    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
      912       0       0        912    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     3852       0       0       3852    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     3420       0       0       3420    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
      480       0       0        480    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     3948       0       0       3948    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     2316       0       0       2316    ?    0   Dec 23 D:\sw\cygwin\bin\rsync.exe
     4008       0       0       4008    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3484       0       0       3484    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3248       0       0       3248    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3840       0       0       3840    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     2900       0       0       2900    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3604       0       0       3604    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     2688       0       0       2688    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3656       0       0       3656    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3240       0       0       3240    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
     3456       0       0       3456    ?    0   Dec 24 D:\sw\cygwin\bin\rsync.exe
....

What can we do to avoid this?
Thank you in advance.


Best regards

Thomas Müller-Lynch
		 
 _______________________________________________________
		 
 Thomas Müller-Lynch
 Webmaster CP, MCSE
 
 Siemens AG, CP CO IT
 Corporate Personnel
 CP CIO Office
 
 Phone: +49 (0)89 636-35393
 Fax: +49 (0)89 636 35834
 Mobile-Geschäft: +49 (0)175 2616680
 
 E-Mail: thomas.mueller-lynch at siemens.com
 ________________________________________________________



More information about the rsync mailing list