-2

I'm planning to run an rsync command on Server A, to copy 40GB of files to Server B.

Server A is a production server, Server B is not.

If I run rsync on Server A, can the command detrimentally affect the performance of that server? It needs to continue to work as an FTP server during the transfer.

edev
  • 3
  • 1
  • 1
    Run with highest nice and ionice. – Ipor Sircer Oct 11 '16 at 11:27
  • 1
    In short yes of course it can have an impact on the performance of both the source and destination. See for instance [this Q&A](http://serverfault.com/q/381488/37681) for mitigating measures. – HBruijn Oct 11 '16 at 11:30
  • For fun, try rsyncing to a USB stick mounted on your workstation, and watch the rest of the system crawwwwllllll....... – Michael Hampton Oct 15 '16 at 01:18

2 Answers2

0

"Can rsync detrimentally affect the performance of the source server?"

Yes, of course, any new load can detrimentally affect the performance of a server - but you've not let us know the spec or utilisation of the source or target servers, their NICs or the bandwidth, latency and utilisation of the links between them - so we can't answer this with any degree of certainty.

Chopper3
  • 100,240
  • 9
  • 106
  • 238
0

For sure, rsync is gonna take all the possible bandwitch to transfer the data but you can always use the option --bwlimit like so:

rsync --bwlimit=5000 /foo user@serverB:/bar

This will limit transfering speed to 5Mb/s

Or you can also use ionice as already pointed out.

sysfiend
  • 1,327
  • 1
  • 11
  • 24
  • I will use it in conjunction with ionice as described in the [Q&A](http://serverfault.com/q/381488/37681) linked above, the usage looks straightforward. – edev Oct 11 '16 at 14:03