The systemctl file is at:
/usr/lib/systemd/system/st2actionrunner.service
the bash script is at:
/opt/stackstorm/st2/bin/runners.sh
The bash script is expecting a variable called
WORKERS
else defaults to 10
there is an EnvironmentsFile
setting
EnvironmentFile=-/etc/sysconfig/st2actionrunner
Solution:
- For RHEL/CentOS systems edit
/etc/sysconfig/st2actionrunner
- For Ubuntu/Debian systems edit
/etc/default/st2actionrunner
and add a line:
WORKERS=25
or whatever number of workers you want to try.