rmuir commented on PR #14072:
URL: https://github.com/apache/lucene/pull/14072#issuecomment-2551508242

   @ChrisHegarty I want to make it so anybody can use it :)
   
   I understand the SSH reliability issue as I have experienced it before. The 
issue is that i have sub-10ms ping time to us-east-1 region, so I don't see 
your problem. I will fix the ssh defaults here, I'll do it as a followup PR.
   
   Typically I set them to something like this, to not overwrite the defaults 
of reusing-connections and compressing, which are immensely helpful (see 
"default" in 
https://docs.ansible.com/ansible/2.7/reference_appendices/config.html#ansible-ssh-args),
 but just add the keepalives:
   
   ```
   -C -o ControlMater=auto -o ControlPersist=60s -o ServerAliveInterval=30 -o 
ServerAliveCountMax=10
   ```
   
   In conjunction with this, I also set `retries = 3` so that when network 
fails it will try to reconnect instead of just dying.
   
   I will make followup issue, and just try to set these as env variables in 
the Makefile so that nobody needs to fight it for good network reliability.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to