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

Prevent core dumps from being generated when memcached crashes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, Morpheus, 7.0.0, 7.1.1, 7.2.0
    • memcached
    • None
    • 0

    Description

      Given memcached uses breakpad to generate minidumps, which are cross-platform "core dumps", we should probably start disallowing core dump generation by default. We should especially protected against full core dumps containing the process heap from being generated, as those can be excessively large.

      Options:

      • We could setrlimit to disable core dump generation by default in newer versions, but allow for overriding this.
      • Alternatively, we could just issue a warning in memcached.log when the coredump_filter will result in a core dump containing the entire process heap

      Given breakpad has been reliable in the past, we could probably just disable core dumps by default.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owend Daniel Owen
            vesko.karaganev Vesko Karaganev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty