Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-47943

XDCR - File descriptor leak in XDCR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 6.5.1, 6.6.0, 6.6.1, 6.6.2, 6.5.2, 6.5.0, 7.0.0, 7.0.1, 7.1.0
    • XDCR
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      In a recent case from the field we've seen XDCR holding 70,000 sockets that do not have a process on the other side of the connection. When lsof is run, these sockets show up as follows:

       
      COMMAND     PID    USER   FD      TYPE    DEVICE SIZE/OFF      NODE NAME
      ...
      goxdcr.bi 24440 cbadmin    5u     sock       0,7      0t0 303953540 protocol: TCP
      goxdcr.bi 24440 cbadmin    6u     sock       0,7      0t0 211821560 protocol: TCP
      goxdcr.bi 24440 cbadmin   10u     sock       0,7      0t0 216966092 protocol: TCP
      ...
      

      In this case the user had set the file descriptor limit to 70k and so at this point XDCR is unable to create new connections. This issue was previously tracked in MB-44182 and believed to be fixed, but it seems that the core issue hasn't been completely fixed.

      Attachments

        Issue Links

          Activity

            People

              pavithra.mahamani Pavithra Mahamani (Inactive)
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty