Skip to content

Instantly share code, notes, and snippets.

@tonysun83
Created May 17, 2017 19:37
Show Gist options
  • Save tonysun83/b600e855ea0d3ae0e6ef92e388cf05c0 to your computer and use it in GitHub Desktop.
Save tonysun83/b600e855ea0d3ae0e6ef92e388cf05c0 to your computer and use it in GitHub Desktop.
Worker <0.13448.4> died with reason: {process_died,<0.13449.4>,{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","0022c704fc"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a00c3d9">>},{<<"rev">>,<<"1-30fcd3e27bcd427b7ec47c67cc7726f3">>}]}],[{file,"src/couch_replicator_api_wrap.erl"},{line,218}]},{couch_replicator_httpc,send_req,3,[{file,"src/couch_replicator_httpc.erl"},{line,67}]},{couch_replicator_worker,find_missing,2,[{file,"src/couch_replicator_worker.erl"},{line,530}]},{couch_replicator_worker,queue_fetch_loop,5,[{file,"src/couch_replicator_worker.erl"},{line,232}]}]}}
[error] 2017-05-17T19:37:44.626080Z node3@127.0.0.1 emulator -------- Error in process <0.13449.4> on node 'node3@127.0.0.1' with exit value:
{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","0022c704fc"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a00c3d9">>},{<<"rev">>,<<"1-30fcd3e27bcd427b7ec47c67cc7726f3">>}]}],[{file,"src/couch_replicator_api_wrap.erl"},{line,218}]},{couch_replicator_httpc,send_req,3,[{file,"src/couch_replicator_httpc.erl"},{line,67}]},{couch_replicator_worker,find_missing,2,[{file,"src/couch_replicator_worker.erl"},{line,530}]},{couch_replicator_worker,queue_fetch_loop,5,[{file,"src/couch_replicator_worker.erl"},{line,232}]}]}
[error] 2017-05-17T19:37:44.626473Z node3@127.0.0.1 <0.13324.4> -------- Replication `77470e78b5631338ad5e1673783273fe+create_target` (`http://adm:*****@localhost:15984/mydb/` -> `http://adm:*****@localhost:15984/repngen?engine=ngen`) failed: {worker_died,<0.13448.4>,
{process_died,<0.13449.4>,
{function_clause,
[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',
[201,
[{"Cache-Control","must-revalidate"},
{"Content-Length","95"},
{"Content-Type","application/json"},
{"Date","Wed, 17 May 2017 19:37:43 GMT"},
{"Location",
"http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},
{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},
{"X-Couch-Request-ID","0022c704fc"},
{"X-CouchDB-Body-Time","0"}],
{[{<<"ok">>,true},
{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a00c3d9">>},
{<<"rev">>,<<"1-30fcd3e27bcd427b7ec47c67cc7726f3">>}]}],
[{file,"src/couch_replicator_api_wrap.erl"},{line,218}]},
{couch_replicator_httpc,send_req,3,
[{file,"src/couch_replicator_httpc.erl"},{line,67}]},
{couch_replicator_worker,find_missing,2,
[{file,"src/couch_replicator_worker.erl"},{line,530}]},
{couch_replicator_worker,queue_fetch_loop,5,
[{file,"src/couch_replicator_worker.erl"},{line,232}]}]}}}
[notice] 2017-05-17T19:37:44.628585Z node1@127.0.0.1 <0.14051.4> e8faef8cf9 localhost:15984 127.0.0.1 adm POST /repngen?engine=ngen_revs_diff 201 ok 9
[error] 2017-05-17T19:37:44.626524Z node3@127.0.0.1 <0.13448.4> -------- gen_server <0.13448.4> terminated with reason: {process_died,<0.13449.4>,{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","0022c704fc"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a0...">>},...]}],...},...]}}
last msg: {'EXIT',<0.13449.4>,{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","0022c704fc"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a00c3d9">>},{<<"rev">>,<<"1-30fcd3e27bcd427b7ec47c67cc7726f3">>}]}],[{file,"src/couch_replicator_api_wrap.erl"},{line,218}]},{couch_replicator_httpc,send_req,3,[{file,"src/couch_replicator_httpc.erl"},{line,67}]},{couch_replicator_worker,find_missing,2,[{file,"src/couch_replicator_worker.erl"},{line,530}]},{couch_replicator_worker,queue_fetch_loop,5,[{file,"src/couch_replicator_worker.erl"},{line,232}]}]}}
state: {state,<0.13324.4>,<0.13449.4>,20,{httpdb,"http://adm:pass@localhost:15984/mydb/",nil,[{"Accept","application/json"},{"User-Agent","CouchDB-Replicator/2.1.0-6375cd4"}],30000,[{socket_options,[{keepalive,true},{nodelay,false}]}],10,250,<0.13390.4>,20,nil,undefined},{httpdb,"http://adm:pass@localhost:15984/repngen?engine=ngen",nil,[{"Accept","application/json"},{"User-Agent","CouchDB-Replicator/2.1.0-6375cd4"}],30000,[{socket_options,[{keepalive,true},{nodelay,false}]}],10,250,<0.13401.4>,20,nil,undefined},[],nil,nil,nil,[],nil,nil,{batch,[],0}}
[error] 2017-05-17T19:37:44.626752Z node3@127.0.0.1 <0.13448.4> -------- CRASH REPORT Process (<0.13448.4>) with 0 neighbors exited with reason: {process_died,<0.13449.4>,{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00c3d9"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","0022c704fc"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a0...">>},...]}],...},...]}} at gen_server:terminate/7(line:812) <= proc_lib:init_p_do_apply/3(line:247); initial_call: {couch_replicator_worker,init,['Argument__1']}, ancestors: [<0.13324.4>,couch_replicator_scheduler_sup,couch_replicator_sup,...], messages: [], links: [<0.13324.4>], dictionary: [{last_stats_report,{1495,9080,428142}}], trap_exit: true, status: running, heap_size: 1598, stack_size: 27, reductions: 179
[error] 2017-05-17T19:37:44.626928Z node3@127.0.0.1 emulator -------- Error in process <0.13453.4> on node 'node3@127.0.0.1' with exit value:
{function_clause,[{couch_replicator_api_wrap,'-get_missing_revs/2-fun-1-',[201,[{"Cache-Control","must-revalidate"},{"Content-Length","95"},{"Content-Type","application/json"},{"Date","Wed, 17 May 2017 19:37:43 GMT"},{"Location","http://localhost:15984/repngen/0731dcb14c0b1afc9ca6110c6a00aa18"},{"Server","CouchDB/2.1.0-6375cd4 (Erlang OTP/19)"},{"X-Couch-Request-ID","bb25668ecf"},{"X-CouchDB-Body-Time","0"}],{[{<<"ok">>,true},{<<"id">>,<<"0731dcb14c0b1afc9ca6110c6a00aa18">>},{<<"rev">>,<<"1-eae390ad59052aa3ab095fc8d07cae14">>}]}],[{file,"src/couch_replicator_api_wrap.erl"},{line,218}]},{couch_replicator_httpc,send_req,3,[{file,"src/couch_replicator_httpc.erl"},{line,67}]},{couch_replicator_worker,find_missing,2,[{file,"src/couch_replicator_worker.erl"},{line,530}]},{couch_replicator_worker,queue_fetch_loop,5,[{file,"src/couch_replicator_worker.erl"},{line,232}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment