Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor超时阻塞 #672

Closed
timqq opened this issue Sep 21, 2017 · 3 comments
Closed

Monitor超时阻塞 #672

timqq opened this issue Sep 21, 2017 · 3 comments
Labels
type/bug Bugs to being fixed
Milestone

Comments

@timqq
Copy link

timqq commented Sep 21, 2017

Monitor超时阻塞 如果和zk连接失败会一直阻塞 导致dubbo工作线程不能处理请求

"http-bio-10001-exec-7" #66 daemon prio=5 os_prio=0 tid=0x00007faf04286800 nid=0x7c13 waiting on condition [0x00007faed05f1000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000ef7ca268> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:256)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitUntil(AbstractQueuedSynchronizer.java:2120)
at org.I0Itec.zkclient.ZkClient.waitForKeeperState(ZkClient.java:636)
at org.I0Itec.zkclient.ZkClient.waitUntilConnected(ZkClient.java:619)
at org.I0Itec.zkclient.ZkClient.waitUntilConnected(ZkClient.java:615)
at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:679)
at org.I0Itec.zkclient.ZkClient.create(ZkClient.java:304)
at org.I0Itec.zkclient.ZkClient.createPersistent(ZkClient.java:213)
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.createPersistent(ZkclientZookeeperClient.java:47)
at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:44)
at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:39)
at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:39)
at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:39)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:98)
at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:130)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:268)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:254)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:60)
at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:63)
at com.alibaba.dubbo.rpc.Protocol$Adpative.refer(Protocol$Adpative.java)
at com.alibaba.dubbo.monitor.dubbo.DubboMonitorFactroy.createMonitor(DubboMonitorFactroy.java:60)
at com.alibaba.dubbo.monitor.support.AbstractMonitorFactory.getMonitor(AbstractMonitorFactory.java:56)

@chickenlj chickenlj added priority/normal type/bug Bugs to being fixed and removed type/need-triage Need maintainers to triage type/question & discussion labels Oct 5, 2017
@chickenlj chickenlj added this to the 2.5.7 milestone Oct 5, 2017
@chickenlj
Copy link
Contributor

是存在阻塞请求的情况

@zhangguanzhang
Copy link

楼主这个问题解决了吗 @timqq

@zhangguanzhang
Copy link

解决了,找默然大佬解决的

rolandhe pushed a commit to rolandhe/dubbo that referenced this issue Sep 9, 2019
…y_block

Fixed apache#672: Monitor blocks when registry is unreachable (apache#777)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bugs to being fixed
Projects
None yet
Development

No branches or pull requests

3 participants