After this error comes for a bit
the couchdb server crashes and halts
i open the screen in which couchdb is running and then try to kill the
couchdb server
and do
sudo couchdb again
[Wed, 24 Dec 2008 07:42:25 GMT] [info] [<0.2385.0>] 216.129.113.184 - -
'GET' /truthbox/_view/truthbox/inboxcount?group=true&key=655225817 200
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2375.0>] ** Generic server
<0.2375.0> terminating
** Last message in was {open_ref_counted_instance,<0.2396.0>}
** When Server state == {db,<0.2375.0>,<0.2376.0>,nil,<0.2374.0>,
{db_header,0,77355,
{30449867,6911},
{30515583,{75057,1142}},
{30513172,76199},
nil,0,nil,nil},
{stream,<0.2377.0>,<0.2374.0>},
{btree,<0.2374.0>,
{30515583,{75057,1142}},
#Fun<couch_db_updater.6.124665223>,
#Fun<couch_db_updater.7.45786599>,
#Fun<couch_db_updater.5.74731249>,
#Fun<couch_db_updater.8.118159480>},
{btree,<0.2374.0>,
{30513172,76199},
#Fun<couch_db_updater.9.48828661>,
#Fun<couch_db_updater.10.81431945>,
#Fun<couch_btree.5.112258129>,
#Fun<couch_db_updater.11.102742899>},
{btree,<0.2374.0>,nil,
#Fun<couch_btree.0.23070627>,
#Fun<couch_btree.1.117278773>,
#Fun<couch_btree.2.112258129>,nil},
77355,<<"invites">>,
"/usr/local/var/lib/couchdb/invites.couch",[],[],
nil,
{user_ctx,null,[]}}
** Reason for termination ==
** {timeout,{gen_server,call,[<0.2374.0>,{add_ref,<0.2396.0>}]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2375.0>] {error_report,<0.22.0>,
{<0.2375.0>,crash_report,
[[{pid,<0.2375.0>},
{registered_name,[]},
{error_info,
{exit,
{timeout,{gen_server,call,[<0.2374.0>,{add_ref,<0.2396.0>}]}},
[{gen_server,terminate,6},{proc_lib,init_p,5}]}},
{initial_call,
{gen,init_it,
[gen_server,<0.52.0>,<0.52.0>,couch_db,
{<<"invites">>,"/usr/local/var/lib/couchdb/invites.couch",
<0.2374.0>,
[{user_ctx,{user_ctx,null,[<<"_admin">>]}}]},
[]]}},
{ancestors,
[couch_server,couch_primary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.52.0>,<0.2376.0>]},
{dictionary,[]},
{trap_exit,false},
{status,running},
{heap_size,987},
{stack_size,23},
{reductions,311}],
[]]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2396.0>] {error_report,<0.22.0>,
{<0.2396.0>,crash_report,
[[{pid,<0.2396.0>},
{registered_name,[]},
{error_info,
{exit,
{timeout,
{gen_server,call,
[<0.2375.0>,{open_ref_counted_instance,<0.2396.0>}]}},
[{gen_server,call,2},
{couch_db,open_ref_counted,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,3},
{mochiweb_http,headers,4},
{proc_lib,init_p,5}]}},
{initial_call,
{mochiweb_socket_server,acceptor_loop,
[{<0.59.0>,#Port<0.149>,#Fun<mochiweb_http.1.62821608>}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.59.0>,#Port<0.2028>]},
{dictionary,[]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,23},
{reductions,1264}],
[]]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2379.0>] {error_report,<0.22.0>,
{<0.2379.0>,crash_report,
[[{pid,<0.2379.0>},
{registered_name,[]},
{error_info,
{exit,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"a2076703d48a7a93e05ee146888c5942">>,
[<<"946247031">>],
{[{<<"count">>,13},
{<<"uid">>,1030220757},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:48Z">>},
{<<"invuids">>,
[530670996,539914641,1168735756,
744349126,708407691,708388630,548013191,
1665176458,603559829,1650261516,
568234481,577515168,1015137979]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}},
[{gen_server,call,3},
{couch_db,write_and_commit,3},
{couch_db,update_docs,4},
{couch_db,update_doc,3},
{couch_httpd_db,db_req,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,3},
{mochiweb_http,headers,4}]}},
{initial_call,
{mochiweb_socket_server,acceptor_loop,
[{<0.59.0>,#Port<0.149>,#Fun<mochiweb_http.1.62821608>}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.59.0>,#Port<0.2014>]},
{dictionary,
[{mochiweb_request_body,
<<"{\"count\": 13, \"uid\": 1030220757, \"appname\":
\"animgifts\", \"created\": \"2008-12-23T23:00:48Z\", \"invuids\":
[530670996, 539914641, 1168735756, 744349126, 708407691, 708388630,
548013191, 1665176458, 603559829, 1650261516, 568234481, 577515168,
1015137979], \"date\": \"2008-12-23\", \"name\": \"Animgifts Send\"}">>},
{mochiweb_request_recv,true}]},
{trap_exit,false},
{status,running},
{heap_size,4181},
{stack_size,23},
{reductions,2930}],
[]]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2378.0>] {error_report,<0.22.0>,
{<0.2378.0>,crash_report,
[[{pid,<0.2378.0>},
{registered_name,[]},
{error_info,
{exit,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"357758d4255e5de1290210396bee7a5b">>,
[<<"3432088340">>],
{[{<<"count">>,2},
{<<"uid">>,668750133},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:48Z">>},
{<<"invuids">>,[551434033,661383970]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}},
[{gen_server,call,3},
{couch_db,write_and_commit,3},
{couch_db,update_docs,4},
{couch_db,update_doc,3},
{couch_httpd_db,db_req,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,3},
{mochiweb_http,headers,4}]}},
{initial_call,
{mochiweb_socket_server,acceptor_loop,
[{<0.59.0>,#Port<0.149>,#Fun<mochiweb_http.1.62821608>}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.59.0>,#Port<0.2013>]},
{dictionary,
[{mochiweb_request_body,
<<"{\"count\": 2, \"uid\": 668750133, \"appname\":
\"animgifts\", \"created\": \"2008-12-23T23:00:48Z\", \"invuids\":
[551434033, 661383970], \"date\": \"2008-12-23\", \"name\": \"Animgifts
Send\"}">>},
{mochiweb_request_recv,true}]},
{trap_exit,false},
{status,running},
{heap_size,6765},
{stack_size,23},
{reductions,2568}],
[]]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.2373.0>] {error_report,<0.22.0>,
{<0.2373.0>,crash_report,
[[{pid,<0.2373.0>},
{registered_name,[]},
{error_info,
{exit,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"d0c56e118cc57084e4a8fcf4ca9a19c5">>,
[<<"1268028984">>],
{[{<<"count">>,1},
{<<"uid">>,722753029},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:17Z">>},
{<<"invuids">>,[1025299304]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}},
[{gen_server,call,3},
{couch_db,write_and_commit,3},
{couch_db,update_docs,4},
{couch_db,update_doc,3},
{couch_httpd_db,db_req,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,3},
{mochiweb_http,headers,4}]}},
{initial_call,
{mochiweb_socket_server,acceptor_loop,
[{<0.59.0>,#Port<0.149>,#Fun<mochiweb_http.1.62821608>}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.59.0>,#Port<0.2012>]},
{dictionary,
[{mochiweb_request_body,
<<"{\"count\": 1, \"uid\": 722753029, \"appname\":
\"animgifts\", \"created\": \"2008-12-23T23:00:17Z\", \"invuids\":
[1025299304], \"date\": \"2008-12-23\", \"name\": \"Animgifts Send\"}">>},
{mochiweb_request_recv,true}]},
{trap_exit,false},
{status,running},
{heap_size,6765},
{stack_size,23},
{reductions,2530}],
[]]}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{timeout,
{gen_server,call,
[<0.2375.0>,{open_ref_counted_instance,<0.2396.0>}]}}}}}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"a2076703d48a7a93e05ee146888c5942">>,
[<<"946247031">>],
{[{<<"count">>,13},
{<<"uid">>,1030220757},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:48Z">>},
{<<"invuids">>,
[530670996,539914641,1168735756,744349126,
708407691,708388630,548013191,1665176458,
603559829,1650261516,568234481,577515168,
1015137979]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}}}}}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"357758d4255e5de1290210396bee7a5b">>,
[<<"3432088340">>],
{[{<<"count">>,2},
{<<"uid">>,668750133},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:48Z">>},
{<<"invuids">>,[551434033,661383970]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}}}}}}
[Wed, 24 Dec 2008 07:42:27 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{killed,
{gen_server,call,
[<0.2376.0>,
{update_docs,
[[{doc,<<"d0c56e118cc57084e4a8fcf4ca9a19c5">>,
[<<"1268028984">>],
{[{<<"count">>,1},
{<<"uid">>,722753029},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:17Z">>},
{<<"invuids">>,[1025299304]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}}}}}}
[Wed, 24 Dec 2008 07:40:22 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{killed,
{gen_server,call,
[<0.2270.0>,
{update_docs,
[[{doc,<<"b9ef63be4c1ccd3e106e62ff90fb1f9f">>,
[<<"115722067">>],
{[{<<"count">>,20},
{<<"uid">>,1211779872},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:48Z">>},
{<<"invuids">>,
[1067014611,1018663632,905780135,684256613,
746658201,712513187,842257355,1595270522,
1219807296,520751670,738405170,563395698,
649043695,1310218655,803579475,1042221050,
686678118,729556511,596517847,660268543]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}}}}}}
[Wed, 24 Dec 2008 07:41:12 GMT] [error] [<0.2320.0>] {error_report,<0.22.0>,
{<0.2320.0>,crash_report,
[[{pid,<0.2320.0>},
{registered_name,[]},
{error_info,
{exit,
{{timeout,{gen_server,call,[<0.2315.0>,{add_ref,<0.2314.0>}]}},
{gen_server,call,
[<0.2316.0>,{open_ref_counted_instance,<0.2320.0>}]}},
[{gen_server,call,2},
{couch_db,open_ref_counted,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,3},
{mochiweb_http,headers,4},
{proc_lib,init_p,5}]}},
{initial_call,
{mochiweb_socket_server,acceptor_loop,
[{<0.59.0>,#Port<0.149>,#Fun<mochiweb_http.1.62821608>}]}},
{ancestors,
[couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.59.0>,#Port<0.1969>]},
{dictionary,[]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,23},
{reductions,1264}],
[]]}}
[Wed, 24 Dec 2008 07:41:12 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{killed,
{gen_server,call,
[<0.2317.0>,
{update_docs,
[[{doc,<<"075ee8345a4d72dc97e0b0ebb7d28304">>,
[<<"1403033760">>],
{[{<<"count">>,6},
{<<"uid">>,698599171},
{<<"appname">>,<<"animgifts">>},
{<<"created">>,<<"2008-12-23T23:00:17Z">>},
{<<"invuids">>,
[1097709005,566655823,1055112203,672685229,
1014802391,588243538]},
{<<"date">>,<<"2008-12-23">>},
{<<"name">>,<<"Animgifts Send">>}]},
[],false,[]}]],
[new_edits]},
infinity]}}}}}}
[Wed, 24 Dec 2008 07:41:12 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
{<0.59.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{{timeout,{gen_server,call,[<0.2315.0>,{add_ref,<0.2314.0>}]}},
{gen_server,call,
[<0.2316.0>,{open_ref_counted_instance,<0.2320.0>}]}}}}}}