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: Dial in init function hangs for 2 minutes #5216
Labels
Milestone
Comments
I have confirmed this on OS X (just in case it was a epoll/kqueue related issue) odessa(~/src) % time GOMAXPROCS=4 GOGCTRACE=1 ./rog gc1(1): 0+0+0 ms, 0 -> 0 MB 35 -> 37 (38-1) objects, 0(0) handoff, 0(0) steal, 0/0/0 yields dialling scvg0: inuse: 0, idle: 0, sys: 1, released: 0, consumed: 1 (MB) gc2(2): 0+0+0 ms, 0 -> 0 MB 182 -> 142 (188-46) objects, 1(10) handoff, 1(1) steal, 32/7/0 yields err dial tcp 127.0.0.1:14356: connection refused here real 2m0.014s user 0m0.007s sys 0m0.007s The err appears to be returned immediately after gc2 |
If the GC is turned off, the program unwedges itself as soon as the scvg forces a GC odessa(~/src) % time GOGC=off GOMAXPROCS=4 GOGCTRACE=1 ./rog dialling scvg0: GC forced scvg0: inuse: 0, idle: 0, sys: 1err dial tcp 127.0.0.1:14356: connection refused , released: 0, consumed: here 1 (MB) real 1m0.013s user 0m0.007s sys 0m0.006s |
Sent https://golang.org/cl/8459043/ Owner changed to @dvyukov. |
This issue was closed by revision 0b5d559. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: