caishunfeng opened a new issue #6499:
URL: https://github.com/apache/dolphinscheduler/issues/6499


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Worker do ack when it accept a task, but not execute immediately when it's 
busy, and you can found that the task may be run more than 20s even just a easy 
echo shell.
   
![image](https://user-images.githubusercontent.com/11962619/136801624-a26e8ce7-42bc-481a-bf80-1c6f358e7077.png)
   
   <br>
   
   So I add some log at WorkerManagerThread.run, which show that the thread 
pool queue accumulation at busy time.
   
![image](https://user-images.githubusercontent.com/11962619/136801759-7fafd1d1-7446-4b53-948e-e91546d617b7.png)
   
   <br>
   
   I think if worker is overload, it should tell master to dispatch slowly by 
more real-time communication. 
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to