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

memcached.log needs to capture crashes and aborts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 2.5.1, 3.0
    • memcached
    • Security Level: Public
    • None
    • Triaged
    • Unknown

    Description

      memcached and ep-engine do not log crashes or aborts in memcached.log.
      So critical runtime failures can sometimes get silently ignored.
      This is made even worse if core files are not enabled on any machine and all crash information is lost.

      It would be good to have the following..
      1) Record a crash reason in memcached.log so the crash time is placed in context with other log messages
      2) Dump backtraces for all the threads
      3) Dump stats for all buckets - since state of the system at the point of the crash can be most relevant.
      4) Allow the crash dump infrastructure to be invoked by an external process in case a hang is detected.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-12053
          # Subject Branch Project Status CR V

          Activity

            People

              drigby Dave Rigby (Inactive)
              sundar Sundar Sridharan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty