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

Log human readable message if failing to start with enospc

    XMLWordPrintable

Details

    • 1

    Description

      Fairly often, we see issues where the primary symptom is Couchbase Server failing to start due to a lack of space on a device. This produces a very Erlang error of the form:

      {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{ns_babysitter,start,[normal,[]]},{'EXIT',{{badmatch,{error,enospc}},[{ns_babysitter,do_write_file,3,[{file,"src/ns_babysitter.erl"},{line,93}]},{ns_babysitter,start,2,[{file,"src/ns_babysitter.erl"},{line,64}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}}}},[{ns_babysitter_bootstrap,start,0,[{file,"src/ns_babysitter_bootstrap.erl"},{line,30}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
      

      If you know what to look for, you can spot the enospc hidden in there and draw a conclusion, but for end users it would be much easier to have a clearer message so they can fix the issue on their own.

      Attachments

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

        Activity

          People

            peter.searby Peter Searby
            James Flather James Flather (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty