当前位置:网站首页>Feign调用异常[Running, pool size = 10, active threads = 10, queued tasks = 0, completed tasks = n]
Feign调用异常[Running, pool size = 10, active threads = 10, queued tasks = 0, completed tasks = n]
2022-07-28 07:38:00 【抓手】
java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 10, active threads = 10, queued tasks = 0, completed tasks = 25]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) ~[na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) [na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379) [na:1.8.0_191]
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) ~[na:1.8.0_191]
at com.netflix.hystrix.strategy.concurrency.HystrixContextScheduler$ThreadPoolWorker.schedule(HystrixContextScheduler.java:172) ~[hystrix-core-1.5.18.jar:1.5.18]
at com.netflix.hystrix.strategy.concurrency.HystrixContextScheduler$HystrixContextSchedulerWorker.schedule(HystrixContextScheduler.java:106) ~[hystrix-core-1.5.18.jar:1.5.18]
at rx.internal.operators.OperatorSubscribeOn.call(OperatorSubscribeOn.java:50) ~[rxjava-1.3.8.jar:1.3.8]
at rx.internal.operators.OperatorSubscribeOn.call(OperatorSubscribeOn.java:30) ~[rxjava-1.3.8.jar:1.3.8]
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.3.8.jar:1.3.8]
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.3.8.jar:1.3.8]
at rx.Observable.unsafeSubscribe(Observable.java:10327) ~[rxjava-1.3.8.jar:1.3.8]原因是Feign调用并发量太大,打满了Hystrix的线程池,触发了线程池隔离。
解决办法:
1.对请求限流
2.修改Hystrix的线程池参数:Spring Cloud Hystrix 线程池隔离参数配置_抓手的博客-CSDN博客
更多Hystrix参数配置可参考:hystrix 配置_Lewis·fk的博客-CSDN博客_hystrix配置文件配置
边栏推荐
- [opencv] generate transparent PNG image
- Kubernetes cluster configuration serviceaccount
- Hundreds of billions of it operation and maintenance market has come to the era of speaking by "effect"
- Why setting application.targetframerate doesn't work
- Huid learning 7: Hudi and Flink integration
- JS inheritance method
- Three ways to create threads
- Oracle SQL problems
- Gbase appears in Unicom cloud Tour (Sichuan Station) to professionally empower cloud ecology
- Go waitgroup and defer
猜你喜欢

Do you know the five minute rule and the ten byte rule?

Principle of line of sight tracking and explanation of the paper

Alibaba technology has four sides + intersection +hr, and successfully got the offer. Can't double non undergraduate students enter the big factory?

JS inheritance method

You're not still using xshell, are you? This open source terminal tool is yyds!

Day112. Shangyitong: Mobile verification code login function

What are the main uses of digital factory management system

Network interface network crystal head RJ45, Poe interface definition line sequence

置顶各大平台,22版面试核心知识解析笔记,强势上榜

Round C financing has been completed! Smart software leads domestic Bi ecological empowerment, and products and services are a step forward
随机推荐
Round C financing has been completed! Smart software leads domestic Bi ecological empowerment, and products and services are a step forward
Principle of line of sight tracking and explanation of the paper
Business digitalization is running rapidly, and management digitalization urgently needs to start
Larkapi access credentials overview
Introduction of functions in C language (blood Book 20000 words!!!)
PHP Basics - PHP uses PDO
Kubernetes cluster configuration serviceaccount
【软考软件评测师】2013综合知识历年真题
You're not still using xshell, are you? This open source terminal tool is yyds!
Shell programming specifications and variables
Network interface network crystal head RJ45, Poe interface definition line sequence
I am a 27 year old technical manager, whose income is too high, and my heart is in a panic
创建线程的3种方式
Detailed explanation of MSTP protocol for layer 3 switch configuration [Huawei ENSP experiment]
classLoader加载的class的回收
Go synergy
Detailed explanation of the basic use of express, body parse and express art template modules (use, route, path matching, response method, managed static files, official website)
1299_ Task status and switching test in FreeRTOS
Flink window & time principle
When I use MySQL CDC, there are 100 million pieces of data in the source table. In the full volume phase, when I synchronize 10 million, I stop, and then pass