From af0a810ea52252a90a5c9dbf3eae5669de30371d Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Wed, 25 Apr 2012 02:44:16 +0000 Subject: [PATCH] Set a more reasonable default RPC thread pool size No service should be doing over 1000 different tasks at once. It can only possibly end up overloading other dependent services. 64 should be a more reasonable starting point. Change-Id: I7690ad4a9cfc5ee11e1990d5cecdf23522f11f72 --- nova/rpc/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/rpc/common.py b/nova/rpc/common.py index 51bf2fd2..a2975e9a 100644 --- a/nova/rpc/common.py +++ b/nova/rpc/common.py @@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__) rpc_opts = [ cfg.IntOpt('rpc_thread_pool_size', - default=1024, + default=64, help='Size of RPC thread pool'), cfg.IntOpt('rpc_conn_pool_size', default=30,