First of all, I think I’m conflicting two things in my initial post: the
--processes-number-maccs is a different setting than the number of
TBH, I’m not sure what is configured with
--processes-number-maccs. I am guessing this will parallelize the processing of previous L2A tiles, when multiple of those are given with the
--prev-l2a-tiles configuration option.
The number of workers – which translates to how many tiles will be processed in parallel, for all sites (not for each site) – is configured by the
--processes-number configuration option of the
To configure this to your liking do the following:
- view the current service configuration and notice the
$ sudo systemctl cat sen2agri-demmaccs.service
- edit the service configuration to override the ExecStart line to add your needed configuration options
$ sudo systemctl edit sen2agri-demmaccs.service
ExecStart=/usr/share/sen2agri/sen2agri-demmaccs/demmaccs_launcher.py --processes-number 10
Here we define that the
ExecStart line of the
[Service] section, should be cleared and then defined again with the wanted configuration option (use a value that matches your host environment).
- save, exit and restart the service, and the new configuration should be applied
$ sudo systemctl restart sen2agri-demmaccs.service
I now get multiple dmworkers to process more tiles in parallel.