git push --mirror hangs up
I have a bash script that does the following:
git push lfs --all
git push --mirror <remote>
Can this happen due to azure api rate limits? Is there any way of knowing whether that is the case?
The git push --mirror process spawns a child process, and it spawns another child process in turn, strace of those processes doesn't print anything after this:
[root@<hostname>]# ps -aef | grep -i "<repo-script>"
root 250657 5276 0 Mar22 ? 00:00:00 /bin/bash <repo-script>
root 1515495 1509938 0 13:51 pts/1 00:00:00 grep --color=auto -i 434_taskidrepo
[root@<hostname>]# ps -aef | grep 250657
root 250657 5276 0 Mar22 ? 00:00:00 /bin/bash <repo-script>
root 337428 250657 0 Mar22 ? 00:00:00 /usr/bin/git -c core.askPass=<pat-script-path> push --mirror <remote-repo>
root 1515578 1509938 0 13:51 pts/1 00:00:00 grep --color=auto 250657
[root@<hostname>]# strace -p 337428
strace: Process 337428 attached
read(3, ^Cstrace: Process 337428 detached
<detached ...>
[root@<hostname>]# ps -aef | grep 337428
root 337428 250657 0 Mar22 ? 00:00:00 /usr/bin/git -c core.askPass=<pat-script-path> push --mirror <remote-repo>
root 337429 337428 0 Mar22 ? 00:00:03 /usr/libexec/git-core/git-remote-https <remote-repo> <remote-repo>
root 1515785 1509938 0 13:52 pts/1 00:00:00 grep --color=auto 337428
[root@<hostname>]# strace -p 337429
strace: Process 337429 attached
read(6, ^Cstrace: Process 337429 detached
<detached ...>
[root@<hostname>]# ps -aef | grep 337429
root 337429 337428 0 Mar22 ? 00:00:03 /usr/libexec/git-core/git-remote-https <remote-repo> <remote-repo>
root 337444 337429 0 Mar22 ? 00:00:01 /usr/libexec/git-core/git send-pack --stateless-rpc --helper-status --thin --no-progress <remote-repo>/ --stdin
root 1515972 1509938 0 13:53 pts/1 00:00:00 grep --color=auto 337429
[root@<hostname>]# strace -p 337444
strace: Process 337444 attached
read(5, ^Cstrace: Process 337444 detached
<detached ...>
[root@<hostname>]# ps -aef | grep 337444
root 337444 337429 0 Mar22 ? 00:00:01 /usr/libexec/git-core/git send-pack --stateless-rpc --helper-status --thin --no-progress <remote-repo>/ --stdin
root 1516114 1509938 0 13:53 pts/1 00:00:00 grep --color=auto 337444
[root@<hostname>]# strace -p 337444
strace: Process 337444 attached
read(5,