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 2022/11/13 04:33:28 UTC

[GitHub] [dubbo] kimmking commented on issue #1784: Dubbo调用超时,服务端历史统计的处理耗时很短且找不到对应超时上下文的超时日志

kimmking commented on issue #1784:
URL: https://github.com/apache/dubbo/issues/1784#issuecomment-1312637243

   > 总结一下,如果出现消费端超时,但是服务端处理时间短,那么有这么几种可能: 1)网络问题:tcpddump/wireshark抓包去判断。 2)dubbo线程池满导致排队:监控两头的线程池状态,以及全链路信息,链路可以拼出来。 3)JVM停顿问题:包括GC的停顿和其他safepoint停顿,特别是后面这个STW停顿,很多人不知道,建议都打印出来。 4)统计不准:服务端有时候我们觉得很快,实际上也慢,只是日志或者其他监控信息不全。
   
   目前来看,在虚拟机或容器,问题3的因素非常大。
   比如GC就是一类safepoint。
   JVM内部存在大量的safepoint,都会造成JVM的STW暂停。
   绝大部分时间,这个暂停都很快,但是就是有少量的几种情况下,会很慢。
   此时如果不调整GClog配置,我们从各类监控和日志,是根本发现不了这个事儿的。
   
   


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