Skip to main content

Workers

Under the Workers section of your Unmanic settings you will find a few configuration options for managing the workers.


Worker count

Set the number of concurrent workers that you wish this Unmanic installation to run.

tip

For most people, there is no benefit to running more than 3-5 workers. Depending on the type of tasks you carry out, you may find diminishing returns increasing this value beyond 5.

It is recommended to start with one worker initially, and then increase this value slowly until you find the right balance of system resource use and task processing speed.

Worker event schedule

The worker event schedule allows you to generate an ordered list of events that can modify the state of your workers.

Adding an event

An event is configured to trigger at a repeating time. It may be configured to:

  • Set the worker count
  • Pause all workers
  • Resume all workers
note

Scheduling the worker count to reduce at a specified time will trigger the configuration change at that exact time. However, if all workers are currently processing tasks, the actual worker count will not reduce until the next worker becomes idle, at which point it will be terminated.

Setting the event order

The configured worker events are executed from top to bottom. In some cases, you may wish for one event to come after another.

This can be achieved by dragging the items in the list of configured events into order that suites your needs.

Cache path

Set the location of the cache where task files will be temporarily stored while workers are carrying out jobs on them.

tip

For faster processing of I/O bound tasks, such as video encoding, try setting this to a tmpfs (RAM).

However, if you do this you will need to ensure that enough RAM is available to store the average file size times the number of workers that you are running.