Mon 07 Apr 2014 01:09:38 AM UTC, comment #22:
Thanks for coorectthe 'foo' bug.
I confirm that ui don't have a ~/.shh/config file.
It's seems that reproduce the issue, no poblem without ontrolmster:
cat /myfind/all.txt | time parallel -j+0 --controlmaster -S :,peritmp1,peritmp2,peritmp3,peritmp4 true
[root@virtualdev01 ~]# wc -l /myfind/all.txt
546360 /myfind/all.txt
[root@virtualdev01 ~]#
If it's can help you to understand, i provide some verbatim:
Output strace against perl parallel process:
Output from one one strace agains ssh ContolSocket:
Output from node1:
Output from node2:
Output from node3:
+verbatiom+
[root@peritmp3 ~]# ps -ef | grep notty
root 3499 1878 2 17:09 ? 00:01:49 sshd: root@notty
root 15617 15601 0 18:14 pts/0 00:00:00 grep notty
[root@peritmp3 ~]# pstree -Ap 3499
sshd(3499)---perl(3503)
[root@peritmp3 ~]# ps -ef | grep 3503
root 3503 3499 0 17:09 ? 00:00:00 perl -e $|=1;while(1){sleep 1;print "foo\n"}
root 15620 15601 0 18:14 pts/0 00:00:00 grep 3503
[root@peritmp3 ~]#
-verbatim-
Output from node4:
|