Golang中国

goroutine 73061 [IO wait, 1 minutes]:
net.runtime_pollWait(0x334beb28, 0x72, 0x14ffce68)
D:/Go/src/runtime/netpoll.go:160 +0x55
net.(pollDesc).Wait(0x14f64370, 0x72, 0x0, 0x0)
D:/Go/src/net/fd_poll_runtime.go:73 +0x35
net.(
ioSrv).ExecIO(0x11a136e8, 0x14f642d8, 0x9c78d0, 0x7, 0xadf680, 0xf90, 0
0x0)
D:/Go/src/net/fd_windows.go:183 +0x122
net.(netFD).Read(0x14f642a0, 0x13834000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
D:/Go/src/net/fd_windows.go:482 +0x129
net.(
conn).Read(0x14d30da8, 0x13834000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
D:/Go/src/net/net.go:172 +0xb9
net/http.(connReader).Read(0x141863a0, 0x13834000, 0x1000, 0x1000, 0x0, 0x0,
0)
D:/Go/src/net/http/server.go:526 +0x189
bufio.(
Reader).fill(0x13d7c600)
D:/Go/src/bufio/bufio.go:97 +0x172
bufio.(Reader).ReadSlice(0x13d7c600, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/bufio/bufio.go:328 +0x1b4
bufio.(
Reader).ReadLine(0x13d7c600, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0)
D:/Go/src/bufio/bufio.go:357 +0x4b
net/textproto.(Reader).readLineSlice(0x129359e0, 0x0, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/net/textproto/reader.go:55 +0x59
net/textproto.(
Reader).ReadLine(0x129359e0, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/net/textproto/reader.go:36 +0x39
net/http.readRequest(0x13d7c600, 0x0, 0x146fbab0, 0x0, 0x0)
D:/Go/src/net/http/request.go:721 +0x9a
net/http.(conn).readRequest(0x11e4ff00, 0x0, 0x0, 0x0)
D:/Go/src/net/http/server.go:705 +0x3b7
net/http.(
conn).serve(0x11e4ff00)
D:/Go/src/net/http/server.go:1425 +0x985
created by net/http.(*Server).Serve
D:/Go/src/net/http/server.go:2137 +0x394

2 回复
sryan
#1 sryan • 2016-10-14 11:55

你的goroutine太多了,看不到你逻辑goroutine的堆栈

yl32940
#2 yl32940 • 2016-10-14 12:13

这个是beego框架 然后我估计beego里面在处理请求的时候用到了 goroutine

需要 登录 后方可回复, 如果你还没有账号你可以 注册 一个帐号。