Reduce parallel worker processes to 3

This was overly optimistic that 2G would be enough to handle 4 worker
processes as they are already exhausting the 2G limit.

Depending on performance we may need to tweak the memory instead/too.
This commit is contained in:
Athanasios Voutsadakis
2018-03-12 16:25:19 +00:00
parent bab68280dc
commit 7268acdd38

View File

@@ -63,7 +63,7 @@ applications:
NOTIFY_APP_NAME: delivery-worker-research
- name: notify-delivery-worker-sender
command: scripts/run_multi_worker_app_paas.sh celery multi start 4 -c 10 -A run_celery.notify_celery --loglevel=INFO -Q send-sms-tasks,send-email-tasks
command: scripts/run_multi_worker_app_paas.sh celery multi start 3 -c 10 -A run_celery.notify_celery --loglevel=INFO -Q send-sms-tasks,send-email-tasks
memory: 2G
env:
SQLALCHEMY_POOL_SIZE: 1
@@ -99,4 +99,4 @@ applications:
- name: notify-delivery-worker-service-callbacks
command: scripts/run_app_paas.sh celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=11 -Q service-callbacks
env:
NOTIFY_APP_NAME: delivery-worker-service-callbacks
NOTIFY_APP_NAME: delivery-worker-service-callbacks