Review your favorite Linux distribution.
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 08-18-2011, 01:13 PM   #1
LQ Newbie
Registered: Jul 2011
Posts: 25

Rep: Reputation: Disabled
rsnapshot makes my machine slow to a crawl

So I recently started using rsnapshot to back up the three computers on my home network to the media/file server. It works great...except for one thing. Whenever the every-four-hours backup kicks in, my system gets so slow you can barely use it. I think it's just taking over hard disk access, because I can type in a window fine, for instance, but some other actions like loading files or sometimes browsing the Web freeze up for about 15 seconds before coming back.

What I'd like is a way to limit rsync's processor usage. I don't care if it takes a little while longer, there's no particular hurry. And I have a pretty powerful computer, so I don't see any reason it can't run a program and copy a file at the same time.

I tried using ionice -p [pid] 3, which is supposed to make the process only access the disk when it's otherwise idle, but it didn't really help. Besides, I'd have to run that every time the backup started. Turning off four-hourly backups also isn't a viable solution, because I don't have the system on all the time, so I need to have a few backups at times when I'm likely to have it on to be sure it gets backed up at all.

So, is there some tool I'm missing, or another solution?
Old 08-18-2011, 01:21 PM   #2
LQ Newbie
Registered: Jul 2011
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hmm, I tried renicing both sshd and rsync to a value of 19. That was a heck of a lot better, but still leaves something to be desired. And it would be extremely annoying to set that every time I'm using the computer while the backup comes on. I suppose I could set a cron job to do that, but that would be a bit silly.
Old 08-18-2011, 10:03 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,592

Rep: Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435
You should use the 'nice' cmd when you invoke the backup job ie cron entry.
Old 08-18-2011, 10:22 PM   #4
LQ Newbie
Registered: Jul 2011
Posts: 25

Original Poster
Rep: Reputation: Disabled
The problem is that rsnapshot is invoked from the server end, so it'd be pretty pointless to nice it on the server--I'd be happy to let the server run as much as it wants, it's my desktop I don't want to lock up. (Or am I wrong and might that help anyway?)


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
Help! Why does my connection to my linux box slow to a crawl? rbonafied Linux - Networking 6 05-31-2011 09:57 PM
KDE/Linux slow to a crawl ? M$ISBS Linux - Newbie 8 05-22-2008 10:57 PM
Slow disk makes machine unusable designator Linux - Hardware 4 12-30-2007 01:28 PM
Internet=Slow Crawl Suse 10.2 PipeDreams SUSE / openSUSE 7 12-15-2006 09:35 PM
Webmin causes Apache2 server to slow down to a crawl PlymWS Linux - Server 4 09-05-2006 05:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 AM.

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