From b5da6ddc74120b971847f313059af890294fa499 Mon Sep 17 00:00:00 2001 From: Ankit Singhal Date: Tue, 30 Nov 2021 10:20:42 +0530 Subject: [PATCH 1/2] Increase common thread pool size to prevent thread starvation --- docker-compose/harness/environment/manager.env | 2 +- docker-compose/harness/environment/ng-manager.env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose/harness/environment/manager.env b/docker-compose/harness/environment/manager.env index 717a08c..6c7ae52 100644 --- a/docker-compose/harness/environment/manager.env +++ b/docker-compose/harness/environment/manager.env @@ -51,7 +51,7 @@ VERSION=1.0.72106 WATCHER_METADATA_URL=http://proxy/storage/wingswatchers/watcherprod.txt WORKFLOW_EXECUTION_MONITOR_ITERATOR_THREAD_COUNT=2 COMMON_POOL_CORE_SIZE=1 -COMMON_POOL_MAX_SIZE=2 +COMMON_POOL_MAX_SIZE=5 GRAPHQL_ENABLED=false SEARCH_ENABLED=false SERVER_MAX_THREADS=12 diff --git a/docker-compose/harness/environment/ng-manager.env b/docker-compose/harness/environment/ng-manager.env index b6fa36b..b031c63 100644 --- a/docker-compose/harness/environment/ng-manager.env +++ b/docker-compose/harness/environment/ng-manager.env @@ -40,7 +40,7 @@ SHOULD_CONFIGURE_WITH_PMS=true USE_REDIS_FOR_SDK_RESPONSE_EVENTS=true WEBHOOK_EVENT_PROCESSING_SERVICE_THREAD_SIZE=2 COMMON_POOL_CORE_SIZE=1 -COMMON_POOL_MAX_SIZE=2 +COMMON_POOL_MAX_SIZE=3 PMS_SDK_EXECUTION_POOL_CORE_SIZE=1 PMS_SDK_EXECUTION_POOL_MAX_SIZE=2 PMS_SDK_ORCHESTRATION_EVENT_POOL_CORE_SIZE=1 From dd529898447604ee8d12d140ce37fb8b6f112071 Mon Sep 17 00:00:00 2001 From: Ankit Singhal Date: Tue, 30 Nov 2021 10:41:41 +0530 Subject: [PATCH 2/2] Increase common thread pool size to prevent thread starvation --- docker-compose/harness/environment/manager.env | 2 +- docker-compose/harness/environment/ng-manager.env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose/harness/environment/manager.env b/docker-compose/harness/environment/manager.env index 6c7ae52..656e231 100644 --- a/docker-compose/harness/environment/manager.env +++ b/docker-compose/harness/environment/manager.env @@ -51,7 +51,7 @@ VERSION=1.0.72106 WATCHER_METADATA_URL=http://proxy/storage/wingswatchers/watcherprod.txt WORKFLOW_EXECUTION_MONITOR_ITERATOR_THREAD_COUNT=2 COMMON_POOL_CORE_SIZE=1 -COMMON_POOL_MAX_SIZE=5 +COMMON_POOL_MAX_SIZE=10 GRAPHQL_ENABLED=false SEARCH_ENABLED=false SERVER_MAX_THREADS=12 diff --git a/docker-compose/harness/environment/ng-manager.env b/docker-compose/harness/environment/ng-manager.env index b031c63..e7a84d0 100644 --- a/docker-compose/harness/environment/ng-manager.env +++ b/docker-compose/harness/environment/ng-manager.env @@ -40,7 +40,7 @@ SHOULD_CONFIGURE_WITH_PMS=true USE_REDIS_FOR_SDK_RESPONSE_EVENTS=true WEBHOOK_EVENT_PROCESSING_SERVICE_THREAD_SIZE=2 COMMON_POOL_CORE_SIZE=1 -COMMON_POOL_MAX_SIZE=3 +COMMON_POOL_MAX_SIZE=5 PMS_SDK_EXECUTION_POOL_CORE_SIZE=1 PMS_SDK_EXECUTION_POOL_MAX_SIZE=2 PMS_SDK_ORCHESTRATION_EVENT_POOL_CORE_SIZE=1