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

Find a way to avoid creating too many erlang crash dumps

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
      None

      Description

      We have some new code that ensures unique names of erlang crash dumps. That's useful for preserving multiple different crashes. But it's also dangerous w.r.t. filling disk with those crash dumps. It'll be more dangerous with babysitting VM change.

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-7930=message:MB-7930

        Activity

        Hide
        maria Maria McDuff (Inactive) added a comment -

        alk, can we limit the number of crash dumps?

        Show
        maria Maria McDuff (Inactive) added a comment - alk, can we limit the number of crash dumps?
        Hide
        maria Maria McDuff (Inactive) added a comment -

        assigning to alk k to take a look.

        Show
        maria Maria McDuff (Inactive) added a comment - assigning to alk k to take a look.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        moving to 2.1

        Show
        maria Maria McDuff (Inactive) added a comment - moving to 2.1
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        We've merged something that appears to work

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - We've merged something that appears to work
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        I guess we can't test it explicitly

        Show
        andreibaranouski Andrei Baranouski added a comment - I guess we can't test it explicitly
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I tested it by forcing erlang VMs to dump crashdump by sending them SIGUSR1.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I tested it by forcing erlang VMs to dump crashdump by sending them SIGUSR1.

          People

          • Assignee:
            andreibaranouski Andrei Baranouski
            Reporter:
            alkondratenko Aleksey Kondratenko (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes