推送服务报错导致推送失败

frfr46467979 2022-12-7 358

2022-12-07 14:46:43.967 ERROR 1 --- [nio-8085-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.util.concurrent.RejectedExecutionException: Task cn.wildfirechat.push.android.AndroidPushServiceImpl$$Lambda$405/1819851129@275863c5 rejected from java.util.concurrent.ThreadPoolExecutor@56e3a405[Running, pool size = 1600, active threads = 1600, queued tasks = 0, completed tasks = 881994]] with root cause

java.util.concurrent.RejectedExecutionException: Task cn.wildfirechat.push.android.AndroidPushServiceImpl$$Lambda$405/1819851129@275863c5 rejected from java.util.concurrent.ThreadPoolExecutor@56e3a405[Running, pool size = 1600, active threads = 1600, queued tasks = 0, completed tasks = 881994] 看样子是线程池满了 野火有没有好的解决方案

最新回复 (1)
  • HeavyRain 2022-12-8
    引用 2
    cn.wildfirechat.push.android.AndroidPushServiceImpl中的executorService默认是100倍最大cpu核心数,这个数字你们可以改更大一点。另外你们还需要查一下,是不是有某些推送有问题,占用时间比较长,可以找出来解决掉
返回