From: Andy Zhou Date: Tue, 24 Feb 2015 07:20:17 +0000 (-0800) Subject: ovsdb: Raise the jsonrpc server session limit X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bbc45f03d93ad85a0a84c8e3741a94e8a6d2f75e;p=ovs.git ovsdb: Raise the jsonrpc server session limit Raise the connection limit to allow larger number of concurrent ovsdb-server connections. Note, ovsdb-server may not perform well at the new limit. It is rather a prelude to further scaling tests and optimizations. Signed-off-by: Andy Zhou Acked-by: Ben Pfaff --- diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c index 35e3cfc2e..2ba5ddd45 100644 --- a/ovsdb/jsonrpc-server.c +++ b/ovsdb/jsonrpc-server.c @@ -121,7 +121,7 @@ ovsdb_jsonrpc_server_create(void) { struct ovsdb_jsonrpc_server *server = xzalloc(sizeof *server); ovsdb_server_init(&server->up); - server->max_sessions = 64; + server->max_sessions = 330; /* Random limit. */ shash_init(&server->remotes); return server; }