Skip to content

Instantly share code, notes, and snippets.

@nl
Created July 19, 2013 18:24
Show Gist options
  • Save nl/6041276 to your computer and use it in GitHub Desktop.
Save nl/6041276 to your computer and use it in GitHub Desktop.
[Fri, 19 Jul 2013 18:23:21 GMT] [info] [<0.17713.4>] Replication `"560be3b022e2d4c7ec48b762ab1d443b"` is using:
4 worker processes
a worker batch size of 500
20 HTTP connections
a connection timeout of 30000 milliseconds
10 retries per request
socket options are: [{keepalive,true},{nodelay,false}]
[Fri, 19 Jul 2013 18:23:21 GMT] [info] [<0.14685.4>] starting new replication `560be3b022e2d4c7ec48b762ab1d443b` at <0.17713.4> (`http://admin:*****@localhost:4984/sync_gateway/` -> `test-pull`)
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17733.4>] Retrying fetch and update of document `cb07680f06588356780bad593a002851` due to out of sync attachment stubs. Missing revisions are: 3-ab65ef7f0a2d60c60909a2a9ecd9df24
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17720.4>] ** Generic server <0.17720.4> terminating
** Last message in was {'EXIT',<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',4}]}}
** When Server state == {state,<0.17713.4>,<0.17722.4>,20,
{httpdb,
"http://admin:password@localhost:4984/sync_gateway/",
nil,
[{"Accept","application/json"},
{"User-Agent","CouchDB/1.2.1"}],
30000,
[{socket_options,
[{keepalive,true},{nodelay,false}]}],
10,250,<0.17714.4>,20},
{db,<0.14613.4>,<0.14614.4>,nil,
<<"1374255700703369">>,<0.14615.4>,<0.14611.4>,
<0.14617.4>,
{db_header,6,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.14611.4>,nil,
#Fun<couch_db_updater.10.55895019>,
#Fun<couch_db_updater.11.100913286>,
#Fun<couch_btree.5.93788370>,
#Fun<couch_db_updater.12.39068440>,snappy},
{btree,<0.14611.4>,nil,
#Fun<couch_db_updater.13.114276184>,
#Fun<couch_db_updater.14.2340873>,
#Fun<couch_btree.5.93788370>,
#Fun<couch_db_updater.15.23651859>,snappy},
{btree,<0.14611.4>,nil,
#Fun<couch_btree.3.71804109>,
#Fun<couch_btree.4.115144917>,
#Fun<couch_btree.5.93788370>,nil,snappy},
0,<<"test-pull">>,
"/var/lib/couchdb/test-pull.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
[create,
{user_ctx,
{user_ctx,<<"admin">>,
[<<"_admin">>],
<<"{couch_httpd_auth, cookie_authentication_handler}">>}}],
snappy,nil,nil},
[<0.17733.4>],
nil,nil,
{<0.17722.4>,#Ref<0.0.6.201978>},
{rep_stats,1,1,0,0,0},
nil,<0.17723.4>,
{batch,[],0}}
** Reason for termination ==
** {process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,'-spawn_doc_reader/3-fun-1-',4}]}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [emulator] Error in process <0.17733.4> with exit value: {{nocatch,{missing_stub,<<82 bytes>>}},[{couch_replicator_worker,flush_doc,2},{couch_replicator_worker,remote_doc_handler,2},{couch_api_wrap,receive_docs,4},{couch_api_wrap,receive_docs_loop,6},{couch_replicator_worker,'-spawn_doc_reader/3-fun-1-'...
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17720.4>] {error_report,<0.31.0>,
{<0.17720.4>,crash_report,
[[{initial_call,
{couch_replicator_worker,init,['Argument__1']}},
{pid,<0.17720.4>},
{registered_name,[]},
{error_info,
{exit,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',4}]}},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.17713.4>,couch_rep_sup,couch_primary_services,
couch_server_sup,<0.32.0>]},
{messages,[]},
{links,[<0.17722.4>,<0.17723.4>,<0.17713.4>]},
{dictionary,
[{last_stats_report,{1374,258201,857048}}]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,324}],
[{neighbour,
[{pid,<0.17723.4>},
{registered_name,[]},
{initial_call,
{couch_event_sup,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[<0.17720.4>,<0.17713.4>,couch_rep_sup,
couch_primary_services,couch_server_sup,
<0.32.0>]},
{messages,[{'$gen_cast',stop}]},
{links,[<0.17720.4>,<0.89.0>]},
{dictionary,[]},
{trap_exit,false},
{status,runnable},
{heap_size,233},
{stack_size,9},
{reductions,32}]},
{neighbour,
[{pid,<0.17722.4>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,{gen,do_call,4}},
{ancestors,[]},
{messages,[]},
{links,[<0.17720.4>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,1597},
{stack_size,23},
{reductions,179}]}]]}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17713.4>] Worker <0.17720.4> died with reason: {process_died,
<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,
flush_doc,2},
{couch_replicator_worker,
remote_doc_handler,
2},
{couch_api_wrap,
receive_docs,4},
{couch_api_wrap,
receive_docs_loop,
6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',
4}]}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17713.4>] Replication `560be3b022e2d4c7ec48b762ab1d443b` (`http://admin:*****@localhost:4984/sync_gateway/` -> `test-pull`) failed: {worker_died,<0.17720.4>,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,'-spawn_doc_reader/3-fun-1-',4}]}}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17713.4>] ** Generic server <0.17713.4> terminating
** Last message in was {'EXIT',<0.17720.4>,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',4}]}}}
** When Server state == {rep_state,
{rep,
{"560be3b022e2d4c7ec48b762ab1d443b",[]},
{httpdb,
"http://admin:password@localhost:4984/sync_gateway/",
nil,
[{"Accept","application/json"},
{"User-Agent","CouchDB/1.2.1"}],
30000,
[{socket_options,
[{keepalive,true},{nodelay,false}]}],
10,250,nil,20},
<<"test-pull">>,
[{connection_timeout,30000},
{http_connections,20},
{retries,10},
{socket_options,[{keepalive,true},{nodelay,false}]},
{worker_batch_size,500},
{worker_processes,4}],
{user_ctx,null,[],undefined},
null},
"http://admin:*****@localhost:4984/sync_gateway/",
"test-pull",
{httpdb,
"http://admin:password@localhost:4984/sync_gateway/",
nil,
[{"Accept","application/json"},
{"User-Agent","CouchDB/1.2.1"}],
30000,
[{socket_options,
[{keepalive,true},{nodelay,false}]}],
10,250,<0.17714.4>,20},
{db,<0.14613.4>,<0.14614.4>,nil,
<<"1374255700703369">>,<0.14615.4>,<0.14611.4>,
<0.14617.4>,
{db_header,6,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.14611.4>,nil,
#Fun<couch_db_updater.10.55895019>,
#Fun<couch_db_updater.11.100913286>,
#Fun<couch_btree.5.93788370>,
#Fun<couch_db_updater.12.39068440>,snappy},
{btree,<0.14611.4>,nil,
#Fun<couch_db_updater.13.114276184>,
#Fun<couch_db_updater.14.2340873>,
#Fun<couch_btree.5.93788370>,
#Fun<couch_db_updater.15.23651859>,snappy},
{btree,<0.14611.4>,nil,
#Fun<couch_btree.3.71804109>,
#Fun<couch_btree.4.115144917>,
#Fun<couch_btree.5.93788370>,nil,snappy},
0,<<"test-pull">>,
"/var/lib/couchdb/test-pull.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
[create,
{user_ctx,
{user_ctx,<<"admin">>,
[<<"_admin">>],
<<"{couch_httpd_auth, cookie_authentication_handler}">>}}],
snappy,nil,nil},
[],
{[{<<"no_changes">>,true}]},
{0,0},
{0,0},
{0,0},
[{1,<<"*:1">>}],
{0,0},
{doc,<<"_local/560be3b022e2d4c7ec48b762ab1d443b">>,
{0,[]},
{[]},
[],false,[]},
{doc,<<"_local/560be3b022e2d4c7ec48b762ab1d443b">>,
{0,[]},
{[]},
[],false,[]},
"Fri, 19 Jul 2013 18:23:21 GMT",undefined,
<<"1374255700703369">>,nil,<0.17717.4>,<0.17719.4>,
<0.17718.4>,
[<0.17720.4>],
{rep_stats,0,0,0,0,0},
<<"4a9db5c27703a61a4610b2360f7b8f34">>,nil,
<0.17716.4>,nil,#Ref<0.0.6.201923>,1}
** Reason for termination ==
** {worker_died,<0.17720.4>,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,'-spawn_doc_reader/3-fun-1-',4}]}}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.17713.4>] {error_report,<0.31.0>,
{<0.17713.4>,crash_report,
[[{initial_call,
{couch_replicator,init,['Argument__1']}},
{pid,<0.17713.4>},
{registered_name,[]},
{error_info,
{exit,
{worker_died,<0.17720.4>,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',4}]}}},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_rep_sup,couch_primary_services,
couch_server_sup,<0.32.0>]},
{messages,[{'EXIT',<0.17716.4>,normal}]},
{links,[<0.91.0>,<0.17719.4>]},
{dictionary,
[{task_status_props,
[{checkpointed_source_seq,0},
{continuous,false},
{doc_id,null},
{doc_write_failures,0},
{docs_read,0},
{docs_written,0},
{missing_revisions_found,0},
{progress,0},
{replication_id,
<<"560be3b022e2d4c7ec48b762ab1d443b">>},
{revisions_checked,0},
{source,
<<"http://admin:*****@localhost:4984/sync_gateway/">>},
{source_seq,1},
{started_on,1374258201},
{target,<<"test-pull">>},
{type,replication},
{updated_on,1374258201}]},
{task_status_update,
{{1374,258202,194019},1000000}}]},
{trap_exit,true},
{status,running},
{heap_size,4181},
{stack_size,24},
{reductions,8498}],
[{neighbour,
[{pid,<0.17719.4>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,
{couch_replicator,changes_manager_loop_open,4}},
{ancestors,[]},
{messages,[]},
{links,[<0.17713.4>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,233},
{stack_size,8},
{reductions,53}]}]]}}
[Fri, 19 Jul 2013 18:23:22 GMT] [error] [<0.91.0>] {error_report,<0.31.0>,
{<0.91.0>,supervisor_report,
[{supervisor,{local,couch_rep_sup}},
{errorContext,child_terminated},
{reason,
{worker_died,<0.17720.4>,
{process_died,<0.17733.4>,
{{nocatch,
{missing_stub,
<<"id:cb07680f06588356780bad593a002851, name:Screen Shot 2013-07-19 at 6.46.56 PM.png">>}},
[{couch_replicator_worker,flush_doc,2},
{couch_replicator_worker,remote_doc_handler,2},
{couch_api_wrap,receive_docs,4},
{couch_api_wrap,receive_docs_loop,6},
{couch_replicator_worker,
'-spawn_doc_reader/3-fun-1-',4}]}}}},
{offender,
[{pid,<0.17713.4>},
{name,"560be3b022e2d4c7ec48b762ab1d443b"},
{mfargs,{gen_server,start_link,undefined}},
{restart_type,temporary},
{shutdown,1},
{child_type,worker}]}]}}
[Fri, 19 Jul 2013 18:23:22 GMT] [info] [<0.14685.4>] 82.235.26.151 - - POST /_replicate 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment