Skip to content

Instantly share code, notes, and snippets.

@davidreuss
Created October 26, 2010 09:11
Show Gist options
  • Save davidreuss/646579 to your computer and use it in GitHub Desktop.
Save davidreuss/646579 to your computer and use it in GitHub Desktop.
couch crashes - hard
=ERROR REPORT==== 26-Oct-2010::13:08:07 ===
** Generic server <0.14323.25> terminating
** Last message in was {'EXIT',<0.14322.25>,
{'EXIT',
{{badmatch,
{error,
{emfile,
[{erlang,open_port,
[{spawn,
"/usr/lib64/erlang/lib/couch-0.11.2/priv/couchspawnkillable /usr/bin/couchjs /usr/share/couchdb/server/main.js"},
[stream,{line,1024},binary,exit_status,hide]]},
{couch_os_process,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_query_servers,new_process,2},
{couch_query_servers,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}}
** When Server state == {file,
{file_descriptor,prim_file,{#Port<0.26971>,1016}},
0}
** Reason for termination ==
** {'EXIT',
{{badmatch,
{error,
{emfile,
[{erlang,open_port,
[{spawn,
"/usr/lib64/erlang/lib/couch-0.11.2/priv/couchspawnkillable /usr/bin/couchjs /usr/share/couchdb/server/main.js"},
[stream,{line,1024},binary,exit_status,hide]]},
{couch_os_process,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_query_servers,new_process,2},
{couch_query_servers,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}
[error] [<0.14323.25>] {error_report,<0.28.0>,
{<0.14323.25>,crash_report,
[[{pid,<0.14323.25>},
{registered_name,[]},
{error_info,
{exit,
{'EXIT',
{{badmatch,
{error,
{emfile,
[{erlang,open_port,
[{spawn,
"/usr/lib64/erlang/lib/couch-0.11.2/priv/couchspawnkillable /usr/bin/couchjs /usr/share/couchdb/server/main.js"},
[stream,{line,1024},binary,exit_status,hide]]},
{couch_os_process,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_query_servers,new_process,2},
{couch_query_servers,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_file,init,['Argument__1']}},
{ancestors,
[<0.14322.25>,couch_view,couch_secondary_services,couch_server_sup,
<0.29.0>]},
{messages,[{'EXIT',<0.14326.25>,shutdown}]},
{links,[#Port<0.26971>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,23},
{reductions,2896550}],
[]]}}
=CRASH REPORT==== 26-Oct-2010::13:08:07 ===
crasher:
pid: <0.14323.25>
registered_name: []
exception exit: {'EXIT',
{{badmatch,
{error,
{emfile,
[{erlang,open_port,
[{spawn,
"/usr/lib64/erlang/lib/couch-0.11.2/priv/couchspawnkillable /usr/bin/couchjs /usr/share/couchdb/server/main.js"},
[stream,{line,1024},binary,exit_status,hide]]},
{couch_os_process,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_query_servers,new_process,2},
{couch_query_servers,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}
in function gen_server:terminate/6
initial call: couch_file:init/1
ancestors: [<0.14322.25>,couch_view,couch_secondary_services,
couch_server_sup,<0.29.0>]
messages: [{'EXIT',<0.14326.25>,shutdown}]
links: [#Port<0.26971>]
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 23
reductions: 2896550
neighbours:
[info] [<0.14301.25>] 127.0.0.1 - - 'GET' /database/_design/jitterbug/_view/day?limit=0 500
[info] [<0.14383.25>] 10.7.50.20 - - 'POST' /database/_bulk_docs 201
[info] [<0.13814.25>] OS Process terminated normally
[error] [<0.12046.25>] Update notification process <0.13814.25> died: normal
[error] [<0.12051.25>] {error_report,<0.28.0>,
{<0.12051.25>,supervisor_report,
[{supervisor,{local,couch_db_update_notifier_sup}},
{errorContext,child_terminated},
{reason,normal},
{offender,
[{pid,<0.13813.25>},
{name,"view_updater"},
{mfa,
{couch_db_update_notifier,start_link,
["/root/jitterbug/live/view_updater.py"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,supervisor}]}]}}
=SUPERVISOR REPORT==== 26-Oct-2010::13:08:14 ===
Supervisor: {local,couch_db_update_notifier_sup}
Context: child_terminated
Reason: normal
Offender: [{pid,<0.13813.25>},
{name,"view_updater"},
{mfa,
{couch_db_update_notifier,start_link,
["/root/jitterbug/live/view_updater.py"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,supervisor}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment