--- Revision 613236336639
+++ Revision 626638353230
@@ -68,7 +68,101 @@
16/02/2011 21:29
..
16/02/2011 21:32 4,295,707,534 fatso.couch
-5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n">>}]},
+COUCH DEBUG LOG
+===========================================================
+[Wed, 16 Feb 2011 08:32:28 GMT] [info] [<0.311.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_344 201
+
+[Wed, 16 Feb 2011 08:32:28 GMT] [debug] [<0.318.0>] 'PUT' /fatso/another_doc_345 {1,1}
+Headers: [{'Connection',"TE, close"},
+ {'Content-Length',"990748"},
+ {'Content-Type',"application/json"},
+ {'Host',"akai.muse.net.nz:5984"},
+ {"Te","deflate,gzip;q=0.3"},
+ {'User-Agent',"CouchDB::Client/0.09"}]
+
+[Wed, 16 Feb 2011 08:32:28 GMT] [debug] [<0.318.0>] OAuth Params: []
+
+[Wed, 16 Feb 2011 08:32:32 GMT] [info] [<0.318.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_345 201
+
+[Wed, 16 Feb 2011 08:32:32 GMT] [debug] [<0.322.0>] 'PUT' /fatso/another_doc_346 {1,1}
+Headers: [{'Connection',"TE, close"},
+ {'Content-Length',"990748"},
+ {'Content-Type',"application/json"},
+ {'Host',"akai.muse.net.nz:5984"},
+ {"Te","deflate,gzip;q=0.3"},
+ {'User-Agent',"CouchDB::Client/0.09"}]
+
+[Wed, 16 Feb 2011 08:32:32 GMT] [debug] [<0.322.0>] OAuth Params: []
+
+[Wed, 16 Feb 2011 08:32:34 GMT] [info] [<0.322.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_346 201
+
+[Wed, 16 Feb 2011 08:32:34 GMT] [debug] [<0.327.0>] 'PUT' /fatso/another_doc_347 {1,1}
+Headers: [{'Connection',"TE, close"},
+ {'Content-Length',"990748"},
+ {'Content-Type',"application/json"},
+ {'Host',"akai.muse.net.nz:5984"},
+ {"Te","deflate,gzip;q=0.3"},
+ {'User-Agent',"CouchDB::Client/0.09"}]
+
+[Wed, 16 Feb 2011 08:32:34 GMT] [debug] [<0.327.0>] OAuth Params: []
+
+[Wed, 16 Feb 2011 08:32:38 GMT] [error] [<0.141.0>] ** Generic server <0.141.0> terminating
+** Last message in was {pread_iolist,4294715768}
+** When Server state == {file,{file_descriptor,prim_file,{#Port<0.3675>,524}},
+ 0,4295710166}
+** Reason for termination ==
+** {{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]}
+
+
+[Wed, 16 Feb 2011 08:32:38 GMT] [error] [<0.141.0>] {error_report,<0.34.0>,
+ {<0.141.0>,crash_report,
+ [[{initial_call,{couch_file,init,['Argument__1']}},
+ {pid,<0.141.0>},
+ {registered_name,[]},
+ {error_info,
+ {exit,
+ {{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,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}]}},
+ {ancestors,[<0.140.0>]},
+ {messages,[]},
+ {links,[#Port<0.3675>,<0.145.0>]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,6765},
+ {stack_size,24},
+ {reductions,157011}],
+ [{neighbour,
+ [{pid,<0.145.0>},
+ {registered_name,[]},
+ {initial_call,{couch_ref_counter,init,['Argument__1']}},
+ {current_function,{gen_server,loop,6}},
+ {ancestors,[<0.144.0>,<0.143.0>,<0.140.0>]},
+ {messages,[]},
+ {links,[<0.141.0>]},
+ {dictionary,[]},
+ {trap_exit,false},
+ {status,waiting},
+ {heap_size,987},
+ {stack_size,9},
+ {reductions,2448}]}]]}}
+
+[Wed, 16 Feb 2011 08:32:40 GMT] [error] [<0.144.0>] ** Generic server <0.144.0> terminating
+** Last message in was {update_docs,<0.327.0>,
+ [[{doc,<<"another_doc_347">>,
+ {1,
+ [<<213,19,109,168,70,62,46,72,122,140,68,
+ 248,44,28,43,97>>]},
+ {[{<<"largedata77">>,
+ <<"0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n">>}]},
[],false,[]}]],
[],false,false}
** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
@@ -107,7 +201,9 @@
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]},
{gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
-[error] [<0.144.0>] {error_report,<0.34.0>,
+
+
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.144.0>] {error_report,<0.34.0>,
{<0.144.0>,crash_report,
[[{initial_call,{couch_db_updater,init,['Argument__1']}},
{pid,<0.144.0>},
@@ -133,32 +229,7 @@
{reductions,97468}],
[]]}}
-=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
- crasher:
- initial call: couch_db_updater:init/1
- pid: <0.144.0>
- registered_name: []
- exception exit: {{{badmatch,{error,enomem}},
- [{couch_file,read_raw_iolist_int,3},
- {couch_file,handle_call,3},
- {gen_server,handle_msg,5},
- {proc_lib,init_p_do_apply,3}]},
- {gen_server,call,
- [<0.141.0>,
- {pread_iolist,4294715768},
- infinity]}}
- in function gen_server:terminate/6
- ancestors: [<0.143.0>,<0.140.0>]
- messages: []
- links: [<0.143.0>]
- dictionary: []
- trap_exit: true
- status: running
- heap_size: 10946
- stack_size: 24
- reductions: 97468
- neighbours:
-[error] [<0.143.0>] ** Generic server <0.143.0> terminating
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.143.0>] ** Generic server <0.143.0> terminating
** Last message in was {'EXIT',<0.144.0>,
{{{badmatch,{error,enomem}},
[{couch_file,read_raw_iolist_int,3},
@@ -207,55 +278,7 @@
{gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
-=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
-** Generic server <0.143.0> terminating
-** Last message in was {'EXIT',<0.144.0>,
- {{{badmatch,{error,enomem}},
- [{couch_file,read_raw_iolist_int,3},
- {couch_file,handle_call,3},
- {gen_server,handle_msg,5},
- {proc_lib,init_p_do_apply,3}]},
- {gen_server,call,
- [<0.141.0>,
- {pread_iolist,4294715768},
- infinity]}}}
-** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
- <0.141.0>,<0.145.0>,
- {db_header,5,311,0,
- {4294713467,{311,0}},
- {4294715768,311},
- nil,0,nil,nil,1000},
- 311,
- {btree,<0.141.0>,
- {4294713467,{311,0}},
- #Fun,
- #Fun,
- #Fun,
- #Fun},
- {btree,<0.141.0>,
- {4294715768,311},
- #Fun,
- #Fun,
- #Fun,
- #Fun},
- {btree,<0.141.0>,nil,
- #Fun,
- #Fun,
- #Fun,nil},
- 311,<<"fatso">>,"../var/lib/couchdb/fatso.couch",
- [],[],nil,
- {user_ctx,null,[],undefined},
- nil,1000,
- [before_header,after_header,on_file_open],
- false}
-** Reason for termination ==
-** {{{badmatch,{error,enomem}},
- [{couch_file,read_raw_iolist_int,3},
- {couch_file,handle_call,3},
- {gen_server,handle_msg,5},
- {proc_lib,init_p_do_apply,3}]},
- {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
-[error] [<0.143.0>] {error_report,<0.34.0>,
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.143.0>] {error_report,<0.34.0>,
{<0.143.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.143.0>},
@@ -281,32 +304,7 @@
{reductions,2041}],
[]]}}
-=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
- crasher:
- initial call: couch_db:init/1
- pid: <0.143.0>
- registered_name: []
- exception exit: {{{badmatch,{error,enomem}},
- [{couch_file,read_raw_iolist_int,3},
- {couch_file,handle_call,3},
- {gen_server,handle_msg,5},
- {proc_lib,init_p_do_apply,3}]},
- {gen_server,call,
- [<0.141.0>,
- {pread_iolist,4294715768},
- infinity]}}
- in function gen_server:terminate/6
- ancestors: [<0.140.0>]
- messages: []
- links: [<0.87.0>]
- dictionary: []
- trap_exit: true
- status: running
- heap_size: 2584
- stack_size: 24
- reductions: 2041
- neighbours:
-[error] [<0.327.0>] Uncaught error in HTTP request: {exit,
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.327.0>] Uncaught error in HTTP request: {exit,
{{{badmatch,{error,enomem}},
[{couch_file,read_raw_iolist_int,3},
{couch_file,handle_call,3},
@@ -316,7 +314,8 @@
[<0.141.0>,
{pread_iolist,4294715768},
infinity]}}}
-[error] [<0.87.0>] Unexpected message, restarting couch_server: {'EXIT',<0.143.0>,
+
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.87.0>] Unexpected message, restarting couch_server: {'EXIT',<0.143.0>,
{{{badmatch,{error,enomem}},
[{couch_file,
read_raw_iolist_int,3},
@@ -328,7 +327,8 @@
[<0.141.0>,
{pread_iolist,4294715768},
infinity]}}}
-[info] [<0.327.0>] Stacktrace: [{couch_db,collect_results,3},
+
+[Wed, 16 Feb 2011 08:32:41 GMT] [info] [<0.327.0>] Stacktrace: [{couch_db,collect_results,3},
{couch_db,write_and_commit,4},
{couch_db,update_docs,4},
{couch_db,update_doc,4},
@@ -336,7 +336,8 @@
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5}]
-[error] [<0.87.0>] ** Generic server couch_server terminating
+
+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.87.0>] ** Generic server couch_server terminating
** Last message in was {'EXIT',<0.143.0>,
{{{badmatch,{error,enomem}},
[{couch_file,read_raw_iolist_int,3},
@@ -361,31 +362,7 @@
** kill
-=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
-** Generic server couch_server terminating
-** Last message in was {'EXIT',<0.143.0>,
- {{{badmatch,{error,enomem}},
- [{couch_file,read_raw_iolist_int,3},
- {couch_file,handle_call,3},
- {gen_server,handle_msg,5},
- {proc_lib,init_p_do_apply,3}]},
- {gen_server,call,
- [<0.141.0>,
- {pread_iolist,4294715768},
- infinity]}}}
-** 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,"Wed, 16 Feb 2011 08:29:35 GMT"}
-** Reason for termination ==
-** kill
-[error] [<0.87.0>] {error_report,<0.34.0>,
+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.87.0>] {error_report,<0.34.0>,
{<0.87.0>,crash_report,
[[{initial_call,{couch_server,init,['Argument__1']}},
{pid,<0.87.0>},
@@ -405,24 +382,7 @@
{reductions,2984}],
[]]}}
-=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
- crasher:
- initial call: couch_server:init/1
- pid: <0.87.0>
- registered_name: couch_server
- exception exit: kill
- in function gen_server:terminate/6
- ancestors: [couch_primary_services,couch_server_sup,<0.35.0>]
- messages: []
- links: [<0.97.0>,<0.82.0>]
- dictionary: []
- trap_exit: true
- status: running
- heap_size: 1597
- stack_size: 24
- reductions: 2984
- neighbours:
-[error] [<0.82.0>] {error_report,<0.34.0>,
+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.82.0>] {error_report,<0.34.0>,
{<0.82.0>,supervisor_report,
[{supervisor,{local,couch_primary_services}},
{errorContext,child_terminated},
@@ -434,18 +394,7 @@
{shutdown,1000},
{child_type,worker}]}]}}
-=SUPERVISOR REPORT==== 16-Feb-2011::21:33:03 ===
- Supervisor: {local,couch_primary_services}
- Context: child_terminated
- Reason: kill
- Offender: [{pid,<0.87.0>},
- {name,couch_server},
- {mfargs,{couch_server,sup_start_link,[]}},
- {restart_type,permanent},
- {shutdown,1000},
- {child_type,worker}]
-
-[error] [<0.97.0>] ** Generic server <0.97.0> terminating
+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.97.0>] ** Generic server <0.97.0> terminating
** Last message in was {'EXIT',<0.87.0>,kill}
** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
<0.96.0>,<0.100.0>,
@@ -480,41 +429,7 @@
** kill
-=ERROR REPORT==== 16-Feb-2011::21:33:03 ===
-** Generic server <0.97.0> terminating
-** Last message in was {'EXIT',<0.87.0>,kill}
-** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
- <0.96.0>,<0.100.0>,
- {db_header,5,1,0,
- {3122,{1,0}},
- {3213,1},
- nil,0,nil,nil,1000},
- 1,
- {btree,<0.96.0>,
- {3122,{1,0}},
- #Fun,
- #Fun,
- #Fun,
- #Fun},
- {btree,<0.96.0>,
- {3213,1},
- #Fun,
- #Fun,
- #Fun,
- #Fun},
- {btree,<0.96.0>,nil,#Fun,
- #Fun,
- #Fun,nil},
- 1,<<"_users">>,"../var/lib/couchdb/_users.couch",
- [#Fun],
- [],nil,
- {user_ctx,null,[],undefined},
- nil,1000,
- [before_header,after_header,on_file_open],
- true}
-** Reason for termination ==
-** kill
-[error] [<0.97.0>] {error_report,<0.34.0>,
+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.97.0>] {error_report,<0.34.0>,
{<0.97.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.97.0>},
@@ -533,24 +448,9 @@
{reductions,276}],
[]]}}
-=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
- crasher:
- initial call: couch_db:init/1
- pid: <0.97.0>
- registered_name: []
- exception exit: kill
- in function gen_server:terminate/6
- ancestors: [<0.95.0>]
- messages: []
- links: []
- dictionary: []
- trap_exit: true
- status: running
- heap_size: 1597
- stack_size: 24
- reductions: 276
- neighbours:
-[info] [<0.327.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_347 500
-[debug] [<0.327.0>] httpd 500 error response:
+[Wed, 16 Feb 2011 08:33:03 GMT] [info] [<0.327.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_347 500
+
+[Wed, 16 Feb 2011 08:33:03 GMT] [debug] [<0.327.0>] httpd 500 error response:
{"error":"{{badmatch,{error,enomem}},\n [{couch_file,read_raw_iolist_int,3},\n {couch_file,handle_call,3},\n {gen_server,handle_msg,5},\n {proc_lib,init_p_do_apply,3}]}","reason":"{gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}"}
+