Skip to content

Instantly share code, notes, and snippets.

@organicveggie
Created September 7, 2012 16:36
Show Gist options
  • Select an option

  • Save organicveggie/3667627 to your computer and use it in GitHub Desktop.

Select an option

Save organicveggie/3667627 to your computer and use it in GitHub Desktop.
CouchDB Compact
[Fri, 07 Sep 2012 16:33:19 GMT] [info] [<0.30.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[Fri, 07 Sep 2012 16:33:40 GMT] [debug] [<0.94.0>] 'POST' /chef/_compact {1,1}
Headers: [{'Accept',"*/*"},
{'Content-Type',"application/json"},
{'Host',"localhost:5984"},
{'User-Agent',"curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5"}]
[Fri, 07 Sep 2012 16:33:40 GMT] [debug] [<0.94.0>] OAuth Params: []
[Fri, 07 Sep 2012 16:33:40 GMT] [info] [<0.129.0>] Starting compaction for db "chef"
[Fri, 07 Sep 2012 16:33:40 GMT] [debug] [<0.132.0>] Compaction process spawned for db "chef"
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [emulator] Error in process <0.132.0> with exit value: {{badmatch,{error,eacces}},[{couch_db_updater,start_copy_compact,1},{couch_file,open,2}]}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.129.0>] ** Generic server <0.129.0> terminating
** Last message in was {'EXIT',<0.132.0>,
{{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},
{couch_file,open,2}]}}
** When Server state == {db,<0.128.0>,<0.129.0>,<0.132.0>,
<<"1347035620585708">>,<0.126.0>,<0.130.0>,
{db_header,5,2462931,0,
{205743373407,{10071,3816}},
{205743377184,13887},
nil,0,nil,nil,500},
2462931,
{btree,<0.126.0>,
{205743373407,{10071,3816}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.126.0>,
{205743377184,13887},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.126.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
2462931,<<"chef">>,"/var/lib/couchdb/chef.couch",
[],[],nil,
{user_ctx,null,[],undefined},
nil,500,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** {{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},{couch_file,open,2}]}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.129.0>] {error_report,<0.29.0>,
{<0.129.0>,crash_report,
[[{pid,<0.129.0>},
{registered_name,[]},
{error_info,{exit,{{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},
{couch_file,open,2}]},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_db_updater,init,['Argument__1']}},
{ancestors,[<0.128.0>,<0.125.0>]},
{messages,[]},
{links,[<0.128.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,4181},
{stack_size,23},
{reductions,2029}],
[]]}}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.128.0>] ** Generic server <0.128.0> terminating
** Last message in was {'EXIT',<0.129.0>,
{{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},
{couch_file,open,2}]}}
** When Server state == {db,<0.128.0>,<0.129.0>,<0.132.0>,
<<"1347035620585708">>,<0.126.0>,<0.130.0>,
{db_header,5,2462931,0,
{205743373407,{10071,3816}},
{205743377184,13887},
nil,0,nil,nil,500},
2462931,
{btree,<0.126.0>,
{205743373407,{10071,3816}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.126.0>,
{205743377184,13887},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.126.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
2462931,<<"chef">>,"/var/lib/couchdb/chef.couch",
[],[],nil,
{user_ctx,null,[],undefined},
nil,500,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** {{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},{couch_file,open,2}]}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.128.0>] {error_report,<0.29.0>,
{<0.128.0>,crash_report,
[[{pid,<0.128.0>},
{registered_name,[]},
{error_info,{exit,{{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},
{couch_file,open,2}]},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_db,init,['Argument__1']}},
{ancestors,[<0.125.0>]},
{messages,[]},
{links,[<0.81.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,23},
{reductions,259}],
[]]}}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.81.0>] Unexpected message, restarting couch_server: {'EXIT',<0.128.0>,
{{badmatch,{error,eacces}},
[{couch_db_updater,
start_copy_compact,1},
{couch_file,open,2}]}}
[Fri, 07 Sep 2012 16:33:40 GMT] [info] [<0.94.0>] 127.0.0.1 - - 'POST' /chef/_compact 202
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.81.0>] ** Generic server couch_server terminating
** Last message in was {'EXIT',<0.128.0>,
{{badmatch,{error,eacces}},
[{couch_db_updater,start_copy_compact,1},
{couch_file,open,2}]}}
** When Server state == {server,"/var/lib/couchdb",
{re_pattern,0,0,
<<69,82,67,80,116,0,0,0,16,0,0,0,1,0,0,0,0,0,
0,0,0,0,0,0,40,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,"Fri, 07 Sep 2012 16:33:19 GMT"}
** Reason for termination ==
** kill
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.81.0>] {error_report,<0.29.0>,
{<0.81.0>,crash_report,
[[{pid,<0.81.0>},
{registered_name,couch_server},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_server,init,['Argument__1']}},
{ancestors,[couch_primary_services,couch_server_sup,
<0.30.0>]},
{messages,[]},
{links,[<0.98.0>,<0.76.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,23},
{reductions,1206}],
[]]}}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.76.0>] {error_report,<0.29.0>,
{<0.76.0>,supervisor_report,
[{supervisor,{local,couch_primary_services}},
{errorContext,child_terminated},
{reason,kill},
{offender,[{pid,<0.81.0>},
{name,couch_server},
{mfa,{couch_server,sup_start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]}]}}
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.98.0>] ** Generic server <0.98.0> terminating
** Last message in was {'EXIT',<0.81.0>,kill}
** When Server state == {db,<0.98.0>,<0.99.0>,nil,<<"1347035599081829">>,
<0.97.0>,<0.100.0>,
{db_header,5,1,0,
{3122,{1,0}},
{3213,1},
nil,0,nil,nil,1000},
1,
{btree,<0.97.0>,
{3122,{1,0}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.97.0>,
{3213,1},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.97.0>,nil,#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
1,<<"_users">>,"/var/lib/couchdb/_users.couch",
[#Fun<couch_doc.7.50754398>],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
true}
** Reason for termination ==
** kill
[Fri, 07 Sep 2012 16:33:40 GMT] [error] [<0.98.0>] {error_report,<0.29.0>,
{<0.98.0>,crash_report,
[[{pid,<0.98.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_db,init,['Argument__1']}},
{ancestors,[<0.96.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,23},
{reductions,245}],
[]]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment