couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nat Lownes <nat.low...@gmail.com>
Subject crash when attempting to create a view, 1.5.0
Date Mon, 17 Mar 2014 02:04:46 GMT
This is happening on a database with about 360k documents.  I consistently
get this crash when attempting to create any design documents or temporary
views.  I came across it first using python and javascript clients, tried
thru curl and the UI at /_utils/ all with the same result.  Below is my
attempt at creating a view that just emits ids.

Screen shot of the UI:
https://www.dropbox.com/s/1wdglxg19sk2sor/Screenshot%202014-03-16%2018.09.24.png

log output

** Reason for termination ==
** {badmatch,{error,enosys}}


=ERROR REPORT==== 16-Mar-2014::22:08:51 ===
** Generic server <0.496.0> terminating
** Last message in was {'EXIT',<0.495.0>,{badmatch,{error,enosys}}}
** When Server state == {file,{file_descriptor,prim_file,{#Port<0.3104>,25}},
                              0}
** Reason for termination ==
** {badmatch,{error,enosys}}
[error] [<0.496.0>] {error_report,<0.31.0>,
                        {<0.496.0>,crash_report,
                         [[{initial_call,{couch_file,init,['Argument__1']}},
                           {pid,<0.496.0>},
                           {registered_name,[]},
                           {error_info,
                               {exit,
                                   {badmatch,{error,enosys}},
                                   [{gen_server,terminate,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                           {ancestors,[<0.495.0>,<0.494.0>]},
                           {messages,[]},
                           {links,[]},
                           {dictionary,[]},
                           {trap_exit,true},
                           {status,running},
                           {heap_size,610},
                           {stack_size,24},
                           {reductions,1424}],
                          []]}}

=CRASH REPORT==== 16-Mar-2014::22:08:51 ===
  crasher:
    initial call: couch_file:init/1
    pid: <0.496.0>
    registered_name: []
    exception exit: {badmatch,{error,enosys}}
      in function  gen_server:terminate/6
    ancestors: [<0.495.0>,<0.494.0>]
    messages: []
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 1424
  neighbours:
[error] [<0.95.0>] {error_report,<0.31.0>,
                       {<0.95.0>,supervisor_report,
                        [{supervisor,{local,couch_secondary_services}},
                         {errorContext,child_terminated},
                         {reason,{badmatch,{error,enosys}}},
                         {offender,
                             [{pid,<0.283.0>},
                              {name,index_server},
                              {mfargs,{couch_index_server,start_link,[]}},
                              {restart_type,permanent},
                              {shutdown,brutal_kill},
                              {child_type,worker}]}]}}

=SUPERVISOR REPORT==== 16-Mar-2014::22:08:51 ===
     Supervisor: {local,couch_secondary_services}
     Context:    child_terminated
     Reason:     {badmatch,{error,enosys}}
     Offender:   [{pid,<0.283.0>},
                  {name,index_server},
                  {mfargs,{couch_index_server,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,brutal_kill},
                  {child_type,worker}]

[error] [<0.128.0>] Uncaught error in HTTP request: {exit,
                                                     {{badmatch,
                                                       {error,enosys}},
                                                      {gen_server,call,
                                                       [couch_index_server,
                                                        {get_index,
                                                         {couch_mrview_index,
                                                          {mrst,
                                                           <<17,209,89,171,130,
                                                             84,26,32,140,33,
                                                             119,37,135,71,172,
                                                             180>>,
                                                           nil,undefined,
                                                           <<"v1">>,

<<"6edae0df60416cb7ac45407789235837">>,
                                                           <<"javascript">>,
                                                           [],
                                                           {[]},
                                                           [{mrview,0,0,0,
                                                             [<<"temp">>],
                                                             [],
                                                             <<"function(doc)
{\n  emit(doc._id, doc);\n}">>,
                                                             nil,[]}],
                                                           nil,0,0,undefined,
                                                           undefined,
                                                           undefined,
                                                           undefined,
                                                           undefined,nil},
                                                          <<"v1">>,
                                                          <<17,209,89,171,
                                                            130,84,26,32,140,
                                                            33,119,37,135,71,
                                                            172,180>>}},
                                                        infinity]}}}
[info] [<0.128.0>] Stacktrace: [{gen_server,call,3},
                                {couch_index_server,get_index,4},
                                {couch_mrview_util,get_view,4},
                                {couch_mrview,query_view,6},
                                {couch_httpd,etag_maybe,2},
                                {couch_mrview_http,design_doc_view,5},
                                {couch_httpd_db,do_db_req,2},
                                {couch_httpd,handle_request_int,5}]
[info] [<0.128.0>] 10.30.1.107 - - POST /v1/_temp_view?limit=11 500
[error] [<0.128.0>] httpd 500 error response:
 {"error":"{badmatch,{error,enosys}}","reason":"{gen_server,call,\n
[couch_index_server,\n     {get_index,\n         {couch_mrview_index,\n
{mrst,\n
<<17,209,89,171,130,84,26,32,140,33,119,37,135,71,172,180>>,\n
nil,undefined,<<\"v1\">>,\n
<<\"6edae0df60416cb7ac45407789235837\">>,<<\"javascript\">>,[],\n
{[]},\n                 [{mrview,0,0,0,\n                      [<<\"temp\">>],\n
[],<<\"function(doc) {\\n  emit(doc._id, doc);\\n}\">>,nil,\n
[]}],\n
nil,0,0,undefined,undefined,undefined,undefined,undefined,\n
nil},\n             <<\"v1\">>,\n
<<17,209,89,171,130,84,26,32,140,33,119,37,135,71,172,180>>}},\n
infinity]}"}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message