Skip to content

Commit

Permalink
add documentation on troubleshooting with ssh_socket_heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenWeber authored and dstokes committed Jul 19, 2019
1 parent 2278c1f commit 6a05fe2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,16 @@ You can configure it with a few options:
end
```

#### Troubleshooting SSH connections

In some cases you may notice your SSH commands are completing successfully,
but the connection isn't aware they are done. This will manifest as a tunneled
command taking much longer than anticipated - minutes depending on your
server's configuration. You may need to set `:ssh_socket_heartbeat` to a
smaller number. This will check more frequently if the command has completed
which can alleviate this issue, though it will consume more CPU as it wakes up
its threads more frequently.

Deploying
---------

Expand Down

0 comments on commit 6a05fe2

Please sign in to comment.