You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "welcome112s (via GitHub)" <gi...@apache.org> on 2023/05/31 02:03:17 UTC

[GitHub] [dubbo-go] welcome112s opened a new issue, #2325: k8s 集群pod容器 异常重启 dubbo-go 3.0.5

welcome112s opened a new issue, #2325:
URL: https://github.com/apache/dubbo-go/issues/2325

   ### Environment
   
   <!-- 
   - Server: Dubbo-go, v3.0.5
   - Client: Dubbo-go, v3.0.5
   - Protocol: Triple
   - Registry: Nacos, v2.0.0
   -->
   
   - Server: 
   - Client: 
   - Protocol: 
   - Registry: 
   
   ### Issue description
   
   <!-- Here is a brief description about the issue. -->
   
   ### Logs
   
   <details><summary>Click me to check logs</summary>
   
   ```
   
   goroutine 943 [IO wait]:
   internal/poll.runtime_pollWait(0x7fdd141e0a08, 0x72)
   	/usr/local/go/src/runtime/netpoll.go:303 +0x85
   internal/poll.(*pollDesc).wait(0xc003843f80, 0xc0041d4000, 0x0)
   	/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
   internal/poll.(*pollDesc).waitRead(...)
   	/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
   internal/poll.(*FD).Read(0xc003843f80, {0xc0041d4000, 0x1000, 0x1000})
   	/usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a
   net.(*netFD).Read(0xc003843f80, {0xc0041d4000, 0xc0000a3400, 0x46d43a})
   	/usr/local/go/src/net/fd_posix.go:56 +0x29
   net.(*conn).Read(0xc000010a08, {0xc0041d4000, 0xc0016dcde0, 0xc003730db8})
   	/usr/local/go/src/net/net.go:183 +0x45
   github.com/apache/dubbo-getty.(*gettyTCPConn).recv(0xc00043db20, {0xc0041d4000, 0x1000, 0x1000})
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/connection.go:280 +0x2b4
   github.com/apache/dubbo-getty.(*session).handleTCPPackage(0xc004927860)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:647 +0xbb
   github.com/apache/dubbo-getty.(*session).handlePackage(0x0)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:606 +0x9c
   created by github.com/apache/dubbo-getty.(*session).run
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:560 +0x20f
   
   goroutine 982 [select]:
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenServiceNodeEvent(0xc0038041b0, {0xc004166000, 0x2f7}, {0xc00421ff50, 0x1, 0x23527b0})
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:144 +0x292
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent.func1({0xc004166000, 0x2f7}, {0x237a9e0, 0xc000717db8})
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:313 +0xcd
   created by dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:311 +0xc6f
   
   goroutine 972 [select]:
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenServiceNodeEvent(0xc0038041b0, {0xc004819500, 0x33f}, {0xc003731f50, 0x1, 0x23527b0})
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:144 +0x292
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent.func1({0xc004819500, 0x33f}, {0x237a9e0, 0xc000717db8})
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:313 +0xcd
   created by dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:311 +0xc6f
   
   goroutine 973 [chan receive]:
   github.com/apache/dubbo-getty.(*client).reConnect(0xc00095b400)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/client.go:446 +0x46
   github.com/apache/dubbo-getty.(*client).RunEventLoop(0xc00095b400, 0xc00099f1b8)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/client.go:419 +0x92
   created by dubbo.apache.org/dubbo-go/v3/remoting/getty.newGettyRPCClientConn
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/getty/pool.go:76 +0x525
   
   goroutine 975 [IO wait]:
   internal/poll.runtime_pollWait(0x7fdd141e0918, 0x72)
   	/usr/local/go/src/runtime/netpoll.go:303 +0x85
   internal/poll.(*pollDesc).wait(0xc000b76380, 0xc0042be000, 0x0)
   	/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
   internal/poll.(*pollDesc).waitRead(...)
   	/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
   internal/poll.(*FD).Read(0xc000b76380, {0xc0042be000, 0x1000, 0x1000})
   	/usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a
   net.(*netFD).Read(0xc000b76380, {0xc0042be000, 0xc0000a3400, 0x46d43a})
   	/usr/local/go/src/net/fd_posix.go:56 +0x29
   net.(*conn).Read(0xc003b94568, {0xc0042be000, 0xc000e4ae58, 0xc0041f1db8})
   	/usr/local/go/src/net/net.go:183 +0x45
   github.com/apache/dubbo-getty.(*gettyTCPConn).recv(0xc000819420, {0xc0042be000, 0x1000, 0x1000})
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/connection.go:280 +0x2b4
   github.com/apache/dubbo-getty.(*session).handleTCPPackage(0xc0044f9790)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:647 +0xbb
   github.com/apache/dubbo-getty.(*session).handlePackage(0x0)
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:606 +0x9c
   created by github.com/apache/dubbo-getty.(*session).run
   	/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.9-0.20221022181821-4dc6252ce98c/session.go:560 +0x20f
   
   goroutine 976 [select]:
   dubbo.apache.org/dubbo-go/v3/registry/zookeeper.(*RegistryConfigurationListener).Next(0xc000b53400)
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/registry/zookeeper/listener.go:152 +0xe5
   dubbo.apache.org/dubbo-go/v3/registry.(*BaseRegistry).Subscribe(0xc003796d80, 0xc0045de880, {0x23a13b0, 0xc003eac480})
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/registry/base_registry.go:367 +0x302
   dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).subscribe(0xc003eac480, 0xc004325440)
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/registry/directory/directory.go:108 +0xbe
   created by dubbo.apache.org/dubbo-go/v3/registry/directory.NewRegistryDirectory
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/registry/directory/directory.go:101 +0x545
   
   goroutine 944 [runnable]:
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent·dwrap·10()
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:311
   runtime.goexit()
   	/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1
   created by dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:311 +0xc6f
   
   goroutine 977 [chan receive]:
   github.com/dubbogo/gost/container/chan.(*UnboundedChan).run(0xc00445c720)
   	/go/pkg/mod/github.com/dubbogo/gost@v1.13.2/container/chan/unbounded_chan.go:118 +0x8c
   created by github.com/dubbogo/gost/container/chan.NewUnboundedChanWithQuota
   	/go/pkg/mod/github.com/dubbogo/gost@v1.13.2/container/chan/unbounded_chan.go:87 +0x285
   
   goroutine 960 [runnable]:
   dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent·dwrap·12()
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:375
   runtime.goexit()
   	/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1
   created by dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent
   	/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/zookeeper/listener.go:375 +0x1b1```
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org