运行dubbo-admin走到zkclient.ZkEventThread - Starting ZkClient event thread.就不走了,zookeeper没有启动起来。

在启动dubbo-admin时我们会先启动zookeeper,如果项目跑到zkclient.ZkEventThread - Starting ZkClient event thread.就不走了,那么就是zookeeper没有跑起来,如果你在zookeeper的目录下运行了./zookeeper-3.3.6/bin/zkServer.sh start 还是这样的话,那么请执行/zookeeper-3.3.6/bin/zkServer.sh status命令看看zookeeper是否跑起来了,如果没跑起来很可能是因为你zookeeper下的conf目录没有zoo.cfg


解决办法:吧conf目录下的zoo_sample.cfg复制一份为zoo.cfg.

已标记关键词 清除标记
tomcat有时候运行一段时间就报INFO zkclient.ZkEventThread: Terminate ZkClient event thread. INFO zookeeper.ZooKeeper: Session: 0x25f333b00620041 closed 然后报一堆内存溢出 SEVERE: The web application [/superapi] appears to have started a thread named [DubboRegistryFailedRetryTimer-thread-1] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [/superapi] appears to have started a thread named [localhost-startStop-1-SendThread(hfftautzk02:2181)] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [/superapi] appears to have started a thread named [DubboSaveRegistryCache-thread-1] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [/superapi] appears to have started a thread named [DubboClientReconnectTimer-thread-1] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [/superapi] appears to have started a thread named [NettyClientBoss-thread-1] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: The web application [/superapi] appears to have started a thread named [New I/O client worker #1-1] but has failed to stop it. This is very likely to create a memory leak. Nov 29, 2017 7:10:48 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 导致tomcat挂掉,有没有大神帮忙分析下什么原因,偶发性的,
©️2020 CSDN 皮肤主题: 酷酷鲨 设计师:CSDN官方博客 返回首页