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

erl_crash.dump when stop couchbase: Stopping couchbase-server{error_logger,{{2013,3,21},{4,54,2}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
      None
    • Environment:
      2.0.2-741-rel, CentOS release 5.8

      Description

      http://qa.hq.northscale.net/view/2.0.1/job/ubuntu-64-2.0-new-rebalance-tests-P0/395/consoleFull
      ./testrunner -i /tmp/rebalance-tests.ini get-logs=True,wait_timeout=180,GROUP=P0,get-cbcollect-info=True -t rebalance.rebalanceout.RebalanceOutTests.rebalance_out_with_warming_up,nodes_out=3,items=500000,replicas=2,max_verify=100000,GROUP=OUT;P0

      there are no any specific cases:
      1. cluster 7 nodes, 1 bucket
      2. try to stop server om 10.3.121.64

      [root@cen-2707 ~]# /etc/init.d/couchbase-server status
      couchbase-server is running
      [root@cen-2707 ~]# /etc/init.d/couchbase-server stop
      Stopping couchbase-server{error_logger,2013,3,21},{4,54,2,"Protocol: ~p: register error: ~p~n",["inet_tcp",badmatch,{error,duplicate_name,[

      {inet_tcp_dist,listen,1}

      ,

      {net_kernel,start_protos,4}

      ,

      {net_kernel,start_protos,3}

      ,

      {net_kernel,init_node,2}

      ,

      {net_kernel,init,1}

      ,

      {gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}
      {error_logger,2013,3,21},{4,54,2,crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6}

      ,

      {proc_lib,init_p_do_apply,3}

      ]}},

      {ancestors,[net_sup,kernel_sup,<0.9.0>]}

      ,

      {messages,[]}

      ,

      {links,[#Port<0.53>,<0.17.0>]}

      ,{dictionary,[

      {longnames,true}

      ]},

      {trap_exit,true}

      ,

      {status,running}

      ,

      {heap_size,377}

      ,

      {stack_size,24}

      ,

      {reductions,475}

      ],[]]}
      {error_logger,2013,3,21},{4,54,2,supervisor_report,[{supervisor,{local,net_sup}},

      {errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['executioner@executioner',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
      {error_logger,2013,3,21},{4,54,2,supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error}

      ,

      {reason,shutdown}

      ,{offender,[

      {pid,undefined}

      ,

      {name,net_sup}

      ,{mfargs,{erl_distribution,start_link,[]}},

      {restart_type,permanent}

      ,

      {shutdown,infinity}

      ,

      {child_type,supervisor}

      ]}]}
      {error_logger,2013,3,21},{4,54,2,std_info,[

      {application,kernel}

      ,{exited,{shutdown,

      {kernel,start,[normal,[]]}}},{type,permanent}]}
      {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}

      }}"}

      Crash dump was written to: erl_crash.dump.03-21-2013-04:54:02.29366
      Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,

      {kernel,start,[normal,[]]}

      }})

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

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Andrei, we'll need backtraces of all memcached threads here.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Andrei, we'll need backtraces of all memcached threads here.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Getting this off me.

        Memcached being stuck is something to investigate.

        Plus when this error happens we known we've initiated another shutdown earlier and haven't waited for it's completion.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Getting this off me. Memcached being stuck is something to investigate. Plus when this error happens we known we've initiated another shutdown earlier and haven't waited for it's completion.
        Show
        andreibaranouski Andrei Baranouski added a comment - passed against 2.0.2-766 http://qa.hq.northscale.net/view/2.0.1/job/ubuntu-64-2.0-new-rebalance-tests-P0/417/consoleFull
        Hide
        anil Anil Kumar added a comment -

        Andrei, can you update the bug if tests are passing add the details to the bug and close it.

        Show
        anil Anil Kumar added a comment - Andrei, can you update the bug if tests are passing add the details to the bug and close it.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        andrei, pls verify this is still passing in latest build.

        Show
        maria Maria McDuff (Inactive) added a comment - andrei, pls verify this is still passing in latest build.

          People

          • Assignee:
            andreibaranouski Andrei Baranouski
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes