[systemd-devel] [PATCH 2/2] Allow up to 4096 simultaneous connections

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Mar 4 18:44:47 PST 2015


On Wed, Mar 04, 2015 at 04:32:17PM +0100, Hannes Reinecke wrote:
> On large system we hit the limit on 512 simultaneous dbus
> connections, resulting in tons of annoying messages:
> 
> Too many concurrent connections, refusing
> 
> This patch raises the limit to 4096.
> 
> Signed-off-by: Hannes Reinecke <hare at suse.de>
Applied, without SOB.

Zbyszek

> ---
>  src/core/dbus.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/core/dbus.c b/src/core/dbus.c
> index 5dcb0d1..80f7589 100644
> --- a/src/core/dbus.c
> +++ b/src/core/dbus.c
> @@ -43,7 +43,7 @@
>  #include "bus-internal.h"
>  #include "selinux-access.h"
>  
> -#define CONNECTIONS_MAX 512
> +#define CONNECTIONS_MAX 4096
>  
>  static void destroy_bus(Manager *m, sd_bus **bus);
>  
> -- 
> 1.8.4.5
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list