You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/02 08:45:43 UTC

[GitHub] [dubbo-go] LvBay opened a new issue #1296: goroutine leak

LvBay opened a new issue #1296:
URL: https://github.com/apache/dubbo-go/issues/1296


   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   Dubbogo upgraded from 1.4.5 to 1.5.6, there was a goroutine leak, and invoke has been blocked
   
   **What you expected to happen**:
   dont leak,dont block
   
   **How to reproduce it (as minimally and precisely as possible)**:
   Sorry for not being able to reproduce it, it returned to normal after I restarted the application
   
   **Anything else we need to know?**:
   
   I found the blocked (leaked) stack information:
   ```
   298 @ 0x442c65 0x453785 0x45376e 0x474ac7 0xd4a925 0xd4a7c6 0xd49fc5 0xf62e8c 0x8da5e5 0x8ce296 0x4a8e4a 0x4b3a62 0xd876cd 0x101a373 0x101f9b5 0x74bb44 0xb20cfa 0x74da6d 0x74f143 0x74a94d 0x478a01
   #       0x474ac6        sync.runtime_SemacquireMutex+0x46                                                       /usr/local/go/src/runtime/sema.go:71
   #       0xd4a924        sync.(*RWMutex).RLock+0x1a4                                                             /usr/local/go/src/sync/rwmutex.go:50
   #       0xd4a7c5        github.com/apache/dubbo-go/cluster/router/chain.(*RouterChain).copyRouters+0x45         /home/docker/go/pkg/mod/github.com/apache/dubbo-go@v1.5.6/cluster/router/chain/chain.go:142
   #       0xd49fc4        github.com/apache/dubbo-go/cluster/router/chain.(*RouterChain).Route+0xe4               /home/docker/go/pkg/mod/github.com/apache/dubbo-go@v1.5.6/cluster/router/chain/chain.go:82
   #       0xf62e8b        github.com/apache/dubbo-go/registry/directory.(*RegistryDirectory).List+0x6b            /home/docker/go/pkg/mod/github.com/apache/dubbo-go@v1.5.6/registry/directory/directory.go:403
   #       0x8da5e4        github.com/apache/dubbo-go/cluster/cluster_impl.(*failoverClusterInvoker).Invoke+0x64   /home/docker/go/pkg/mod/github.com/apache/dubbo-go@v1.5.6/cluster/cluster_impl/failover_cluster_invoker.go:57
   #       0x8ce295        github.com/apache/dubbo-go/common/proxy.DefaultProxyImplementFunc.func1.1+0x555         /home/docker/go/pkg/mod/github.com/apache/dubbo-go@v1.5.6/common/proxy/proxy.go:207
   #       0x4a8e49        reflect.callReflect+0x329                                                               /usr/local/go/src/reflect/value.go:565
   #       0x4b3a61        reflect.makeFuncStub+0x41 
   ...
   ```
   
   From the stack information, mutex.RLock is blocked. But I didn’t find a deeper reason
   


-- 
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

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


[GitHub] [dubbo-go] LaurenceLiZhixin commented on issue #1296: goroutine leak

Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin commented on issue #1296:
URL: https://github.com/apache/dubbo-go/issues/1296#issuecomment-894184429


   @LvBay Is there any problem?If no problem, this issue would be closed soon.


-- 
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

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


[GitHub] [dubbo-go] LaurenceLiZhixin closed issue #1296: goroutine leak

Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin closed issue #1296:
URL: https://github.com/apache/dubbo-go/issues/1296


   


-- 
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

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


[GitHub] [dubbo-go] AlexStocks commented on issue #1296: goroutine leak

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #1296:
URL: https://github.com/apache/dubbo-go/issues/1296#issuecomment-873486026


   pls check this problem in v1.5.7-rc1


-- 
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

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