<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.0.2</li>
<li>Operating System version: centos-7</li>
<li>Java version: 1.8.0_131</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>
<p dir="auto">服务端响应很快，但客户端老超时<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16093718/81468145-5451cb00-9210-11ea-8fd7-3936578c893a.png"><img src="https://user-images.githubusercontent.com/16093718/81468145-5451cb00-9210-11ea-8fd7-3936578c893a.png" alt="image" style="max-width: 100%;"></a><br>
如上图cat截图，客户端调用接口与服务收到接口之间，相差3秒左右<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16093718/81468255-f671b300-9210-11ea-9833-9d38dac0e6a8.png"><img src="https://user-images.githubusercontent.com/16093718/81468255-f671b300-9210-11ea-9833-9d38dac0e6a8.png" alt="image" style="max-width: 100%;"></a><br>
上图是pinpoint截团，说明在AbstractInvoker.invoke方法处耗时过长。</p>
</li>
<li>
<p dir="auto">我的怀疑可能有两个原因<br>
1）网络抖动，之所以这么怀疑是因为两个服务不在一个网段内，这个区别于他们不超时的客户端。这个不好排除，得等之后再出现异常时观察<br>
2）客户端请求积压，对于了其他服务，这个客户端访问量并不大，且比别的不超时的客户端请求少的多。但是在服务端与客户端的异常日志中均没有找到线程池任务过多被拒绝的异常。</p>
</li>
<li>
<p dir="auto">当前的解决办法：把配置中接口调用改为异步，并把上面的超时时间去掉走默认的1秒（之前设置的5秒超时），连接数10个。上线之后暂时没有异常，不清楚是改动造成的还是网络自己好的。</p>
</li>
</ol>
<p dir="auto">请问谁遇到过类似问题，如何判断是请求积压还是网络问题呢</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.5</li>
<li>Operating System version: xxx</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>服务A helloservice注册在注册中心“shanghai”</li>
<li>服务B helloservice注册在注册中心"beijing"</li>
<li>客户端使用集群广播模式，订阅注册中心 “shanghai,beijing”无法对服务A，B进行广播</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>