News:

RAID is not a replacement for a backup! Here's why.

Main Menu

LS520DE FW 4.30 backup with rsync nice -5 should be 19

Started by oxygen8, December 31, 2017, 03:16:11 AM

Previous topic - Next topic

oxygen8

If i start a backup job, smb stops working.
The priority of rsync is to high


PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
7569 root      15  -5 17548 4740  712 R 104.1  1.9   0:37.99 /usr/bin/rsync
4044 root      35  15  8472  632  512 S   0.0  0.3   0:15.71 smbd
4919 debian-t  25   5 62956  17m 1792 S  21.3  7.2  76:24.78 transmission-da

oxygen8

#1
my quick and dirty solution is

crontab -l >/tmp/rsync.crontab ;
echo '*/1 * * * * /usr/bin/renice -n 19 $(/bin/pidof rsync)' >>/tmp/rsync.crontab ;
crontab < /tmp/rsync.crontab ; rm /tmp/rsync.crontab

MiG174


oxygen8

#3
i am using
renice -n 19 $(/bin/pidof rsync)

from
echo '*/1 * * * * /usr/bin/renice -n 19 $(/bin/pidof rsync)' >>/tmp/rsync.crontab


but i hope this bug will be fixed in the next firmware

where can i report a bug to buffalo?

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 189 (show)
Files included: 35 - 1354KB. (show)
Memory used: 986KB.
Tokens: post-login.
Queries used: 19.

[Show Queries]