From b959688ff6b029f19f0f7e5aa2a9c6b3d86c0aa5 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 8 Sep 2011 12:27:19 -0400 Subject: [PATCH] Increase listen() connexion limit 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 --- include/lttng-sessiond-comm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng-sessiond-comm.h b/include/lttng-sessiond-comm.h index c8f09d39c..e27f4ed6f 100644 --- a/include/lttng-sessiond-comm.h +++ b/include/lttng-sessiond-comm.h @@ -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 -- 2.34.1