现象描述:
exception: java.util.concurrent.RejectedExecutionException:
Task java.util.concurrent.FutureTask@1329962c rejected from java.util.concurrent.ThreadPoolExecutor@5a10b905[Running, pool size = 250, active threads = 250, queued tasks = 1024, completed tasks = 292976],
dubbo version: 2.6.7, current host: 192.168.144.107
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@1329962c rejected from java.util.concurrent.ThreadPoolExecutor@5a10b905[Running, pool size = 250, active threads = 250, queued tasks = 1024, completed tasks = 292976]
问题分析
压测触发ThreadPoolExecutor默认的拒绝策略AbortPolicy
public void rejectedExecution(Runnable r, ThreadPoolExecutor e) {
throw new RejectedExecutionException("Task " + r.toString() +" rejected from