I have a bash script that does the following:
git push lfs --all
git push --mirror
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@]# ps -aef | grep -i ""
root 250657 5276 0 Mar22 ? 00:00:00 /bin/bash
root 1515495 1509938 0 13:51 pts/1 00:00:00 grep --color=auto -i 434_taskidrepo
[root@]# ps -aef | grep 250657
root 250657 5276 0 Mar22 ? 00:00:00 /bin/bash
root 337428 250657 0 Mar22 ? 00:00:00 /usr/bin/git -c core.askPass= push --mirror
root 1515578 1509938 0 13:51 pts/1 00:00:00 grep --color=auto 250657
[root@]# strace -p 337428
strace: Process 337428 attached
read(3, ^Cstrace: Process 337428 detached
[root@]# ps -aef | grep 337428
root 337428 250657 0 Mar22 ? 00:00:00 /usr/bin/git -c core.askPass= push --mirror
root 337429 337428 0 Mar22 ? 00:00:03 /usr/libexec/git-core/git-remote-https
root 1515785 1509938 0 13:52 pts/1 00:00:00 grep --color=auto 337428
[root@]# strace -p 337429
strace: Process 337429 attached
read(6, ^Cstrace: Process 337429 detached
[root@]# ps -aef | grep 337429
root 337429 337428 0 Mar22 ? 00:00:03 /usr/libexec/git-core/git-remote-https
root 337444 337429 0 Mar22 ? 00:00:01 /usr/libexec/git-core/git send-pack --stateless-rpc --helper-status --thin --no-progress / --stdin
root 1515972 1509938 0 13:53 pts/1 00:00:00 grep --color=auto 337429
[root@]# strace -p 337444
strace: Process 337444 attached
read(5, ^Cstrace: Process 337444 detached
[root@]# 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 / --stdin
root 1516114 1509938 0 13:53 pts/1 00:00:00 grep --color=auto 337444
[root@]# strace -p 337444
strace: Process 337444 attached
read(5,
I tried strace to see what syscalls are being made by the processes spawned, but all of them are stuck on read(fd, syscalls.