How to Adjust Imunify360 WebShield Workers
You will need to log in to SSH as root or into the VNC console to adjust Imunify360 WebShield workers. By default, Imunify360 uses 4 workers, but this can be adjusted based on your server’s resources. You will want to add or modify /etc/imunify360-webshield/webshield-main.conf.d/tuning.conf to adjust the number of workers.
worker_processes 8;Adjust worker_processes for the desired number of workers. Typically, you would want a value between 2 and 8, as each worker consumes additional memory. You can also set the value to auto, and it’ll be set to the number of CPU cores.
After making the change, you will need to restart the Imunify360 WebShield service for the changes to take effect.
systemctl restart imunify360-webshieldAdditional Notes
Section titled “Additional Notes”In our experience, we have found that 4 workers is a good starting point for most servers. If you are experiencing high traffic or CPU usage, you may want to increase the number of workers.