Skip to content

Commit

Permalink
roachprod: verbose sshd logging
Browse files Browse the repository at this point in the history
See cockroachdb#36929. Whenever these flakes happen, it'll be good to have verbose
logs. Anecdotally we're seeing fewer of them now, perhaps due to cockroachdb#37001.

Release note: None
  • Loading branch information
tbg committed May 9, 2019
1 parent 9e6bce9 commit c722cd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cmd/roachprod/vm/aws/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ sudo service sshguard stop
# By default, only 10 unauthenticated connections are permitted before sshd
# starts randomly dropping connections.
sudo sh -c 'echo "MaxStartups 64:30:128" >> /etc/ssh/sshd_config'
# Crank up the logging for issues such as:
# https://github.com/cockroachdb/cockroach/issues/36929
sudo sed -i'' 's/LogLevel.*$/LogLevel DEBUG/' /etc/ssh/sshd_config
sudo service sshd restart
# increase the default maximum number of open file descriptors for
# root and non-root users. Load generators running a lot of concurrent
Expand Down
3 changes: 3 additions & 0 deletions pkg/cmd/roachprod/vm/gce/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ sudo service sshguard stop
# By default, only 10 unauthenticated connections are permitted before sshd
# starts randomly dropping connections.
sudo sh -c 'echo "MaxStartups 64:30:128" >> /etc/ssh/sshd_config'
# Crank up the logging for issues such as:
# https://github.com/cockroachdb/cockroach/issues/36929
sudo sed -i'' 's/LogLevel.*$/LogLevel DEBUG/' /etc/ssh/sshd_config
sudo service sshd restart
# increase the default maximum number of open file descriptors for
# root and non-root users. Load generators running a lot of concurrent
Expand Down

0 comments on commit c722cd7

Please sign in to comment.