1 Reply Latest reply on Sep 6, 2016 9:09 AM by vincent.sourin

    Warning in keycloak2.1.0.Final

    aman.jaiswal

      hi I am getting following error please suggest something...

       

      10:21:05,498 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-2) JGRP000015: the send buffer of socket ManagedDatagramSocketBinding was set to 1MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

      10:21:05,502 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-2) JGRP000015: the receive buffer of socket ManagedDatagramSocketBinding was set to 20MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

      10:21:05,502 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-2) JGRP000015: the send buffer of socket ManagedMulticastSocketBinding was set to 1MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

      10:21:05,502 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-2) JGRP000015: the receive buffer of socket ManagedMulticastSocketBinding was set to 25MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

        • 1. Re: Warning in keycloak2.1.0.Final
          vincent.sourin

          Hello,

           

          You have to increase buffer sizes.

          On Linux systems, in /etc/sysctl.conf add those two lines :

           

          # Allow a 25MB UDP receive buffer for JGroups
          net.core.rmem_max = 26214400
          # Allow a 1MB UDP send buffer for JGroups
          net.core.wmem_max = 1048576
          

           

          Then run this command for the changes to take effect :

           

          sysctl -p
          

           

          Regards.