From: yarikoptic Date: Thu, 18 Nov 2021 02:29:01 +0000 (+0000) Subject: Added a comment: bisection X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~79^2~16^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9513b37803dbbf7e24df681626e09288b7de3e84;p=git-annex.git Added a comment: bisection --- diff --git a/doc/forum/git-annex_causing_zombie_git_processes_to_build_up/comment_9_b6780a99d7a175d2ff3e33e198c28a9d._comment b/doc/forum/git-annex_causing_zombie_git_processes_to_build_up/comment_9_b6780a99d7a175d2ff3e33e198c28a9d._comment new file mode 100644 index 0000000000..8d13e7bf2a --- /dev/null +++ b/doc/forum/git-annex_causing_zombie_git_processes_to_build_up/comment_9_b6780a99d7a175d2ff3e33e198c28a9d._comment @@ -0,0 +1,37 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="bisection" + date="2021-11-18T02:29:01Z" + content=""" +if I bisected it right (didn't doublecheck manually), it is due to [8.20210127-107-gdd39e9e25 AKA 8.20210223~41](https://git.kitenet.net/index.cgi/git-annex.git/commit/?id=dd39e9e255a5684824ea75861f48f658eaaba288) + +
+bisection script + +``` +#!/bin/bash + +set -u + +u=http://datasets.datalad.org/labs/hasson/narratives/derivatives/fmriprep/.git +d=/mnt/scrap/tmp/fmriprep + +[ -e \"$d\" ] || datalad clone \"$u\" \"$d\" +cd \"$d\" +git annex drop --all +git annex get -J5 . >/dev/null & +p=$! # use pstree? +for i in {1..200}; do # 200 sec seems to be enough + np=$(ps auxw | grep $USER | grep '\[git\] ' | wc -l) + echo -n \"$i $np \" + if [ $np -gt 10 ]; then { kill $p; exit 1; } fi + sleep 1 +done +kill \"$p\" +echo done + + +``` +
+"""]]