You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/01/22 02:52:44 UTC

[GitHub] [rocketmq] XiaoyiPeng edited a comment on issue #3781: 压测生产者内存溢出

XiaoyiPeng edited a comment on issue #3781:
URL: https://github.com/apache/rocketmq/issues/3781#issuecomment-1019024783


   > callbackExecutor,2cpu个线程,队列长度为50000,线程池拒绝策略为:AbortPolicy
   
   The `AbortPolicy` has no effect for `callbackExecutor`, because when `callbackExecutor` catch `RejectedExecutionException` in the external invoked thread, it does not throw  exception to the upper layer.
   
   As shown below: 
   
   ![image](https://user-images.githubusercontent.com/8653312/150621993-ddbef5d8-0856-41d6-801a-b121d065c475.png)
   
   
   
   
   **So no matter which rejection policy is set for** `callbackExecutor`, **the final real policy is the** `CallerRunsPolicy`.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org