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

couchbase-server stop hangs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 2.0-beta
    • 2.0-beta
    • ns_server
    • Security Level: Public
    • None

    Description

      Trying to stop a server with 2M items hangs.

      I loaded 1M items. let the disk queue drain, loaded another 1M items, let the queue drain (not sure if this is related to the problem).
      Stopping the server, getting stuck

      [root@localhost ~]# /etc/init.d/couchbase-server stop
      Stopping couchbase-server.

      i see the following errors on the log, don't know if they are related:
      ERROR REPORT <5862.675.0> 2011-07-19 14:30:30
      ===============================================================================

        • Generic server couchbase_compaction_daemon terminating
        • Last message in was {'EXIT',<5862.676.0>,
          Unknown macro: {noproc,{gen_server,call,[ns_config,get]}}}
          ** When Server state == {state,<5862.676.0>}
          ** Reason for termination ==
          ** {compaction_loop_died,{noproc,{gen_server,call,[ns_config,get]}}

          }

      CRASH REPORT <5862.675.0> 2011-07-19 14:30:30
      ===============================================================================
      Crashing process
      initial_call

      {couchbase_compaction_daemon,init,['Argument__1']}

      pid <5862.675.0>
      registered_name couchbase_compaction_daemon
      error_info
      {exit,
      {compaction_loop_died,{noproc,

      {gen_server,call,[ns_config,get]}

      }},
      [

      {gen_server,terminate,6}

      ,

      {proc_lib,init_p_do_apply,3}

      ]}
      ancestors [couch_secondary_services,couch_server_sup,<5862.51.0>]
      messages []
      links [<5862.615.0>]
      dictionary []
      trap_exit true
      status running
      heap_size 377
      stack_size 24
      reductions 830

      ^C the script exited but beam.smp still alive.
      Assigning to Aliaksey, for first analysis, this could be related to the compaction, if yes, you can assign to Filipe.

      Attached are the full diags.

      Attachments

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

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            sharon Sharon Barr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty