Score:0

Problems after trying nohup rsync

in flag

I tried to run some rsync with nohup, which I couldnt get to run properly. I tried to delete the nohup.out file which it created but it seems everything in the directory I was working in is hanging now. I cannot even try ls in the directory anymore... The rsync commands I have tried:

nohup rsync -avP ADRESS:PATH/* .
nohup rsync -avP ADRESS:PATH/* . &
nohup rsync -avP ADRESS:PATH/* . & > /dev/null

All of the process were stopped.

Using top shows me that the processes are in "uninterruptible sleep" state and are most likely waiting for I/O (PID 1398509, 1398676 ).

1400493 hkim      20   0   57060   7296   5844 S   6.9   0.0   1:02.39 ssh
1400494 hkim      20   0  126992   8616   7500 S   3.6   0.0   0:33.90 sss_ssh_knownho
1397038 hkim      20   0   93960   9988   8320 S   0.0   0.0   0:00.08 systemd
1397042 hkim      20   0  343492  10280      0 S   0.0   0.0   0:00.00 (sd-pam)
1398509 hkim      20   0   43924   8020   5248 D   0.0   0.0   0:00.01 vim
1398676 hkim      20   0    7316    856    788 D   0.0   0.0   0:00.00 rm
1399127 hkim      20   0  161180   5052   3700 S   0.0   0.0   0:00.19 sshd
1399128 hkim      20   0   24836   5768   3580 S   0.0   0.0   0:00.17 bash
1399453 hkim      20   0  163352   8420   7060 S   0.0   0.0   0:00.03 sshd
1399658 hkim      20   0  163352   8436   7076 S   0.0   0.0   0:00.00 sshd
1399956 hkim      20   0  161684   6732   4996 S   0.0   0.0   0:00.16 sshd
1399957 hkim      20   0   24836   5732   3552 S   0.0   0.0   0:00.09 bash
1401203 hkim      20   0  161180   5016   3664 S   0.0   0.0   0:00.01 sshd
1401204 hkim      20   0   24704   5568   3504 S   0.0   0.0   0:00.03 bash
1401248 hkim      20   0   88808   7796   6720 T   0.0   0.0   0:00.00 strace
1401250 hkim      20   0    7316    748    684 D   0.0   0.0   0:00.00 rm

I have a suspicion the nohup rsync is still writing somewhere after the hung processes and is holding up the I/O in the directories... Im sorry if this is vague and needs more information, I can add more information if needed. Any help is appreciated, thank you!

jp flag
You have two `rm` processes doing I/O (indicated by state `D`).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.