LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-15-2005, 01:44 AM   #1
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Rep: Reputation: 15
rsync & server load


Hi,

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.

Thanks
Tony
 
Old 07-15-2005, 03:18 AM   #2
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Original Poster
Rep: Reputation: 15
fixed

Hi,

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


tony
 
Old 11-06-2006, 03:09 PM   #3
bigsmile
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
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.
 
  


Reply

Tags
cpu, rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync & scponlyc shell: not working hamish Linux - Software 3 05-28-2005 07:15 AM
Rsync & special characters strakkejakke Linux - Software 0 02-09-2005 01:52 PM
using rsync with cron & pub. key kmitz Fedora 0 01-14-2005 08:01 AM
rsync 2.6.3 v. 28 win32 & linux jgolden Linux - Networking 2 01-05-2005 02:56 PM
rsync & acl collen Linux - Software 0 12-10-2003 09:22 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration