Welcome! » Log In » Create A New Profile

Requesting addition to the FAQ

Posted by Anonymous 
Requesting addition to the FAQ
April 15, 2011 11:05AM
I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: [esr.ibiblio.org]

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=""[www.catb.org]; 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. [p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Requesting addition to the FAQ
April 15, 2011 12:02PM
On 15/04/11 18:45, Eric Raymond wrote:
Quote

I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: [esr.ibiblio.org]

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 [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. [p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Requesting addition to the FAQ
April 15, 2011 05:50PM
On Fri, Apr 15, 2011 at 01:45:24PM -0400, Eric Raymond wrote:
Quote

I discovered rsnaphot recently, and have praised it as an excellent
example of Unix style here: [esr.ibiblio.org]
Thanks!

Quote

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> [www.cyber.com.au]
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. [p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Requesting addition to the FAQ
April 15, 2011 11:46PM
David Keegel <djk < at > cyber.com.au>:
Quote

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=""[www.catb.org]; 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. [p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Sorry, only registered users may post in this forum.

Click here to login