Radeity commented on PR #13896:
URL: 
https://github.com/apache/dolphinscheduler/pull/13896#issuecomment-1501821293

   > 
   > This is possible, we can provide different strategy, e.g percentage, 
absolute value. This will need to change the whole config.
   > 
   > ```yaml
   > avoid-overload:
   >     strategy: Percentage
   >     max-memory-usage: 70%
   >     max-cpu-usage: 80%    
   >     # strategy: AbsoluteValue 
   >     # max-memory-usage: 6G
   >     # max-cpu-usage: 6C
   > ```
   > 
   > If this is needed, I will improve this in the next PR.
   
   Maybe we can simply provide two settings, if satisfy both, we consider the 
node is overload, like the memory usage is higher than 70% and reserved memory 
is less than 6G.


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