Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5740

HotRod client write buffer is too large

    Details

      Description

      The ISPN-1015 fix added a buffer to the HotRod client transport to reduce the number of syscalls. But that buffer's size is not fixed, instead it's based on Socket.getSendBufferSize(), which in turn is based on the kernel's net.core.wmem_max.

      JGroups needs net.core.wmem_max greater or equal than UDP.ucast_send_buf_size, which is 1MB by default. That is probably too much for the TcpTransport's buffer, because the buffer is also duplicated in the OS.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dan.berindei Dan Berindei
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: