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/09/07 08:58:31 UTC

[GitHub] [dubbo] kylixs opened a new issue #8711: Lots of zookeeper cleanup error when dubbo shutdown

kylixs opened a new issue #8711:
URL: https://github.com/apache/dubbo/issues/8711


   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.3-SNAPSHOT
   * Operating System version: macOS
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. Run test org.apache.dubbo.config.spring.reference.javaconfig.JavaConfigReferenceBeanTest#testReferenceBean
   
   ### Actual Result
   
   What actually happens?
   
   Lots of zookeeper cleanup error when dubbo shutdown, and shutdown is slowdown:
   
   ```
   16:47:25.897 [main-SendThread(localhost:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: localhost/127.0.0.1:2181: Connection refused
   16:47:25.898 [main-SendThread(localhost:2181)] DEBUG org.apache.zookeeper.ClientCnxnSocketNIO - Ignoring exception during shutdown input
   java.nio.channels.ClosedChannelException: null
   	at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:780)
   	at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:399)
   	at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:200)
   	at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1250)
   	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1174)
   16:47:25.898 [main-SendThread(localhost:2181)] DEBUG org.apache.zookeeper.ClientCnxnSocketNIO - Ignoring exception during shutdown output
   java.nio.channels.ClosedChannelException: null
   	at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:797)
   	at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:407)
   	at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:207)
   	at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1250)
   	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1174)
   16:47:25.979 [main-SendThread(localhost:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
   16:47:25.979 [main-SendThread(localhost:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: localhost/127.0.0.1:2181: Connection refused
   16:47:25.979 [main-SendThread(localhost:2181)] DEBUG org.apache.zookeeper.ClientCnxnSocketNIO - Ignoring exception during shutdown input
   java.nio.channels.ClosedChannelException: null
   	at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:780)
   	at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:399)
   	at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:200)
   	at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1250)
   	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1174)
   16:47:25.979 [main-SendThread(localhost:2181)] DEBUG org.apache.zookeeper.ClientCnxnSocketNIO - Ignoring exception during shutdown output
   java.nio.channels.ClosedChannelException: null
   	at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:797)
   	at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:407)
   	at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:207)
   	at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1250)
   	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1174)
   
   ```
   


-- 
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] kylixs commented on issue #8711: Lots of zookeeper cleanup error when dubbo shutdown

Posted by GitBox <gi...@apache.org>.
kylixs commented on issue #8711:
URL: https://github.com/apache/dubbo/issues/8711#issuecomment-942183934


   Fix some zk connection/thread leaks:  https://github.com/apache/dubbo/pull/9033 


-- 
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] kylixs commented on issue #8711: Lots of zookeeper cleanup error when dubbo shutdown

Posted by GitBox <gi...@apache.org>.
kylixs commented on issue #8711:
URL: https://github.com/apache/dubbo/issues/8711#issuecomment-942183934


   Fix some zk connection/thread leaks:  https://github.com/apache/dubbo/pull/9033 


-- 
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] zrlw commented on issue #8711: Lots of zookeeper cleanup error when dubbo shutdown

Posted by GitBox <gi...@apache.org>.
zrlw commented on issue #8711:
URL: https://github.com/apache/dubbo/issues/8711#issuecomment-940814040


   #9003 


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