LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-23-2013, 08:03 PM   #1
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 366

Rep: Reputation: 31
Question rsync gobbles resources 12.04


Friends--

Rsync is gobbling resources, and I do not know why. Can you help me tame the monster?

Symptom: When rsync is running a backup, it locks up the machine, so that it takes 30-60 seconds to open a directory in LibreOffice, and another 30-60 seconds to open the file once it shows up in the list and I can click on it.

The sytem: This is a production environment. I am working on desktop box that is less than one year old, running Ubuntu 12.04 64 bit. The server is a box that is probably 5 or 6 years old, running Ubuntu 12.04 (3.2.0-54-generic-pae).

This is the root crontab command I am currently running that is giving the problems:
Code:
35 1,11,19 * * *	   /usr/bin/nice -n 9 rsync -a --delete ~doug/.thunderbird/7d7zoxfq.default/Mail /sam/vol22/comm/evo/tbird
(/sam is the mount point for the server.)

I have tried running this without the nice command and with settings such as -n 19, and I think as -n -19, and without the nice command. All with the same results.

I want to be able to have this run every hour, but I my health would not allow the high blood pressure that often while I am waiting! <grin>

I did not have this problem when I was running this command under 10.04 (but it was on an older machine).

Thanks!
 
Old 10-23-2013, 09:13 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Have you tried ionice?
 
Old 10-28-2013, 09:38 PM   #3
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 366

Original Poster
Rep: Reputation: 31
Question

AlucardZero--

No. Just read its man file and sounds like it could be good, with c=3 for my use. Will see if I can get it and try it out.

Thanks!
 
Old 10-29-2013, 09:04 PM   #4
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 366

Original Poster
Rep: Reputation: 31
Question

AlucardZero--

Well, that did not work. Still it is taking over the machine.

Perhaps if the IO request comes before I do some other task on the machine, it already has control of the resources. Could I combine ionice and nice? Any suggestions on doing this? Or other possible answers?
 
  


Reply

Tags
nice, rsync



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
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
LXer: Google gobbles kaput search robot Cuil's patents LXer Syndicated Linux News 0 02-22-2012 04:20 AM
[SOLVED] rsync fails in cron - ssh key prob for rsync? jonathansfl Linux - Server 6 12-09-2010 09:48 AM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM
pdfinfo gobbles up to 90% cpu! pgk3734 SUSE / openSUSE 1 11-19-2004 03:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration