timwind commented on issue #4195:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4195#issuecomment-1899852000

   > 看起来有点道理。 你是检视代码发现的问题,还是测试发现了什么具体问题吗?有什么功能影响?
   
   生产遇到了性能问题,像是某个队列卡住了。 但是确信没有达到最大线程数。看了源码,本怀疑是入队有问题导致。
   后来打开metric,看到的确没有线程数的队列积压,应该不是这里的问题。
   threadPool:
     coreSize maxThreads poolSize currentBusy rejected queueSize taskCount 
taskFinished name
     25       400        42       18          NaN      0         3.1       3.0  
        cse.executor.groupThreadPool-group1
     25       400        120      90          NaN      0         8.3       8.0  
        cse.executor.groupThreadPool-group0
   
   左边是正常状态,右边是出问题前后的状态。
   是client的队列积压了,这个积压的原因是连接数达到上限30了吗?
   为什么这个时间段连接数会增长这么多?
   
![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/2ecad951-e757-4c2f-b2e9-282217cc68fc)
   
   client配置如下:
   
![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/150ae0f4-f234-4a0f-bf7d-daad25742e85)
   
   
   
   
   
   


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