You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/31 04:17:41 UTC

[GitHub] [shardingsphere-elasticjob] viviel opened a new issue #1301: The event thread pool may be stacking problems.

viviel opened a new issue #1301:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1301


   I simply looked at the code flow, which is the same as the life cycle of a job schedule, which is used to listen to the execution state of the job task, which means that the thread pool is either reused or destroyed with the end of a schedule.
   
   <img width="786" alt="unchecked" src="https://user-images.githubusercontent.com/37171953/88999565-7f3b4f00-d327-11ea-83fc-5ccd1a2120f5.png">
   
   Here, the life cycle of the jobFacade object is scheduled once, and the event thread pool is managed by jobFacade.
   
   The problem now is that after a job scheduling is over, the event thread pool has a survival time of five minutes, which can lead to the event thread pool stacking if the schedule frequency is high.


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

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



[GitHub] [shardingsphere-elasticjob] terrymanu commented on issue #1301: The event thread pool may be stacking problems.

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #1301:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1301#issuecomment-666978228


   Fixed by #1305


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

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



[GitHub] [shardingsphere-elasticjob] terrymanu closed issue #1301: The event thread pool may be stacking problems.

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #1301:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1301


   


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

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