Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: The Recv-Q is blocked, but read tcp conn return 0 #20785

Closed
barnettZQG opened this issue Jun 24, 2017 · 2 comments
Closed

net: The Recv-Q is blocked, but read tcp conn return 0 #20785

barnettZQG opened this issue Jun 24, 2017 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@barnettZQG
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.8.3

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/qingguo/gopath:/Users/qingguo/gowork:/Users/qingguo/gopath/src/github.com/docker/docker/vendor"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3z/1m_93x4s7nd0kfwd19zydxw40000gp/T/go-build584362436=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?

I'm doing a large amount of data the TCP one-way transmission service.But I find that when there is abnormal situation occurs, there will be a blocking recv - q and send - q.But the service side the read data returns 0.

What did you expect to see?

tcp4  478881      0  127.0.0.1.6362         127.0.0.1.51116        ESTABLISHED
tcp4       0 146678  127.0.0.1.51116        127.0.0.1.6362         FIN_WAIT_1
tcp4  395480      0  127.0.0.1.6362         127.0.0.1.51115        ESTABLISHED
tcp4       0 146678  127.0.0.1.51115        127.0.0.1.6362         FIN_WAIT_1
tcp4  522951      0  127.0.0.1.6362         127.0.0.1.51114        ESTABLISHED
tcp4       0 146678  127.0.0.1.51114        127.0.0.1.6362         FIN_WAIT_1
tcp4  392881      0  127.0.0.1.6362         127.0.0.1.51113        ESTABLISHED
tcp4       0 146678  127.0.0.1.51113        127.0.0.1.6362         FIN_WAIT_1

What did you see instead?

@bradfitz
Copy link
Contributor

There isn't enough information here to determine whether there's a bug in Go or a bug in your code.

Please provide code.

@bradfitz bradfitz added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 24, 2017
@bradfitz bradfitz added this to the Unplanned milestone Jun 24, 2017
@bradfitz bradfitz changed the title The Recv-Q is blocked, but read tcp conn return 0 net: The Recv-Q is blocked, but read tcp conn return 0 Jun 24, 2017
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants