Backuppc rsync occasionally hangs on remote

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am using Backuppc for backing up 7 Ubuntu 18.04 machines. These hosts are running the exact same setup and hardware. I am just backing up the htdocs folders and and the db dumps that are generated by using DumpPreUserCmd bash script. Since the # of files and size is pretty small, a full or incremental backup is taking between 1-5 minutes per host. However one host is causing trouble from time to time and I have absolutely no clue what is going on.



Two days ago the incremental backup took 440 minutes for 2169 #files (26MB). I checked the free memory and cpu on the remote and the server while the backup was running and couldn't identify any problems. Actually the rsync process on the remote was stuck with 0% CPU usage and was only showing some workload every other minute. (Also the NewFileList was only updated every 5-10 minutes on the server) Next day the incremental backup was finished within 2 minutes. Today I was facing the same issue. So I manually stopped the backup and re-queued it. This time is was done in 2 minutes.



Actually I have no idea what is going on since it is only happening to this particular host which has the same setup as the other hosts.



top - 13:04:51 up 6 days, 2:05, 1 user, load average: 0,01, 0,01, 0,00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,3 us, 0,0 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,3 si, 2,3 st
KiB Mem : 994144 total, 69084 free, 379932 used, 545128 buff/cache
KiB Swap: 1310712 total, 694520 free, 616192 used. 396812 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6107 backuppc 20 0 21944 9536 2380 S 0,0 1,0 0:01.58 rsync

strace
select(2, , [1], , tv_sec=60, tv_usec=0) = 1 (out [1], left tv_sec=59, tv_usec=999963)
write(1, ""nn#: libraries/classes/Plugins/"..., 18206) = 16384


Any ideas on how to debug this issue?










share|improve this question









New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
    – BowlOfRed
    yesterday










  • When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
    – travisbotello
    yesterday











  • Actually the select() is stalling every other minute.
    – travisbotello
    yesterday














up vote
0
down vote

favorite












I am using Backuppc for backing up 7 Ubuntu 18.04 machines. These hosts are running the exact same setup and hardware. I am just backing up the htdocs folders and and the db dumps that are generated by using DumpPreUserCmd bash script. Since the # of files and size is pretty small, a full or incremental backup is taking between 1-5 minutes per host. However one host is causing trouble from time to time and I have absolutely no clue what is going on.



Two days ago the incremental backup took 440 minutes for 2169 #files (26MB). I checked the free memory and cpu on the remote and the server while the backup was running and couldn't identify any problems. Actually the rsync process on the remote was stuck with 0% CPU usage and was only showing some workload every other minute. (Also the NewFileList was only updated every 5-10 minutes on the server) Next day the incremental backup was finished within 2 minutes. Today I was facing the same issue. So I manually stopped the backup and re-queued it. This time is was done in 2 minutes.



Actually I have no idea what is going on since it is only happening to this particular host which has the same setup as the other hosts.



top - 13:04:51 up 6 days, 2:05, 1 user, load average: 0,01, 0,01, 0,00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,3 us, 0,0 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,3 si, 2,3 st
KiB Mem : 994144 total, 69084 free, 379932 used, 545128 buff/cache
KiB Swap: 1310712 total, 694520 free, 616192 used. 396812 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6107 backuppc 20 0 21944 9536 2380 S 0,0 1,0 0:01.58 rsync

strace
select(2, , [1], , tv_sec=60, tv_usec=0) = 1 (out [1], left tv_sec=59, tv_usec=999963)
write(1, ""nn#: libraries/classes/Plugins/"..., 18206) = 16384


Any ideas on how to debug this issue?










share|improve this question









New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
    – BowlOfRed
    yesterday










  • When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
    – travisbotello
    yesterday











  • Actually the select() is stalling every other minute.
    – travisbotello
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am using Backuppc for backing up 7 Ubuntu 18.04 machines. These hosts are running the exact same setup and hardware. I am just backing up the htdocs folders and and the db dumps that are generated by using DumpPreUserCmd bash script. Since the # of files and size is pretty small, a full or incremental backup is taking between 1-5 minutes per host. However one host is causing trouble from time to time and I have absolutely no clue what is going on.



Two days ago the incremental backup took 440 minutes for 2169 #files (26MB). I checked the free memory and cpu on the remote and the server while the backup was running and couldn't identify any problems. Actually the rsync process on the remote was stuck with 0% CPU usage and was only showing some workload every other minute. (Also the NewFileList was only updated every 5-10 minutes on the server) Next day the incremental backup was finished within 2 minutes. Today I was facing the same issue. So I manually stopped the backup and re-queued it. This time is was done in 2 minutes.



Actually I have no idea what is going on since it is only happening to this particular host which has the same setup as the other hosts.



top - 13:04:51 up 6 days, 2:05, 1 user, load average: 0,01, 0,01, 0,00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,3 us, 0,0 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,3 si, 2,3 st
KiB Mem : 994144 total, 69084 free, 379932 used, 545128 buff/cache
KiB Swap: 1310712 total, 694520 free, 616192 used. 396812 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6107 backuppc 20 0 21944 9536 2380 S 0,0 1,0 0:01.58 rsync

strace
select(2, , [1], , tv_sec=60, tv_usec=0) = 1 (out [1], left tv_sec=59, tv_usec=999963)
write(1, ""nn#: libraries/classes/Plugins/"..., 18206) = 16384


Any ideas on how to debug this issue?










share|improve this question









New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am using Backuppc for backing up 7 Ubuntu 18.04 machines. These hosts are running the exact same setup and hardware. I am just backing up the htdocs folders and and the db dumps that are generated by using DumpPreUserCmd bash script. Since the # of files and size is pretty small, a full or incremental backup is taking between 1-5 minutes per host. However one host is causing trouble from time to time and I have absolutely no clue what is going on.



Two days ago the incremental backup took 440 minutes for 2169 #files (26MB). I checked the free memory and cpu on the remote and the server while the backup was running and couldn't identify any problems. Actually the rsync process on the remote was stuck with 0% CPU usage and was only showing some workload every other minute. (Also the NewFileList was only updated every 5-10 minutes on the server) Next day the incremental backup was finished within 2 minutes. Today I was facing the same issue. So I manually stopped the backup and re-queued it. This time is was done in 2 minutes.



Actually I have no idea what is going on since it is only happening to this particular host which has the same setup as the other hosts.



top - 13:04:51 up 6 days, 2:05, 1 user, load average: 0,01, 0,01, 0,00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,3 us, 0,0 sy, 0,0 ni, 97,1 id, 0,0 wa, 0,0 hi, 0,3 si, 2,3 st
KiB Mem : 994144 total, 69084 free, 379932 used, 545128 buff/cache
KiB Swap: 1310712 total, 694520 free, 616192 used. 396812 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6107 backuppc 20 0 21944 9536 2380 S 0,0 1,0 0:01.58 rsync

strace
select(2, , [1], , tv_sec=60, tv_usec=0) = 1 (out [1], left tv_sec=59, tv_usec=999963)
write(1, ""nn#: libraries/classes/Plugins/"..., 18206) = 16384


Any ideas on how to debug this issue?







ubuntu rsync backup






share|improve this question









New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday





















New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









travisbotello

11




11




New contributor




travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






travisbotello is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
    – BowlOfRed
    yesterday










  • When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
    – travisbotello
    yesterday











  • Actually the select() is stalling every other minute.
    – travisbotello
    yesterday
















  • Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
    – BowlOfRed
    yesterday










  • When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
    – travisbotello
    yesterday











  • Actually the select() is stalling every other minute.
    – travisbotello
    yesterday















Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
– BowlOfRed
yesterday




Run strace on the rsync processes and see what calls are stalling. Is it a read() or a write()? Can you reproduce the problem with any other tools (such as by taring up the same tree)?
– BowlOfRed
yesterday












When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
– travisbotello
yesterday





When I strace the rsync process I can see that it is running incredibly slow. It is ca combination of select() and write() sequences
– travisbotello
yesterday













Actually the select() is stalling every other minute.
– travisbotello
yesterday




Actually the select() is stalling every other minute.
– travisbotello
yesterday















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






travisbotello is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473685%2fbackuppc-rsync-occasionally-hangs-on-remote%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








travisbotello is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















travisbotello is a new contributor. Be nice, and check out our Code of Conduct.












travisbotello is a new contributor. Be nice, and check out our Code of Conduct.











travisbotello is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473685%2fbackuppc-rsync-occasionally-hangs-on-remote%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)