Balogh László
2016-01-31 10:45:49 UTC
Hi All,
I'm new in this thread. I'm using rsnapshot for backing up my linux
system about two months ago. It's working very well, i have only one
problem.
I've set up an incremental backup, i have three hourly (00, 08 and 16h),
7 daily, 4 weekly and 6 monthly:
retain hourly 3
retain daily 7
retain weekly 4
retain monthly 6
Interesting is, that i have problems at the 08h hourly backup. When the
rsnapshot is running at that time (08h) the system load gets a very high
level, above 15, sometimes about 30. At the other times the load is also
a little bit high, but the system is reachable. But when its backing up
at 08h after a few minutes the load gets incredible high, so the system
is not reacheble, or takes minutes to type a character.
There is no other job at 08h which could affect rsnaphot job.
I googled for the sollution and tried what i found:
1. In /etc/default/rsync file i configured:
RSYNC_NICE='10'
RSYNC_IONICE='-c3'
2. I'm running in cron with option ionice -c 3:
5 0,8,16 * * * ionice -c 3
/usr/bin/rsnapshot hourly
Nothing helps. :(
I also had checked my hard drives, which should be ok:
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sda | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 0
3 Spin_Up_Time 0x0027 174 173 021 Pre-fail
Always - 4258
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 13
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age
Always - 1867
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 13
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 7
193 Load_Cycle_Count 0x0032 196 196 000 Old_age
Always - 14075
194 Temperature_Celsius 0x0022 115 111 000 Old_age
Always - 32
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdb | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 0
3 Spin_Up_Time 0x0027 186 180 021 Pre-fail
Always - 5683
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 35
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 084 084 000 Old_age
Always - 12113
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 35
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 32
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 2
194 Temperature_Celsius 0x0022 121 111 000 Old_age
Always - 29
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdc | grep 0x00
<--------------- BACKUP DRIVE!
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 386
3 Spin_Up_Time 0x0027 168 168 021 Pre-fail
Always - 4566
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 48
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 074 074 000 Old_age
Always - 19282
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 48
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 37
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 10
194 Temperature_Celsius 0x0022 113 108 000 Old_age
Always - 34
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdd | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 36
3 Spin_Up_Time 0x0027 169 167 021 Pre-fail
Always - 6541
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 115
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 061 061 000 Old_age
Always - 29141
10 Spin_Retry_Count 0x0032 100 100 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 113
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 104
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 10
194 Temperature_Celsius 0x0022 115 106 000 Old_age
Always - 35
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
I tried manually rsync some large folders, but the load seems to be ok
(same source, same destination drive/folder), goes to load 2, but not
higher.
I'm using Ubuntu server 14.04.3 LTS in 24/7 mode.
Backup destiantion is a separate local hard drive mounted (mount output
of the backup destination drive)
/dev/sdc1 on /mnt/sdc1 type ext4
(rw,noatime,commit=120,errors=remount-ro)
Has anyone any idea what should i try to get rid of that high load?
Thanks
Regards
Laszlo
---
Ezt az e-mailt az Avast víruskeresõ szoftver átvizsgálta.
https://www.avast.com/antivirus
I'm new in this thread. I'm using rsnapshot for backing up my linux
system about two months ago. It's working very well, i have only one
problem.
I've set up an incremental backup, i have three hourly (00, 08 and 16h),
7 daily, 4 weekly and 6 monthly:
retain hourly 3
retain daily 7
retain weekly 4
retain monthly 6
Interesting is, that i have problems at the 08h hourly backup. When the
rsnapshot is running at that time (08h) the system load gets a very high
level, above 15, sometimes about 30. At the other times the load is also
a little bit high, but the system is reachable. But when its backing up
at 08h after a few minutes the load gets incredible high, so the system
is not reacheble, or takes minutes to type a character.
There is no other job at 08h which could affect rsnaphot job.
I googled for the sollution and tried what i found:
1. In /etc/default/rsync file i configured:
RSYNC_NICE='10'
RSYNC_IONICE='-c3'
2. I'm running in cron with option ionice -c 3:
5 0,8,16 * * * ionice -c 3
/usr/bin/rsnapshot hourly
Nothing helps. :(
I also had checked my hard drives, which should be ok:
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sda | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 0
3 Spin_Up_Time 0x0027 174 173 021 Pre-fail
Always - 4258
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 13
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age
Always - 1867
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 13
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 7
193 Load_Cycle_Count 0x0032 196 196 000 Old_age
Always - 14075
194 Temperature_Celsius 0x0022 115 111 000 Old_age
Always - 32
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdb | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 0
3 Spin_Up_Time 0x0027 186 180 021 Pre-fail
Always - 5683
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 35
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 084 084 000 Old_age
Always - 12113
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 35
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 32
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 2
194 Temperature_Celsius 0x0022 121 111 000 Old_age
Always - 29
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdc | grep 0x00
<--------------- BACKUP DRIVE!
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 386
3 Spin_Up_Time 0x0027 168 168 021 Pre-fail
Always - 4566
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 48
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 074 074 000 Old_age
Always - 19282
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 48
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 37
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 10
194 Temperature_Celsius 0x0022 113 108 000 Old_age
Always - 34
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
***@mcllserver:/mnt/sdc1# smartctl -a /dev/sdd | grep 0x00
SMART capabilities: (0x0003) Saves SMART data before entering
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail
Always - 36
3 Spin_Up_Time 0x0027 169 167 021 Pre-fail
Always - 6541
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 115
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 061 061 000 Old_age
Always - 29141
10 Spin_Retry_Count 0x0032 100 100 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 113
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 104
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 10
194 Temperature_Celsius 0x0022 115 106 000 Old_age
Always - 35
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
I tried manually rsync some large folders, but the load seems to be ok
(same source, same destination drive/folder), goes to load 2, but not
higher.
I'm using Ubuntu server 14.04.3 LTS in 24/7 mode.
Backup destiantion is a separate local hard drive mounted (mount output
of the backup destination drive)
/dev/sdc1 on /mnt/sdc1 type ext4
(rw,noatime,commit=120,errors=remount-ro)
Has anyone any idea what should i try to get rid of that high load?
Thanks
Regards
Laszlo
---
Ezt az e-mailt az Avast víruskeresõ szoftver átvizsgálta.
https://www.avast.com/antivirus