Can you help me understand how Fork Manager works? I have about 180 servers. And the command output for each of those servers takes a few seconds (lets say 20) sec on my screen to complete.
If I am not mistaken, the script will try to immediate "parallel" execution but it is not really parallel.
So we ssh to 180 nodes (that is fast) and then we start sending the ssh command. This starts the 240s output. However, the processing has to jump from one child to the other and check till we get the character that indicates the end of output and stops timer. Does the ssh timer stop in between checking?
I mean it might take 20 sec to reach the end of the output but much more till the processing returns to a specific child.
To give you some extra info, I have been printing the time when the child finish and it is more than 240s since the start and most children finish at the same time.
I will go ahead and experiment with increasing the timer in the mean time.
Thanks for your feedback so far.