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

Large memory consumption by memcached and erl (Windows)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.5.0
    • 6.5.0
    • memcached
    • Windows 10, CB Enterprise Edition 6.5.0 build 3516
    • Untriaged
    • Unknown
    • KV-Engine MH 2nd Beta

    Description

      Summary: I'm running an internal build (3516) of EE, and I'm seeing a large amount of memory being taken up by memcached and erl. I'm running a similar setup to releases of 6.x, where I never saw this kind of spike. 

      I have not yet had time to try and attach a debugger, but if I'm able to and when I get to it, I will update this ticket.

      I've run cbcollect as requested when I brought this up in #engineering on Slack (Dave Rigby). However, the file is too big to attach (100mb limit), so I will try to figure out some other way to send this file (and update this ticket). UPDATE: Here's a WeTransfer link: https://we.tl/t-8dMptSTZU9 - this is only available for 7 days. I will keep the file on my local machine. If you need it after 7 days let me know and I will WeTransfer it again.

      Attachments

        1. cb settings.png
          cb settings.png
          29 kB
        2. cb task manager.png
          cb task manager.png
          27 kB
        3. image-2019-08-20-10-50-51-899.png
          image-2019-08-20-10-50-51-899.png
          163 kB
        4. image-2019-08-21-10-19-25-036.png
          image-2019-08-21-10-19-25-036.png
          106 kB
        5. screenshot-1.png
          screenshot-1.png
          232 kB
        6. screenshot-2.png
          screenshot-2.png
          126 kB
        7. screenshot-of-build-6.5.0-4130.png
          screenshot-of-build-6.5.0-4130.png
          1.15 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          matthew.groves Matthew Groves created issue -
          drigby Dave Rigby made changes -
          Field Original Value New Value
          Assignee Trond Norbye [ trond ] Daniel Owen [ owend ]
          matthew.groves Matthew Groves made changes -
          Description *Summary*: I'm running an internal build (3516) of EE, and I'm seeing a large amount of memory being taken up by memcached and erl. I'm running a similar setup to releases of 6.x, where I never saw this kind of spike. 

          I have not yet had time to try and attach a debugger, but if I'm able to and when I get to it, I will update this ticket.

          I've run cbcollect as requested when I brought this up in #engineering on Slack (Dave Rigby). However, the file is too big to attach (100mb limit), so I will try to figure out some other way to send this file (and update this ticket)
          *Summary*: I'm running an internal build (3516) of EE, and I'm seeing a large amount of memory being taken up by memcached and erl. I'm running a similar setup to releases of 6.x, where I never saw this kind of spike. 

          I have not yet had time to try and attach a debugger, but if I'm able to and when I get to it, I will update this ticket.

          I've run cbcollect as requested when I brought this up in #engineering on Slack (Dave Rigby). However, the file is too big to attach (100mb limit), so I will try to figure out some other way to send this file (and update this ticket). *UPDATE*: Here's a WeTransfer link: https://we.tl/t-8dMptSTZU9
          matthew.groves Matthew Groves made changes -
          Description *Summary*: I'm running an internal build (3516) of EE, and I'm seeing a large amount of memory being taken up by memcached and erl. I'm running a similar setup to releases of 6.x, where I never saw this kind of spike. 

          I have not yet had time to try and attach a debugger, but if I'm able to and when I get to it, I will update this ticket.

          I've run cbcollect as requested when I brought this up in #engineering on Slack (Dave Rigby). However, the file is too big to attach (100mb limit), so I will try to figure out some other way to send this file (and update this ticket). *UPDATE*: Here's a WeTransfer link: https://we.tl/t-8dMptSTZU9
          *Summary*: I'm running an internal build (3516) of EE, and I'm seeing a large amount of memory being taken up by memcached and erl. I'm running a similar setup to releases of 6.x, where I never saw this kind of spike. 

          I have not yet had time to try and attach a debugger, but if I'm able to and when I get to it, I will update this ticket.

          I've run cbcollect as requested when I brought this up in #engineering on Slack (Dave Rigby). However, the file is too big to attach (100mb limit), so I will try to figure out some other way to send this file (and update this ticket). *UPDATE*: Here's a WeTransfer link: [https://we.tl/t-8dMptSTZU9] - this is only available for 7 days. I will keep the file on my local machine. If you need it after 7 days let me know and I will WeTransfer it again.
          dfinlay Dave Finlay made changes -
          Fix Version/s Mad-Hatter [ 15037 ]
          drigby Dave Rigby made changes -
          Sprint KV-Engine MH Beta Refresh [ 872 ]
          drigby Dave Rigby made changes -
          Rank Ranked lower
          drigby Dave Rigby made changes -
          Assignee Daniel Owen [ owend ]
          drigby Dave Rigby made changes -
          Assignee Richard deMellow [ richard.demellow ]
          richard.demellow Richard deMellow made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          richard.demellow Richard deMellow made changes -
          Attachment screenshot-1.png [ 72441 ]
          richard.demellow Richard deMellow made changes -
          Attachment image-2019-08-20-10-50-51-899.png [ 72442 ]
          richard.demellow Richard deMellow made changes -
          Attachment screenshot-2.png [ 72516 ]
          richard.demellow Richard deMellow made changes -
          Attachment image-2019-08-21-10-19-25-036.png [ 72517 ]
          richard.demellow Richard deMellow made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          richard.demellow Richard deMellow made changes -
          Attachment screenshot-of-build-6.5.0-4130.png [ 72807 ]
          richard.demellow Richard deMellow made changes -
          VERIFICATION STEPS 1. install Couchbase Server EE on Windows
          2. Set up a one node cluster
          3. Load beer-sample bucket
          4. Use Process Explorer in admin mode to monitor memory usage of memcached.exe
          5. perform a pillow-fight against the beer-sample bucket

          Memory used during the pillow-fight shouldn't grow constantly and instead should stabilise.
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            richard.demellow Richard deMellow
            matthew.groves Matthew Groves
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty