Help · Workers
Workers on this server
How many workers to run beside the panel, changing the number from Workers → Overview or the server, and the memory check.
Last updated
Workers do the copying: mailboxes, files, groups and Teams. They run on your Mygration server, beside the panel. The installer starts 2 unless you choose otherwise, and you can change the number any time. Only admins see Workers.
How many to run #
More workers spread the load and the memory. Each worker can use up to a set amount of memory, and the panel and the rest of the server need about 2 GB more. As a guide:
| Server | CPU and memory | Workers |
|---|---|---|
| Small | 4 vCPU, 8 GB | 2 |
| Medium | 8 vCPU, 16 GB | 3 |
| Large | 16 vCPU, 32 GB | 4 to 6 |
Your upload speed usually limits a migration before the workers do. Workers → Performance says about how many mailboxes this server runs comfortably, and what holds it back: see Workers → Performance.
Change the number in the panel #
- Go to Workers → Overview.
- Under Workers on this server, enter the number, from 1 to 20.
- Click Apply.

The text beside the box says how many are running, how much memory each can use, and the server's memory and CPUs. Within about 15 seconds the change starts, and the card says what's happening until it's done. The number is kept, so a restart or reboot runs the same number.
With fewer workers, the highest-numbered ones stop first and hand their jobs back: those jobs carry on on the others. That can take a minute or two.
The memory check #
If the workers you ask for, plus about 2 GB for the panel and database, need more memory than the server has, the card warns you before you apply:
4 workers at up to 4.0 GB each, plus about 2.0 GB for the panel and database, is more than this server's 16.0 GB.
You can still apply it. Busy workers may then run out of memory: they're restarted, and their jobs carry on, but it slows things down. Give the server more memory, or run fewer workers.
Change the number from the server #
On the server, sudo mygration workers shows how many run, and sudo mygration workers <n> sets it, from 1 to 20:
sudo mygration workers 4
Use this when the card says The updater isn't running, so this can't be changed from here.
What the Overview shows #
Workers → Overview shows Workers online, how many jobs are Running out of the slots the workers have, the Upload to Microsoft right now, and what's Waiting in the queue. Below, each worker has a card:
- a green dot while it reports, or Last seen when it has stopped;
- Connects, Version, Up for, Running, Upload and Parallel uploads;
- what it's copying now, with progress and speed;
- Logs, to download its latest log lines.
Note
No workers reporting means nothing migrates. On the server, run sudo mygration start, then
sudo mygration status.
Workers at customers' sites are listed here too: see Running a worker at a customer's site.