You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "hongpenglu1 (via GitHub)" <gi...@apache.org> on 2024/01/06 06:43:37 UTC

[I] dubbo 出现大量超时 但是provider是直接返回json 没有请求数据库和任何中间件 超时时间我设置了8000 [dubbo]

hongpenglu1 opened a new issue, #13620:
URL: https://github.com/apache/dubbo/issues/13620

   目前我有4个服务 A 调用 B  B调用 C和D  C和D 都是直接返回json 通过skywalking 发现C和D消耗时间只有几百ms 
   但是B却抛出C和D超时的异常 导致A 也出现了超时
   目前4个服务都是部署在K8s中 资源分配如下
   A:
   ![image](https://github.com/apache/dubbo/assets/99471982/fe73056f-b3b0-4ffe-97d4-c8ddd69b6f5e)
   B:
   ![image](https://github.com/apache/dubbo/assets/99471982/4b72ea06-3101-4b9a-90e8-ce2dee5a4b86)
   C:
   ![image](https://github.com/apache/dubbo/assets/99471982/76f4e9f0-5659-4f54-bcf8-48d76edcbd80)
   D:
   ![image](https://github.com/apache/dubbo/assets/99471982/4b2ee6e1-216e-4cf1-92e6-f5d9a39f2a33)
   
   dubbo版本3.2.0 nacos 2.2.3  yml配置如下:
   dubbo:
     application:
       name: ${spring.application.name}
     registry:
       address: xxxx
       group: pcc
       protocol: nacos
       parameters:
         namespace: e17f5a15-2c7d-4d15-b648-4e6f4f140380
       username: nacos
       password: xxx
     protocol:
       name: dubbo
       port: 22800
       threads: 1000
       dispatcher: message
     provider:
       timeout: 8000
       loadbalance: shortestresponse
   


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


Re: [I] dubbo 出现大量超时 但是provider是直接返回json 没有请求数据库和任何中间件 超时时间我设置了8000 [dubbo]

Posted by "hongpenglu1 (via GitHub)" <gi...@apache.org>.
hongpenglu1 commented on issue #13620:
URL: https://github.com/apache/dubbo/issues/13620#issuecomment-1879576097

   这是B服务错误日志:
   ![image](https://github.com/apache/dubbo/assets/99471982/6ec037b0-be41-414f-88f6-4ca683a774a0)
   
   麻烦各位看下能不能帮忙分析下问题  CD的cpu使用率大概在10-40  B比较高点在200-240  万分感谢


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


Re: [I] dubbo 出现大量超时 但是provider是直接返回json 没有请求数据库和任何中间件 超时时间我设置了8000 [dubbo]

Posted by "hongpenglu1 (via GitHub)" <gi...@apache.org>.
hongpenglu1 commented on issue #13620:
URL: https://github.com/apache/dubbo/issues/13620#issuecomment-1879575301

   skywalking中各服务耗时:
   D:
   ![image](https://github.com/apache/dubbo/assets/99471982/66bcfaf9-9ff4-45e4-8a96-6a9c57f0012e)
   C:
   ![image](https://github.com/apache/dubbo/assets/99471982/fb029700-df0b-4f26-8224-4e9d19daeb79)
   B:
   ![image](https://github.com/apache/dubbo/assets/99471982/a4f0d22f-fedb-47b3-aeb5-088871cba2da)
   ![image](https://github.com/apache/dubbo/assets/99471982/bf8ae032-7978-4c07-b9e3-2722574aa02c)
   A:
   ![image](https://github.com/apache/dubbo/assets/99471982/b8f94d8b-b5ee-46df-aa8a-167c4b8832a5)
   
   主要流程是A服务15个pod 每个pod600线程调用B  BCD 三个服务dubbo线程为1000 timeout 8000 BCD各30个pod
   
   
   
   


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


Re: [I] dubbo 出现大量超时 但是provider是直接返回json 没有请求数据库和任何中间件 超时时间我设置了8000 [dubbo]

Posted by "hongpenglu1 (via GitHub)" <gi...@apache.org>.
hongpenglu1 closed issue #13620: dubbo 出现大量超时 但是provider是直接返回json 没有请求数据库和任何中间件 超时时间我设置了8000
URL: https://github.com/apache/dubbo/issues/13620


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