Increase listen() connexion limit
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Sep 2011 16:27:19 +0000 (12:27 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Sep 2011 16:27:19 +0000 (12:27 -0400)
To handle a large number of UST registration at the same time, this
limit needs to be raised.

See /proc/sys/net/core/somaxconn for the maximum possible connexions.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
include/lttng-sessiond-comm.h

index c8f09d39c6b2fa54f7c52eb43b2b2554ab0fe50e..e27f4ed6fac50b027febe3297a79684deba15f29 100644 (file)
@@ -39,7 +39,7 @@
 #define DEFAULT_HOME_CLIENT_UNIX_SOCK       "%s/.client-ltt-sessiond"
 
 /* Queue size of listen(2) */
-#define MAX_LISTEN 10
+#define MAX_LISTEN 64
 
 /*
  * Get the error code index from 0 since LTTCOMM_OK start at 1000
This page took 0.025363 seconds and 4 git commands to generate.