screwdriver-wrenchBackend

circle-info

The backend starts with a precomputed number of processes based on the available CPUs.

This value can be overridden by setting the number of workers in the configuration file.

Processes are automatically restarted after reaching the maximum number of handled requests (default: 10000), which can also be adjusted in the configuration file.

To set custom values:

1

Edit configuration file

/datasentinel/soft/datasentinel_backend/config/datasentinel.yml
2

Set desired values

apis:
  workers: 15
  max_requests: 15000
3

Restart backend service

sudo systemctl stop datasentinel_backend
sudo systemctl start datasentinel_backend

Last updated