ovsdb: Raise the jsonrpc server session limit
authorAndy Zhou <azhou@nicira.com>
Tue, 24 Feb 2015 07:20:17 +0000 (23:20 -0800)
committerAndy Zhou <azhou@nicira.com>
Tue, 24 Feb 2015 18:41:58 +0000 (10:41 -0800)
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 <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovsdb/jsonrpc-server.c

index 35e3cfc..2ba5ddd 100644 (file)
@@ -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;
 }