> This page is for Itential Platform On-Prem, version 6 (default).
> For other versions, use one of these documentation indexes:
> - 6 (default): https://docs.itential.com/itential-platform/6/llms.txt
> - 2023.2: https://docs.itential.com/itential-platform/2023-2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# Tune worker settings

> Use your job capacity baseline to decide when to change task worker settings and check the result on Itential Platform.

Tune after you've run the alerts in notify-only mode and counted false alarms. Tune the alert thresholds first, then use your baseline to decide when and whether to change worker settings. For which values to change and by how much, see [Tune rate limits](/itential-platform/studio/workflows/optimize-workflow-engine-performance/tune-rate-limits). For how to apply a change, see [Configure rate limits](/itential-platform/studio/optimize-workflow-engine-performance/configure-rate-limiting).

## Tune alert thresholds

Tune the alerts first, starting from the false alarms you counted in [Notify](/itential-platform/monitor/job-capacity/notify). For each alert that fired without needing action, change one value and watch it for a week.

* Raise the alert's `for:` duration if it fired on short spikes. Shorten it only if the alert caught a real problem late. Don't go below 5 minutes, because CPU uses 5-minute rates.
* Raise the demand floors, 10 jobs and 50 tasks per minute, if the demand alerts fired on loads that caused no slowdown. Lower them if a real surge stayed under.
* Change the CPU cut-offs, 70% and 85%, only if your hosts normally run above them, judging by your 30-day host CPU p95. Change the rules and the [decision matrix](/itential-platform/monitor/job-capacity/baseline#decision-matrix) together.

After each change, run `promtool check rules` and reload Prometheus.

## Check capacity before and after a change

> **Warning**
>
> Changing `task_worker_thread_count` or `task_worker_rate_limit` in configuration requires a Platform restart, which interrupts in-flight jobs. Plan the change for a maintenance window or a quiet period. For a change without a restart, see [Configure rate limits](/itential-platform/studio/optimize-workflow-engine-performance/configure-rate-limiting#configure-at-runtime-immediate-not-persistent).

#### Confirm the cause

Use the [decision matrix](/itential-platform/monitor/job-capacity/baseline#decision-matrix) to confirm the cause is capacity, not failing workflows or a slow downstream system.

#### Record a before window

Record 24 hours of jobs started per minute, Redis queue latency, host CPU, Workflow Engine CPU, MongoDB and Redis memory, and API responsiveness.

#### Change one setting

Make one small change, following [Tune rate limits](/itential-platform/studio/workflows/optimize-workflow-engine-performance/tune-rate-limits).

#### Compare

Run through a representative load period, then compare the same measurements with your before window and your baseline.

#### Update the divisor

If you raised `task_worker_thread_count`, update the divisor in `itential:wfe_cpu:ceiling_pct` to the new value and reload Prometheus. Nodes still on the old value read wrongly until every node restarts, so keep notifications off until then.

Stop raising threads when host CPU stays near 80%. At 90% to 95%, reduce `task_worker_thread_count` immediately. For more guidance, see [Adjust number of task workers](/itential-platform/studio/workflows/optimize-workflow-engine-performance/tune-rate-limits#adjust-number-of-task-workers).

If the Workflow Engine is at its thread ceiling with the maximum number of worker threads, add Platform nodes. If Pronghorn Core is the hot process, worker threads don't help it.

## Next steps

* [Review job capacity regularly](/itential-platform/monitor/job-capacity/operate)