From: David Goulet Date: Thu, 8 Sep 2011 16:27:19 +0000 (-0400) Subject: Increase listen() connexion limit X-Git-Tag: v2.0-pre13~11 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b959688ff6b029f19f0f7e5aa2a9c6b3d86c0aa5 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 --- 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