Disable OCR workers
In IA Cloud v.10.2, the OCR component is installed by default. If you do not plan to use OCR, you can disable it. This will increase the throughput for CT, RPA, and AutoML workers.
To disable the OCR component, follow these steps:
On the MASTER server, run the following command as
WFUSERto disable theocr2restservice:$ wfmanager stop ocr2rest $ cd INSTALL_DIR/supervisord/apps/ $ mv ocr2-rest.ini ocr2-rest.ini.disable $ wfmanager updateIf you work in the high-availability environment, run the command above on each MASTER instance.
On the MASTER server, run the following command as
WFUSERto clean rabbitmq queues:$ source INSTALL_DIR/environment.sh $ rabbitmqctl list_queues --vhost bep | grep ocr | awk '{ print $1 }' | xargs -L1 rabbitmqctl delete_queue --vhost bepOn each AGENT server, run the following command as
WFUSERto kill unnecessary OCR processes:kill -9 $(ps aux | grep -v grep | grep ocr-worker | awk '{print $2}')