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

jemalloc not used on older Linux releases, breaking Defragmenter and affecting performance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.6.0
    • 4.6.0
    • build
    • None
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      When jemalloc was upgraded to v4.1.1 (as part of MB-20519 - cbmalloc) in the 4.6.0 development cycle, on older Linux platforms it suffers from https://github.com/jemalloc/jemalloc/issues/349 - it looks in the wrong place for a required symbol.

      As a result, when our CMake build checks for its presence it fails, and hence we do not use jemalloc for memory allocation; instead falling back to the system allocator.

      This is a significant problem, as the ep-engine Defragmenter depends on jemalloc to operate. It will also adversely affect KV-Engine performance.

      The following distributions are affected:

      • CentOS 6
      • Debian 7
      • Ubuntu 12.04
      • SuSE 11

      The following distributions are not affected:

      • CentOS 7
      • Debian 8
      • Ubuntu 14.04

      Note this issue was introduced in 4.6.0 development; 4.5.1 is not affected.

      Attachments

        Issue Links

          Activity

            People

              ericcooper Eric Cooper (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty