-   Linux - General (
-   -   rsync & server load (

bigtl 07-15-2005 01:44 AM

rsync & server load

I'm using rsync to sync images from an internal system to an external webserver. The directory contains about 5000 images whaich don't change very oftern

On the target webserver, whenever rsync is in progress the server load goes up from it's normal 0.1 to somewhere between 1.5 and 2. I know this is not particulaly high, but it is affecting my database performance.

Why does rsycnc use so much of the load, and is there anything I can do to cut it down?
I'm running fefora core 3 on a duel xeon machine with 4gb of ram.


bigtl 07-15-2005 03:18 AM


i found that putting using nice 19 on the source end seems to affest the destination end too. ie

rsync -rv /home/me/ someone@somewhere:/home nice 19

seems to keep the load low on the server


bigsmile 11-06-2006 03:09 PM

maybe its too late to replay to this but i solved similar problem by adding --whole-file flag to the command. As a result, rsync do not use its delta algorythm that consumes lots of cpu calculating differences inside files. It just copies the files if modification time or size changed.
i think this will work if you backup image files.

All times are GMT -5. The time now is 01:54 PM.