enable_disable_task_mgr_dynamic_throttling.py

The enable_disable_task_mgr_dynamic_throttling.py script enables or disables Task Manager dynamic throttling. The script enables dynamic throttling only if the cluster is in an active or standby state. This prevents the engine having to be restarted after an upgrade, which can be time consuming.

Note: The enable_disable_task_mgr_dynamic_throttling.py script only controls the engine in the pod or server where the command is run.

Syntax

enable_disable_task_mgr_dynamic_throttling.py [-e engineId] [-f throttle_flag]
-e engine_id, --engine=engine_id
Specifies the engine ID for which to enable or disable Task Manager dynamic throttling. The default value is the engine the script is run on or the first engine.
-fthrottle_flag, --flag=throttle_flag
Specifies whether to enable or disable Task Manager dynamic throttling on the specified engine. Specify 0 to disable or 1 to enable. The default value is 0.