mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
parallel: MaxSessions should also be raised if MaxStartups is raised.
This commit is contained in:
parent
06d55fcec3
commit
19bdd17c63
|
@ -3245,7 +3245,7 @@ sub simultaneous_sshlogin_limit {
|
|||
::warning("ssh to $serverlogin only allows ",
|
||||
"for $ssh_limit simultaneous logins.\n",
|
||||
"You may raise this by changing ",
|
||||
"/etc/ssh/sshd_config:MaxStartups on $serverlogin.\n",
|
||||
"/etc/ssh/sshd_config:MaxStartups and MaxSessions on $serverlogin.\n",
|
||||
"Using only ",$ssh_limit-1," connections ",
|
||||
"to avoid race conditions.\n");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ mkdir tmp
|
|||
cd tmp
|
||||
|
||||
cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/ | stdout parallel -j6 -k -L1
|
||||
echo '### bug #41964: --controlmaster not sems to reuse OpenSSH connections to the same host'
|
||||
echo '### bug #41964: --controlmaster not seems to reuse OpenSSH connections to the same host'
|
||||
(parallel -S redhat9.tange.dk true ::: {1..20}; echo No --controlmaster - finish last) &
|
||||
(parallel -M -S redhat9.tange.dk true ::: {1..20}; echo With --controlmaster - finish first) &
|
||||
wait
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
### bug #41964: --controlmaster not sems to reuse OpenSSH connections to the same host
|
||||
### bug #41964: --controlmaster not seems to reuse OpenSSH connections to the same host
|
||||
With --controlmaster - finish first
|
||||
No --controlmaster - finish last
|
||||
### bug #41805: Idea: propagate --env for parallel --number-of-cores
|
||||
|
|
Loading…
Reference in a new issue