SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Requesting addition to the FAQ
Author Message
Post Requesting addition to the FAQ 
I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: <http://esr.ibiblio.org/?p=3124>

I suggest an addition to the FAQ, based on my experience with rsnapshot/rsync:

Q: My rsnapshot setup seems to eat the processor on the machines I'm
backing up from. How can I prevent this?

A: rsnapshot itself is a low-overhead program, but rsync can drive processor
utilization uncomfortably high. To address this, tell your rsync to run
with high nice and ionice values, like 10 and -c3 respectively.

Depending on how rsync was packaged for your system, your installation
may have an /etc/default/rsync file. If it does, set RSYNC_NICE and
RSYNC_IONICE as recommended. Then restart the rsync daemon. You should
notice a difference immediately.

--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

It is proper to take alarm at the first experiment on our
liberties. We hold this prudent jealousy to be the first duty of
citizens and one of the noblest characteristics of the late
Revolution. The freemen of America did not wait till usurped power had
strengthened itself by exercise and entangled the question in
precedents. They saw all the consequences in the principle, and they
avoided the consequences by denying the principle. We revere this
lesson too much ... to forget it -- James Madison.

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Requesting addition to the FAQ 
On 15/04/11 18:45, Eric Raymond wrote:
I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: <http://esr.ibiblio.org/?p=3124>

I suggest an addition to the FAQ, based on my experience with rsnapshot/rsync:

Q: My rsnapshot setup seems to eat the processor on the machines I'm
backing up from. How can I prevent this?

A: rsnapshot itself is a low-overhead program, but rsync can drive processor
utilization uncomfortably high. To address this, tell your rsync to run
with high nice and ionice values, like 10 and -c3 respectively.

Depending on how rsync was packaged for your system, your installation
may have an /etc/default/rsync file. If it does, set RSYNC_NICE and
RSYNC_IONICE as recommended. Then restart the rsync daemon. You should
notice a difference immediately.


I also use "chrt" to put the script into the idle scheduler class as
well on Linux (batch on other POSIX systems - as 'idle' is a Linux
extension).

I edit the rsync crontab so that it uses command like:

nice -n 19 ionice -c 3 chrt -p -i 0 /usr/bin/rsnapshot daily

when starting rsnapshot itself.

Tim.

--
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53 http://seoss.co.uk/ +44-(0)1273-808309


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Requesting addition to the FAQ 
On Fri, Apr 15, 2011 at 01:45:24PM -0400, Eric Raymond wrote:
I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: <http://esr.ibiblio.org/?p=3124>

Thanks!

I suggest an addition to the FAQ, based on my experience with rsnapshot/rsync:

Q: My rsnapshot setup seems to eat the processor on the machines I'm
backing up from. How can I prevent this?

A: rsnapshot itself is a low-overhead program, but rsync can drive processor
utilization uncomfortably high. To address this, tell your rsync to run
with high nice and ionice values, like 10 and -c3 respectively.

Depending on how rsync was packaged for your system, your installation
may have an /etc/default/rsync file. If it does, set RSYNC_NICE and
RSYNC_IONICE as recommended. Then restart the rsync daemon. You should
notice a difference immediately.

Thanks for the contribution, Eric. I have added that to the FAQ.

I rarely use rsync daemon (I generally use rsync over ssh), but I'm happy
to take Eric's word for it about the second paragraph of the answer.

--
___________________________________________________________________________
David Keegel <djk < at > cyber.com.au> http://www.cyber.com.au/users/djk/
Cyber IT Solutions (ABN 13 053 904 082) Linux & Unix Systems Administration

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Requesting addition to the FAQ 
David Keegel <djk < at > cyber.com.au>:
I rarely use rsync daemon (I generally use rsync over ssh), but I'm happy
to take Eric's word for it about the second paragraph of the answer.

Worked on my Ubuntu 10.10. I'm reasonably sure the same recipe would apply
on other Debian-based systems. Not sure about Fedora.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB