Skip to content

Commit

Permalink
docs: add TCP half-close broken pipe to common errors (#6203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorris authored Jul 25, 2019
1 parent 4e0a16a commit 34984e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/source/docs/common-errors.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ On a busy cluster, the operating system may not provide enough file descriptors

Or, if you are starting Consul from `systemd`, you could add `LimitNOFILE=65536` to the unit file for Consul. You can see our example unit file [here][systemd].

## Snapshot close error

Our RPC protocol requires support for a TCP half-close in order to signal the other side that they are done reading the stream, since we don't know the size in advance. This saves us from having to buffer just to calculate the size.

If a host does not properly implement half-close you may see an error message `[ERR] consul: Failed to close snapshot: write tcp <source>-><destination>: write: broken pipe` when saving snapshots. This should not affect saving and restoring snapshots.

This has been a [known issue](https://github.com/docker/libnetwork/issues/1204) in Docker, but may manifest in other environments as well.

## ACL Not Found

```
Expand Down

0 comments on commit 34984e4

Please sign in to comment.