6moY1vyUyIsIX4t5N4hZ1B changeset

Changeset626638353230 (b)
Parent613236336639 (a)
ab
676716/02/2011  21:29    <DIR>          ..
686816/02/2011  21:32     4,295,707,534 fatso.couch
6969
...
70-5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n">>}]},
70+COUCH DEBUG LOG
70+===========================================================
70+[Wed, 16 Feb 2011 08:32:28 GMT] [info] [<0.311.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_344 201
70+
70+[Wed, 16 Feb 2011 08:32:28 GMT] [debug] [<0.318.0>] 'PUT' /fatso/another_doc_345 {1,1}
70+Headers: [{'Connection',"TE, close"},
70+          {'Content-Length',"990748"},
70+          {'Content-Type',"application/json"},
70+          {'Host',"akai.muse.net.nz:5984"},
70+          {"Te","deflate,gzip;q=0.3"},
70+          {'User-Agent',"CouchDB::Client/0.09"}]
70+
70+[Wed, 16 Feb 2011 08:32:28 GMT] [debug] [<0.318.0>] OAuth Params: []
70+
70+[Wed, 16 Feb 2011 08:32:32 GMT] [info] [<0.318.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_345 201
70+
70+[Wed, 16 Feb 2011 08:32:32 GMT] [debug] [<0.322.0>] 'PUT' /fatso/another_doc_346 {1,1}
70+Headers: [{'Connection',"TE, close"},
70+          {'Content-Length',"990748"},
70+          {'Content-Type',"application/json"},
70+          {'Host',"akai.muse.net.nz:5984"},
70+          {"Te","deflate,gzip;q=0.3"},
70+          {'User-Agent',"CouchDB::Client/0.09"}]
70+
70+[Wed, 16 Feb 2011 08:32:32 GMT] [debug] [<0.322.0>] OAuth Params: []
70+
70+[Wed, 16 Feb 2011 08:32:34 GMT] [info] [<0.322.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_346 201
70+
70+[Wed, 16 Feb 2011 08:32:34 GMT] [debug] [<0.327.0>] 'PUT' /fatso/another_doc_347 {1,1}
70+Headers: [{'Connection',"TE, close"},
70+          {'Content-Length',"990748"},
70+          {'Content-Type',"application/json"},
70+          {'Host',"akai.muse.net.nz:5984"},
70+          {"Te","deflate,gzip;q=0.3"},
70+          {'User-Agent',"CouchDB::Client/0.09"}]
70+
70+[Wed, 16 Feb 2011 08:32:34 GMT] [debug] [<0.327.0>] OAuth Params: []
70+
70+[Wed, 16 Feb 2011 08:32:38 GMT] [error] [<0.141.0>] ** Generic server <0.141.0> terminating
70+** Last message in was {pread_iolist,4294715768}
70+** When Server state == {file,{file_descriptor,prim_file,{#Port<0.3675>,524}},
70+                              0,4295710166}
70+** Reason for termination ==
70+** {{badmatch,{error,enomem}},
70+    [{couch_file,read_raw_iolist_int,3},
70+     {couch_file,handle_call,3},
70+     {gen_server,handle_msg,5},
70+     {proc_lib,init_p_do_apply,3}]}
70+
70+
70+[Wed, 16 Feb 2011 08:32:38 GMT] [error] [<0.141.0>] {error_report,<0.34.0>,
70+    {<0.141.0>,crash_report,
70+     [[{initial_call,{couch_file,init,['Argument__1']}},
70+       {pid,<0.141.0>},
70+       {registered_name,[]},
70+       {error_info,
70+           {exit,
70+               {{badmatch,{error,enomem}},
70+                [{couch_file,read_raw_iolist_int,3},
70+                 {couch_file,handle_call,3},
70+                 {gen_server,handle_msg,5},
70+                 {proc_lib,init_p_do_apply,3}]},
70+               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
70+       {ancestors,[<0.140.0>]},
70+       {messages,[]},
70+       {links,[#Port<0.3675>,<0.145.0>]},
70+       {dictionary,[]},
70+       {trap_exit,true},
70+       {status,running},
70+       {heap_size,6765},
70+       {stack_size,24},
70+       {reductions,157011}],
70+      [{neighbour,
70+           [{pid,<0.145.0>},
70+            {registered_name,[]},
70+            {initial_call,{couch_ref_counter,init,['Argument__1']}},
70+            {current_function,{gen_server,loop,6}},
70+            {ancestors,[<0.144.0>,<0.143.0>,<0.140.0>]},
70+            {messages,[]},
70+            {links,[<0.141.0>]},
70+            {dictionary,[]},
70+            {trap_exit,false},
70+            {status,waiting},
70+            {heap_size,987},
70+            {stack_size,9},
70+            {reductions,2448}]}]]}}
70+
70+[Wed, 16 Feb 2011 08:32:40 GMT] [error] [<0.144.0>] ** Generic server <0.144.0> terminating
70+** Last message in was {update_docs,<0.327.0>,
70+                           [[{doc,<<"another_doc_347">>,
70+                                 {1,
70+                                  [<<213,19,109,168,70,62,46,72,122,140,68,
70+                                     248,44,28,43,97>>]},
70+                                 {[{<<"largedata77">>,
70+                                    <<"0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n">>}]},
...
7171                                 [],false,[]}]],
7272                           [],false,false}
7373** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
...
106106      {gen_server,handle_msg,5},
107107      {proc_lib,init_p_do_apply,3}]},
108108    {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
...
109-[error] [<0.144.0>] {error_report,<0.34.0>,
109+
109+
109+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.144.0>] {error_report,<0.34.0>,
...
110110    {<0.144.0>,crash_report,
111111     [[{initial_call,{couch_db_updater,init,['Argument__1']}},
112112       {pid,<0.144.0>},
...
132132       {reductions,97468}],
133133      []]}}
134134
...
135-=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
135-  crasher:
135-    initial call: couch_db_updater:init/1
135-    pid: <0.144.0>
135-    registered_name: []
135-    exception exit: {{{badmatch,{error,enomem}},
135-                      [{couch_file,read_raw_iolist_int,3},
135-                       {couch_file,handle_call,3},
135-                       {gen_server,handle_msg,5},
135-                       {proc_lib,init_p_do_apply,3}]},
135-                     {gen_server,call,
135-                                 [<0.141.0>,
135-                                  {pread_iolist,4294715768},
135-                                  infinity]}}
135-      in function  gen_server:terminate/6
135-    ancestors: [<0.143.0>,<0.140.0>]
135-    messages: []
135-    links: [<0.143.0>]
135-    dictionary: []
135-    trap_exit: true
135-    status: running
135-    heap_size: 10946
135-    stack_size: 24
135-    reductions: 97468
135-  neighbours:
135-[error] [<0.143.0>] ** Generic server <0.143.0> terminating
135+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.143.0>] ** Generic server <0.143.0> terminating
...
161161** Last message in was {'EXIT',<0.144.0>,
162162                           {{{badmatch,{error,enomem}},
163163                             [{couch_file,read_raw_iolist_int,3},
...
206206    {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
207207
208208
...
209-=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
209-** Generic server <0.143.0> terminating
209-** Last message in was {'EXIT',<0.144.0>,
209-                           {{{badmatch,{error,enomem}},
209-                             [{couch_file,read_raw_iolist_int,3},
209-                              {couch_file,handle_call,3},
209-                              {gen_server,handle_msg,5},
209-                              {proc_lib,init_p_do_apply,3}]},
209-                            {gen_server,call,
209-                                [<0.141.0>,
209-                                 {pread_iolist,4294715768},
209-                                 infinity]}}}
209-** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
209-                            <0.141.0>,<0.145.0>,
209-                            {db_header,5,311,0,
209-                                {4294713467,{311,0}},
209-                                {4294715768,311},
209-                                nil,0,nil,nil,1000},
209-                            311,
209-                            {btree,<0.141.0>,
209-                                {4294713467,{311,0}},
209-                                #Fun<couch_db_updater.7.69395062>,
209-                                #Fun<couch_db_updater.8.86519079>,
209-                                #Fun<couch_btree.5.124754102>,
209-                                #Fun<couch_db_updater.9.24674233>},
209-                            {btree,<0.141.0>,
209-                                {4294715768,311},
209-                                #Fun<couch_db_updater.10.90337910>,
209-                                #Fun<couch_db_updater.11.13595824>,
209-                                #Fun<couch_btree.5.124754102>,
209-                                #Fun<couch_db_updater.12.34906778>},
209-                            {btree,<0.141.0>,nil,
209-                                #Fun<couch_btree.0.83553141>,
209-                                #Fun<couch_btree.1.30790806>,
209-                                #Fun<couch_btree.2.124754102>,nil},
209-                            311,<<"fatso">>,"../var/lib/couchdb/fatso.couch",
209-                            [],[],nil,
209-                            {user_ctx,null,[],undefined},
209-                            nil,1000,
209-                            [before_header,after_header,on_file_open],
209-                            false}
209-** Reason for termination ==
209-** {{{badmatch,{error,enomem}},
209-     [{couch_file,read_raw_iolist_int,3},
209-      {couch_file,handle_call,3},
209-      {gen_server,handle_msg,5},
209-      {proc_lib,init_p_do_apply,3}]},
209-    {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
209-[error] [<0.143.0>] {error_report,<0.34.0>,
209+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.143.0>] {error_report,<0.34.0>,
...
258258    {<0.143.0>,crash_report,
259259     [[{initial_call,{couch_db,init,['Argument__1']}},
260260       {pid,<0.143.0>},
...
280280       {reductions,2041}],
281281      []]}}
282282
...
283-=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
283-  crasher:
283-    initial call: couch_db:init/1
283-    pid: <0.143.0>
283-    registered_name: []
283-    exception exit: {{{badmatch,{error,enomem}},
283-                      [{couch_file,read_raw_iolist_int,3},
283-                       {couch_file,handle_call,3},
283-                       {gen_server,handle_msg,5},
283-                       {proc_lib,init_p_do_apply,3}]},
283-                     {gen_server,call,
283-                                 [<0.141.0>,
283-                                  {pread_iolist,4294715768},
283-                                  infinity]}}
283-      in function  gen_server:terminate/6
283-    ancestors: [<0.140.0>]
283-    messages: []
283-    links: [<0.87.0>]
283-    dictionary: []
283-    trap_exit: true
283-    status: running
283-    heap_size: 2584
283-    stack_size: 24
283-    reductions: 2041
283-  neighbours:
283-[error] [<0.327.0>] Uncaught error in HTTP request: {exit,
283+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.327.0>] Uncaught error in HTTP request: {exit,
...
309309                                 {{{badmatch,{error,enomem}},
310310                                   [{couch_file,read_raw_iolist_int,3},
311311                                    {couch_file,handle_call,3},
...
315315                                   [<0.141.0>,
316316                                    {pread_iolist,4294715768},
317317                                    infinity]}}}
...
318-[error] [<0.87.0>] Unexpected message, restarting couch_server: {'EXIT',<0.143.0>,
318+
318+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.87.0>] Unexpected message, restarting couch_server: {'EXIT',<0.143.0>,
...
319319                                              {{{badmatch,{error,enomem}},
320320                                                [{couch_file,
321321                                                  read_raw_iolist_int,3},
...
327327                                                [<0.141.0>,
328328                                                 {pread_iolist,4294715768},
329329                                                 infinity]}}}
...
330-[info] [<0.327.0>] Stacktrace: [{couch_db,collect_results,3},
330+
330+[Wed, 16 Feb 2011 08:32:41 GMT] [info] [<0.327.0>] Stacktrace: [{couch_db,collect_results,3},
...
331331             {couch_db,write_and_commit,4},
332332             {couch_db,update_docs,4},
333333             {couch_db,update_doc,4},
...
335335             {couch_httpd_db,do_db_req,2},
336336             {couch_httpd,handle_request_int,5},
337337             {mochiweb_http,headers,5}]
...
338-[error] [<0.87.0>] ** Generic server couch_server terminating
338+
338+[Wed, 16 Feb 2011 08:32:41 GMT] [error] [<0.87.0>] ** Generic server couch_server terminating
...
339339** Last message in was {'EXIT',<0.143.0>,
340340                           {{{badmatch,{error,enomem}},
341341                             [{couch_file,read_raw_iolist_int,3},
...
360360** kill
361361
362362
...
363-=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
363-** Generic server couch_server terminating
363-** Last message in was {'EXIT',<0.143.0>,
363-                           {{{badmatch,{error,enomem}},
363-                             [{couch_file,read_raw_iolist_int,3},
363-                              {couch_file,handle_call,3},
363-                              {gen_server,handle_msg,5},
363-                              {proc_lib,init_p_do_apply,3}]},
363-                            {gen_server,call,
363-                                [<0.141.0>,
363-                                 {pread_iolist,4294715768},
363-                                 infinity]}}}
363-** When Server state == {server,"../var/lib/couchdb",
363-                            {re_pattern,0,0,
363-                                <<69,82,67,80,116,0,0,0,16,0,0,0,1,0,0,0,0,0,
363-                                  0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
363-                                  0,93,0,72,25,77,0,0,0,0,0,0,0,0,0,0,0,0,254,
363-                                  255,255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
363-                                  77,0,0,0,0,16,171,255,3,0,0,0,128,254,255,
363-                                  255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,26,
363-                                  84,0,72,0>>},
363-                            100,1,"Wed, 16 Feb 2011 08:29:35 GMT"}
363-** Reason for termination ==
363-** kill
363-[error] [<0.87.0>] {error_report,<0.34.0>,
363+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.87.0>] {error_report,<0.34.0>,
...
388388              {<0.87.0>,crash_report,
389389               [[{initial_call,{couch_server,init,['Argument__1']}},
390390                 {pid,<0.87.0>},
...
404404                 {reductions,2984}],
405405                []]}}
406406
...
407-=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
407-  crasher:
407-    initial call: couch_server:init/1
407-    pid: <0.87.0>
407-    registered_name: couch_server
407-    exception exit: kill
407-      in function  gen_server:terminate/6
407-    ancestors: [couch_primary_services,couch_server_sup,<0.35.0>]
407-    messages: []
407-    links: [<0.97.0>,<0.82.0>]
407-    dictionary: []
407-    trap_exit: true
407-    status: running
407-    heap_size: 1597
407-    stack_size: 24
407-    reductions: 2984
407-  neighbours:
407-[error] [<0.82.0>] {error_report,<0.34.0>,
407+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.82.0>] {error_report,<0.34.0>,
...
425425              {<0.82.0>,supervisor_report,
426426               [{supervisor,{local,couch_primary_services}},
427427                {errorContext,child_terminated},
...
433433                           {shutdown,1000},
434434                           {child_type,worker}]}]}}
435435
...
436-=SUPERVISOR REPORT==== 16-Feb-2011::21:33:03 ===
436-     Supervisor: {local,couch_primary_services}
436-     Context:    child_terminated
436-     Reason:     kill
436-     Offender:   [{pid,<0.87.0>},
436-                  {name,couch_server},
436-                  {mfargs,{couch_server,sup_start_link,[]}},
436-                  {restart_type,permanent},
436-                  {shutdown,1000},
436-                  {child_type,worker}]
436-
436-[error] [<0.97.0>] ** Generic server <0.97.0> terminating
436+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.97.0>] ** Generic server <0.97.0> terminating
...
448448** Last message in was {'EXIT',<0.87.0>,kill}
449449** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
450450                            <0.96.0>,<0.100.0>,
...
479479** kill
480480
481481
...
482-=ERROR REPORT==== 16-Feb-2011::21:33:03 ===
482-** Generic server <0.97.0> terminating
482-** Last message in was {'EXIT',<0.87.0>,kill}
482-** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
482-                            <0.96.0>,<0.100.0>,
482-                            {db_header,5,1,0,
482-                                {3122,{1,0}},
482-                                {3213,1},
482-                                nil,0,nil,nil,1000},
482-                            1,
482-                            {btree,<0.96.0>,
482-                                {3122,{1,0}},
482-                                #Fun<couch_db_updater.7.69395062>,
482-                                #Fun<couch_db_updater.8.86519079>,
482-                                #Fun<couch_btree.5.124754102>,
482-                                #Fun<couch_db_updater.9.24674233>},
482-                            {btree,<0.96.0>,
482-                                {3213,1},
482-                                #Fun<couch_db_updater.10.90337910>,
482-                                #Fun<couch_db_updater.11.13595824>,
482-                                #Fun<couch_btree.5.124754102>,
482-                                #Fun<couch_db_updater.12.34906778>},
482-                            {btree,<0.96.0>,nil,#Fun<couch_btree.0.83553141>,
482-                                #Fun<couch_btree.1.30790806>,
482-                                #Fun<couch_btree.2.124754102>,nil},
482-                            1,<<"_users">>,"../var/lib/couchdb/_users.couch",
482-                            [#Fun<couch_doc.7.50754398>],
482-                            [],nil,
482-                            {user_ctx,null,[],undefined},
482-                            nil,1000,
482-                            [before_header,after_header,on_file_open],
482-                            true}
482-** Reason for termination ==
482-** kill
482-[error] [<0.97.0>] {error_report,<0.34.0>,
482+[Wed, 16 Feb 2011 08:33:03 GMT] [error] [<0.97.0>] {error_report,<0.34.0>,
...
517517              {<0.97.0>,crash_report,
518518               [[{initial_call,{couch_db,init,['Argument__1']}},
519519                 {pid,<0.97.0>},
...
532532                 {reductions,276}],
533533                []]}}
534534
...
535-=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
535-  crasher:
535-    initial call: couch_db:init/1
535-    pid: <0.97.0>
535-    registered_name: []
535-    exception exit: kill
535-      in function  gen_server:terminate/6
535-    ancestors: [<0.95.0>]
535-    messages: []
535-    links: []
535-    dictionary: []
535-    trap_exit: true
535-    status: running
535-    heap_size: 1597
535-    stack_size: 24
535-    reductions: 276
535-  neighbours:
535-[info] [<0.327.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_347 500
535-[debug] [<0.327.0>] httpd 500 error response:
535+[Wed, 16 Feb 2011 08:33:03 GMT] [info] [<0.327.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_347 500
535+
535+[Wed, 16 Feb 2011 08:33:03 GMT] [debug] [<0.327.0>] httpd 500 error response:
...
554554 {"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]}"}
555555
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
--- Revision 613236336639
+++ Revision 626638353230
@@ -68,7 +68,101 @@
16/02/2011 21:29 <DIR> ..
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<couch_db_updater.7.69395062>,
- #Fun<couch_db_updater.8.86519079>,
- #Fun<couch_btree.5.124754102>,
- #Fun<couch_db_updater.9.24674233>},
- {btree,<0.141.0>,
- {4294715768,311},
- #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.141.0>,nil,
- #Fun<couch_btree.0.83553141>,
- #Fun<couch_btree.1.30790806>,
- #Fun<couch_btree.2.124754102>,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<couch_db_updater.7.69395062>,
- #Fun<couch_db_updater.8.86519079>,
- #Fun<couch_btree.5.124754102>,
- #Fun<couch_db_updater.9.24674233>},
- {btree,<0.96.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.96.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
-[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]}"}
+