Skip to content

Instantly share code, notes, and snippets.

@hungryblank
Created October 17, 2011 12:43
Show Gist options
  • Save hungryblank/1292529 to your computer and use it in GitHub Desktop.
Save hungryblank/1292529 to your computer and use it in GitHub Desktop.
couchdb stacktrace, timeout right after compaction
[Fri, 14 Oct 2011 01:46:37 GMT] [error] [<0.4090.13>] Uncaught error in HTTP request: {exit,
{{timeout,
{gen_server,call,
[<0.21934.9>,
{open_ref_count,
<0.4090.13>}]}},
{gen_server,call,
[couch_server,
{open,<<"backup">>,
[{user_ctx,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>}}]},
infinity]}}}
[Fri, 14 Oct 2011 01:46:37 GMT] [error] [<0.88.0>] ** Generic server couch_server terminating
** Last message in was {open,<<"backup">>,
[{user_ctx,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>}}]}
** When Server state == {server,"/mnt/couchdb_data/lib/couchdb",
{re_pattern,0,0,
<<69,82,67,80,124,0,0,0,16,0,0,0,1,0,0,0,0,0,
0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,93,0,72,25,77,0,0,0,0,0,0,
0,0,0,0,0,0,254,255,255,7,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,77,0,0,0,0,16,171,255,3,0,0,0,
128,254,255,255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,69,26,84,0,72,0>>},
100,1,"Mon, 10 Oct 2011 16:44:55 GMT"}
** Reason for termination ==
** {timeout,{gen_server,call,[<0.21934.9>,{open_ref_count,<0.4090.13>}]}}
[Fri, 14 Oct 2011 01:46:37 GMT] [error] [<0.88.0>] {error_report,<0.31.0>,
{<0.88.0>,crash_report,
[[{initial_call,{couch_server,init,['Argument__1']}},
{pid,<0.88.0>},
{registered_name,couch_server},
{error_info,
{exit,
{timeout,
{gen_server,call,
[<0.21934.9>,{open_ref_count,<0.4090.13>}]}},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_primary_services,couch_server_sup,<0.32.0>]},
{messages,
[{#Ref<0.0.213.241615>,
{ok,
{db,<0.21934.9>,<0.21935.9>,nil,
<<"1318510254295887">>,<0.4123.13>,<0.4121.13>,
<0.4125.13>,
{db_header,6,3220221,0,
{7064427267,{2942678,0,6623683075},175549017},
{7064350028,2942678,134353006},
nil,0,nil,nil,1000},
3220221,
{btree,<0.4121.13>,
{7064427267,{2942678,0,6623683075},175549017},
#Fun<couch_db_updater.9.77797827>,
#Fun<couch_db_updater.10.43642969>,
#Fun<couch_btree.5.118780316>,
#Fun<couch_db_updater.11.116015850>,snappy},
{btree,<0.4121.13>,
{7064350028,2942678,134353006},
#Fun<couch_db_updater.12.1961265>,
#Fun<couch_db_updater.13.79288283>,
#Fun<couch_btree.5.118780316>,
#Fun<couch_db_updater.14.100599269>,snappy},
{btree,<0.4121.13>,nil,
#Fun<couch_btree.3.98968755>,
#Fun<couch_btree.4.76386710>,
#Fun<couch_btree.5.118780316>,nil,snappy},
3220221,<<"backup">>,
"/mnt/couchdb_data/lib/couchdb/backup.couch",[],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
[create,
{user_ctx,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>}}],
snappy}}}]},
{links,[<0.85.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,34356449}],
[]]}}
[Fri, 14 Oct 2011 01:46:37 GMT] [error] [<0.85.0>] {error_report,<0.31.0>,
{<0.85.0>,supervisor_report,
[{supervisor,{local,couch_primary_services}},
{errorContext,child_terminated},
{reason,
{timeout,
{gen_server,call,
[<0.21934.9>,
{open_ref_count,<0.4090.13>}]}}},
{offender,
[{pid,<0.88.0>},
{name,couch_server},
{mfargs,{couch_server,sup_start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]}]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment