Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-25-2005, 08:04 PM   #1
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
rsync reduce cpu usage

hi all

we're using rsync to backup our web server at the moment using it in a cron job
the server we are using to receive all the sync files is a live but not heavily used linux machine
but rsync still takes up more resources than we want it to
it takes up to 95% (fluctuating) cpu load and a fair bit of memory too

the cron job uses
nice -19 rsync -a /local/backup
but that doesn't seem to do anything, is there anyway to make it use like 5% cpu or something?

one more thing, on the server we are getting the files from, max connections is set to 1 in rsyncd.conf
but when i go to top on the backup server, i can see several instances of rsync running
eg. every twenty minutes a new rsync starts running
that's not how it's meant to work, does anyone know how i can make it so that
if one rsync instance is still going, then the next one shouldn't start up?



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu usage bijuhpd Linux - Newbie 4 10-02-2005 10:41 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM
how to reduce cpu usage by mplayer? taoweijia Linux - Software 4 02-10-2004 03:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 PM.

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