five111 opened a new issue #2491:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2491


   客户端低频但必现Connection was closed 几个小时会报错一个报错
   增加了metirc日志后 搜集到信息如下
   第一类
   **
   [simpleConsumerThread-0]2021-07-30 22:12:51.344 [WARN ] | slow(1 ms) 
invocation, CONSUMER rest ude.udeS*****#*#*****er.launchTasks:[N]  http method: 
POST[N]  
   url        : /scheduler/launchtasks/[N]  
   server     : 
rest://172.18.1.135:5559?sslEnabled=true&urlPrefix=%2Fbfs%2Frest[N]  
   status code: 490[N]  
   total      : 1648.425 ms[N]   
   prepare   : 0.25 ms[N]    
   handlers request       : 0.307 ms[N]    
   client filters request : 0.133 ms[N]    
   send request           : 1629.543 ms[N]    
   get connection         : 1629.205 ms[N]    
   write to buf           : 0.338 ms[N]    
   wait response          : 2.967 ms[N]    
   wake consumer          : 0.1 ms[N]    
   client filters response: 0.0 ms[N]    
   handlers response      : 15.445 ms | 
org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger.warn(TraceIdLogger.java:56)
   **
   
   没有改过超时时间,时间类配置都是默认配置 1.6s就超时了 ,对应的服务端没有任何日志
   
   第二类
   **
   runlog.20210730213035.1.log.gz:[simpleConsumerThread-0]2021-07-30 
20:55:34.585 [WARN ] | 
   slow(1 ms) invocation, CONSUMER rest 
databusmanager.TaskManagerController.launchTasks:[N]  
   http method: POST[N]  url        : /rest/v1/scheduler/launchTasks/[N]  
server     : 
rest://172.18.0.152:8087?sslEnabled=true&urlPrefix=%2Fdatabus%2Frest%2Fcse[N]  
   status code: 408[N]  
   total      : 30003.297 ms[N]    
   prepare                : 0.7 ms[N]    
   handlers request       : 0.141 ms[N]    
   client filters request : 0.106 ms[N]    
   send request           : 0.0 ms[N]    
   get connection         : 0.0 ms[N]    
   write to buf           : 0.0 ms[N]    
   wait response          : 0.0 ms[N]    
   wake consumer          : 0.0 ms[N]    
   client filters response: 0.0 ms[N]    
   handlers response      : 0.0 ms | 
org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger.warn(TraceIdLogger.java:56)
   runlog.20210731024455.1.log.gz:[simpleConsumerThread-0]2021-07-31 
02:15:32.511 [WARN ] | 
   slow(1 ms) invocation, CONSUMER rest 
databusmanager.TaskManagerController.launchTasks:[N]  
   http method: POST[N]  url        : /rest/v1/scheduler/launchTasks/[N]  
server     : 
rest://172.18.0.152:8087?sslEnabled=true&urlPrefix=%2Fdatabus%2Frest%2Fcse[N]  
   status code: 408[N]  
   total      : 30002.336 ms[N]    
   prepare                : 0.4 ms[N]    
   handlers request       : 0.85 ms[N]    
   client filters request : 0.61 ms[N]    
   send request           : 0.0 ms[N]    
   get connection         : 0.0 ms[N]    
   write to buf           : 0.0 ms[N]    
   wait response          : 0.0 ms[N]    
   wake consumer          : 0.0 ms[N]    
   client filters response: 0.0 ms[N]    
   handlers response      : 0.0 ms | 
org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger.warn(TraceIdLogger.java:56)
   runlog.20210731092506.1.log.gz:[simpleConsumerThread-0]2021-07-31 
08:30:33.741 [WARN ] | 
   slow(1 ms) invocation, CONSUMER rest 
databusmanager.TaskManagerController.launchTasks:[N]  
   http method: POST[N]  url        : /rest/v1/scheduler/launchTasks/[N]  
server     : 
rest://172.18.0.200:8087?sslEnabled=true&urlPrefix=%2Fdatabus%2Frest%2Fcse[N]  
   status code: 408[N]  
   total      : 30001.925 ms[N]    
   prepare                : 0.7 ms[N]    
   handlers request       : 0.115 ms[N]    
   client filters request : 0.108 ms[N]    
   send request           : 0.0 ms[N]    
   get connection         : 0.0 ms[N]    
   write to buf           : 0.0 ms[N]    
   wait response          : 0.0 ms[N]    
   wake consumer          : 0.0 ms[N]    
   client filters response: 0.0 ms[N]    
   handlers response      : 0.0 ms | 
org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger.warn(TraceIdLogger.java:56)
   **
   的确是30s时间超时 但是一致的在send request 就没有了时间统计 ,对端也是没有日志的
   
   麻烦帮忙分析下可能性,感谢
   java-chassis版本2.1.5
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to