Description
> go version
|
go version go1.7.5 linux/amd64
|
> go env
|
GOARCH="amd64"
|
GOBIN=""
|
GOEXE=""
|
GOHOSTARCH="amd64"
|
GOHOSTOS="linux"
|
GOOS="linux"
|
GOPATH="/home/pavel/dev/go"
|
GORACE=""
|
GOROOT="/usr/lib/golang"
|
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
|
CC="gcc"
|
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build144614873=/tmp/go-build -gno-record-gcc-switches"
|
CXX="g++"
|
CGO_ENABLED="1"
|
{
|
"checksumSHA1": "fsdN5ae3yIw8A08ycRKJxjT/Cuo=",
|
"path": "gopkg.in/couchbase/gocb.v1",
|
"revision": "6fca8af693ca20d33fd8427a09636362061a3b71",
|
"revisionTime": "2016-12-21T09:34:16Z"
|
}
|
Test: https://gist.github.com/pavel-paulau/aaee5ef110d760e48337b1b326f075d7
Outcome:
2017/02/09 17:58:39 Post http://172.23.96.123:8093/query/service: dial tcp 172.23.96.123:8093: connect: cannot assign requested address
|
I am seeing 28K TCP connections in TIME_WAIT state after running that test for a minute.