Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7236

Extend connection backlog for MessageService

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.9, 2.1 rc2
    • Component/s: None
    • Labels:
      None

      Description

      On restart of a node, which is part of a large cluster (500+ nodes) a lot of connection timeouts occur and a lot of messages in kernel log like

       kernel: TCP: Possible SYN flooding on port 7000. Sending cookies.
      
      and like
      
       kernel: net_ratelimit: 232 callbacks suppressed
      

      found that MessageService use default backlog for its serversocket (which is 50 for java)

      This patch extends connection backlog to 500.

        Attachments

        1. BindBacklog500.txt
          1 kB
          Oleg Anastasyev

          Activity

            People

            • Assignee:
              m0nstermind Oleg Anastasyev
              Reporter:
              m0nstermind Oleg Anastasyev
              Authors:
              Oleg Anastasyev
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: