Rsync in cygwin as service --bwlimit=Ignored

Berowne Hlavaty berowne.hlavaty at Barra.COM
Fri Jul 25 14:41:59 EST 2003


I am running Rsync as a service under windows2000
 
The --bwlimit option causes cygrunsrv service to fail if included during
setup of the service:
 
$ cygrunsrv -I "RSYNC" -p /usr/bin/rsync.exe -a '--config=/etc/rsyncd.conf
--daemon --bwlimit=64'
 
$ cygrunsrv -S rsync
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.
 
But without the option it works:
$ cygrunsrv -I "RSYNC" -p /usr/bin/rsync.exe -a '--config=/etc/rsyncd.conf
--daemon --no-detach'
$ cygrunsrv -S rsync
$ cygrunsrv -Q rsync
Service rsync exists
Type                : Own Process
Current State       : Running
Controls Accepted   : Accept Stop
 
Also, the --bwlimit option seems to be ignored under windows.
 
$ rsync -v ./* berowneo::temp --bwlimit=64
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 608 bytes  read 462 bytes  2140.00 bytes/sec
total size is 38419  speedup is 35.91

berowne at berowneo <mailto:berowne at berowneo>  ~/bep/log
$ rsync -v ./* berowneo::temp --bwlimit=6400
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 610 bytes  read 462 bytes  2144.00 bytes/sec
total size is 38419  speedup is 35.84

berowne at berowneo <mailto:berowne at berowneo>  ~/bep/log
$ rsync -v ./* berowneo::temp --bwlimit=6
BEPLog.txt
Ossize.txt
SwitchBEPServer.Log
VerifydbResultsPostProcess.txt
VerifydbResultsPreProcess.txt
wrote 607 bytes  read 462 bytes  2138.00 bytes/sec
total size is 38419  speedup is 35.94

 
 
Thanks.
 


Berowne Hlavaty 
Technical Consultant 
Barra International Ltd 
+61-2-9220-9303 
berowne.hlavaty at barra.com 

 



More information about the rsync mailing list