You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Molinyawe, Matthew E." <Ma...@gd-ais.com> on 2010/08/30 18:32:07 UTC

{os_process_error,{exit_status,0}}

After several runs of accessing several different couchdb views which are separated, I get the following error.  I suspect this may be because of some setup configuration I might be missing.  Any help would be much appreciated.   
Thanks.

================================================================================================================================================
[Sat, 28 Aug 2010 19:49:27 GMT] [error] [emulator] Error in process <0.25510.9> with exit value: {{nocatch,{os_process_error,{exit_status,0}}},[{couch_os_process,prompt,2},{couch_query_servers,'-map_docs/2-fun-1-',2},{lists,map,2},{couch
_query_servers,map_docs,2},{couch_view_updater,view_compute,2},{couch_view_updater... 



[Sat, 28 Aug 2010 19:49:27 GMT] [error] [<0.25503.9>] ** Generic server <0.25503.9> terminating 
** Last message in was {'EXIT',<0.25506.9>,
                               {{nocatch,{os_process_error,{exit_status,0}}},
                                [{couch_os_process,prompt,2},
                                 {couch_query_servers,'-map_docs/2-fun-1-',2},
                                 {lists,map,2},
                                 {couch_query_servers,map_docs,2},
                                 {couch_view_updater,view_compute,2},
                                 {couch_view_updater,do_maps,4}]}}
** When Server state == {group_state,undefined,<<"myproject/2">>,
                         {"/mnt/myproject/couchdb/0.11.0",<<"myproject/2">>,
                          {group,
                           <<58,246,168,64,106,247,2,228,147,69,192,175,96,230,
                             213,35>>,
                           nil,nil,<<"_design/ws">>,<<"javascript">>,[],
                           [{view,0,
                             [<<"jobs-testing">>],
                             <<"\n                    function(doc) {\n                        if (doc.type == 'job' && (!doc.status || doc.status == 'testing')) {\n                            emit(doc.testname, doc);\n                  
      }\n                    }\n            ">>,
                             nil,[],[]},
                            {view,1,
                             [<<"dynamic-jobs">>],
                             <<"\n                    function(doc) {\n                        if (doc.type == 'job' && doc.dynamic && doc.status == 'testing' && doc.firststart) {\n                            emit(doc.firststart, doc);\n
                        }\n                    }\n            ">>,
                             nil,[],[]}],
                           nil,0,0,nil,nil}},
                         {group,
                          <<58,246,168,64,106,247,2,228,147,69,192,175,96,230,
                            213,35>>,
                          {db,<0.183.0>,<0.184.0>,nil,<<"1282801439128032">>,
                           <0.181.0>,<0.185.0>,


                           {db_header,5,85,0,
                            {37702151,{30,0}},
                            {37703565,30},
                            nil,0,nil,nil,1000},
                           85,
                           {btree,<0.181.0>,
                            {37702151,{30,0}},
                            #Fun<couch_db_updater.7.132302543>,
                            #Fun<couch_db_updater.8.107957134>,
                            #Fun<couch_btree.5.124754102>,
                            #Fun<couch_db_updater.9.46112288>},
                           {btree,<0.181.0>,
                            {37703565,30},
                            #Fun<couch_db_updater.10.19027664>,
                            #Fun<couch_db_updater.11.35033879>,
                            #Fun<couch_btree.5.124754102>,
                            #Fun<couch_db_updater.12.56344865>},
                           {btree,<0.181.0>,nil,#Fun<couch_btree.0.83553141>,
                            #Fun<couch_btree.1.30790806>,
                            #Fun<couch_btree.2.124754102>,nil},
                           85,<<"myproject/2">>,
                           "/mnt/myproject/couchdb/0.11.0/myproject/2.couch",[],[],
                           nil,
                           {user_ctx,null,[],undefined},
                           nil,1000,
                           [before_header,after_header,on_file_open]},
                          <0.25504.9>,<<"_design/ws">>,<<"javascript">>,[],
                          [{view,0,
                            [<<"jobs-testing">>],
                            <<"\n                    function(doc) {\n                        if (doc.type == 'job' && (!doc.status || doc.status == 'testing')) {\n                            emit(doc.testname, doc);\n                   
     }\n                    }\n            ">>,
                            {btree,<0.25504.9>,
                             {173178,{21,[]}},
                             #Fun<couch_btree.3.83553141>,
                             #Fun<couch_btree.4.30790806>,
                             #Fun<couch_view.less_json_ids.2>,
                             #Fun<couch_view_group.10.120246376>},
                            [],[]},
                           {view,1,
                            [<<"dynamic-jobs">>],
                            <<"\n                    function(doc) {\n                        if (doc.type == 'job' && doc.dynamic && doc.status == 'testing' && doc.firststart) {\n                            emit(doc.firststart, doc);\n 
                       }\n                    }\n            ">>,
                            {btree,<0.25504.9>,
                             {173646,{1,[]}},
                             #Fun<couch_btree.3.83553141>,
                             #Fun<couch_btree.4.30790806>,
                             #Fun<couch_view.less_json_ids.2>,
                             #Fun<couch_view_group.10.120246376>},
                            [],[]}],
                          {btree,<0.25504.9>,
                           {159842,[]},
                           #Fun<couch_btree.0.83553141>,
                           #Fun<couch_btree.1.30790806>,
                           #Fun<couch_btree.2.124754102>,nil},
                          84,0,nil,nil},
                         <0.25506.9>,nil,false,
                         [{{<0.25501.9>,#Ref<0.0.8.3794>},85}],
                         <0.25507.9>}
** Reason for termination == 
** {os_process_error,{exit_status,0}}


[Sat, 28 Aug 2010 19:49:27 GMT] [error] [<0.25503.9>] {error_report,<0.31.0>,
    {<0.25503.9>,crash_report,
     [[{initial_call,{couch_view_group,init,['Argument__1']}},
       {pid,<0.25503.9>},
       {registered_name,[]},
       {error_info,
           {exit,
               {os_process_error,{exit_status,0}},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_view,couch_secondary_services,couch_server_sup,<0.32.0>]},
       {messages,[]},
       {links,[<0.25504.9>,<0.92.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,987},
       {stack_size,24},
       {reductions,452}],
      [{neighbour,
           [{pid,<0.25507.9>},
            {registered_name,[]},
            {initial_call,{couch_ref_counter,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.25503.9>,couch_view,couch_secondary_services,
                 couch_server_sup,<0.32.0>]},
            {messages,[]},
            {links,[<0.25504.9>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,47}]},
       {neighbour,
           [{pid,<0.25504.9>},
            {registered_name,[]},
            {initial_call,{couch_file,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,
                [<0.25503.9>,couch_view,couch_secondary_services,
                 couch_server_sup,<0.32.0>]},
            {messages,[]},
            {links,[<0.25503.9>,<0.25507.9>,#Port<0.47092>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,233},
            {stack_size,9},
            {reductions,1418}]}]]}}