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 2021/08/13 09:10:33 UTC

[GitHub] [rocketmq] zhaohai1299002788 opened a new issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

zhaohai1299002788 opened a new issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264


   Use Executors to create a thread pool, there is a risk of resource exhaustion.
   ![Uploading 111.jpg…]()
   


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



[GitHub] [rocketmq] ni-ze commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-900027922


   can not read your picture, and how to prove that is a risk.


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



[GitHub] [rocketmq] zhaohai1299002788 commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
zhaohai1299002788 commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-900744534


   newFixedThreadPool is a fixed number of threads, using an infinite queue.


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



[GitHub] [rocketmq] zhaohai1299002788 commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
zhaohai1299002788 commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-900744534


   newFixedThreadPool is a fixed number of threads, using an infinite queue.


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



[GitHub] [rocketmq] ni-ze commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-900060060


   can you repeat how the resource exhaustion?


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



[GitHub] [rocketmq] caigy commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-901070559


   @zhaohai1299002788 Could you submit a PR to fix it?


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



[GitHub] [rocketmq] caigy commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-901070559


   @zhaohai1299002788 Could you submit a PR to fix it?


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



[GitHub] [rocketmq] zhaohai1299002788 commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
zhaohai1299002788 commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-898307387


   #3263


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



[GitHub] [rocketmq] zhaohai1299002788 commented on issue #3264: Use Executors to create a thread pool, there is a risk of resource exhaustion.

Posted by GitBox <gi...@apache.org>.
zhaohai1299002788 commented on issue #3264:
URL: https://github.com/apache/rocketmq/issues/3264#issuecomment-900033996


   ![image](https://user-images.githubusercontent.com/33314633/129675745-9356e052-489a-4969-8e24-74a49c4d8966.png)
   This way of creating a thread pool will cause resource exhaustion.


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