couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Bruch <br...@cs.tu-darmstadt.de>
Subject Solving "os_process_error,{exit_status,0}" ?
Date Mon, 18 Oct 2010 20:03:26 GMT
  Hi,

I currently experimenting with CouchDB and run into 
"os_process_error,{exit_status,0}" error when building my views. I've 
read that large documents may cause this kind of exceptions - which 
might be the reason in my case: The total database is ~3.2GB in size and 
contains ~300k documents. Few documents are up to 15 MB large.

Can anyone give me a hint how I can get around those os_process_errors?

Please find the error log below.

Thanks for your help
Marcel

[Mon, 18 Oct 2010 19:45:04 GMT] [error] [emulator] Error in process 
<0.16511.0> 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...



[Mon, 18 Oct 2010 19:45:04 GMT] [error] [<0.16504.0>] ** Generic server 
<0.16504.0> terminating
** Last message in was {'EXIT',<0.16507.0>,
                                
{{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,<<"code-summaries">>,
                          
{"/usr/local/var/lib/couchdb",<<"code-summaries">>,
                           {group,
<<55,140,215,212,199,41,153,13,5,5,199,110,250,227,
                              195,98>>,
                            nil,nil,<<"_design/count_by_superclass">>,
<<"javascript">>,[],
                            [{view,0,[],
<<"function(doc) 
{if(doc.primaryType.superclass){emit(doc.primaryType.superclass, 1);}}">>,
                              nil,
                              [{<<"count_by_superclass">>,
<<"function(keys, values, rereduce) {return sum(values);}">>}],
                              []}],
                            nil,0,0,nil,nil}},
                          {group,
<<55,140,215,212,199,41,153,13,5,5,199,110,250,227,
                             195,98>>,
                           
{db,<0.124.0>,<0.125.0>,nil,<<"1287416297989936">>,
<0.122.0>,<0.126.0>,
                            {db_header,5,302587,0,
                             {3455950536,{302585,1}},
                             {3455956392,302586},
                             nil,0,nil,nil,1000},
                            302587,
                            {btree,<0.122.0>,
                             {3455950536,{302585,1}},
                             #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.122.0>,
                             {3455956392,302586},
                             #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.122.0>,nil,#Fun<couch_btree.0.83553141>,
                             #Fun<couch_btree.1.30790806>,
                             #Fun<couch_btree.2.124754102>,nil},
                            302587,<<"code-summaries">>,
                            
"/usr/local/var/lib/couchdb/code-summaries.couch",
                            [],[],nil,
                            {user_ctx,null,[],undefined},
                            nil,1000,
                            [before_header,after_header,on_file_open],
                            false},
<0.16505.0>,<<"_design/count_by_superclass">>,
<<"javascript">>,[],
                           [{view,0,[],
<<"function(doc) 
{if(doc.primaryType.superclass){emit(doc.primaryType.superclass, 1);}}">>,
                             {btree,<0.16505.0>,
                              {419335142,{175466,[175466]}},
                              #Fun<couch_btree.3.83553141>,
                              #Fun<couch_btree.4.30790806>,
                              #Fun<couch_view.less_json_ids.2>,
                              #Fun<couch_view_group.10.120246376>},
                             [{<<"count_by_superclass">>,
<<"function(keys, values, rereduce) {return sum(values);}">>}],
                             []}],
                           {btree,<0.16505.0>,
                            {419155598,[]},
                            #Fun<couch_btree.0.83553141>,
                            #Fun<couch_btree.1.30790806>,
                            #Fun<couch_btree.2.124754102>,nil},
                           175467,0,nil,nil},
<0.16507.0>,nil,false,
                          [{{<0.16501.0>,#Ref<0.0.12.10750>},302587}],
<0.16508.0>}
** Reason for termination ==
** {os_process_error,{exit_status,0}}

[Mon, 18 Oct 2010 19:45:04 GMT] [error] [<0.16504.0>] 
{error_report,<0.31.0>,
               {<0.16504.0>,crash_report,
                [[{initial_call,{couch_view_group,init,['Argument__1']}},
                  {pid,<0.16504.0>},
                  {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.16505.0>,<0.101.0>]},
                  {dictionary,[]},
                  {trap_exit,true},
                  {status,running},
                  {heap_size,1597},
                  {stack_size,24},
                  {reductions,415}],
                 []]}}

[Mon, 18 Oct 2010 19:45:04 GMT] [error] [<0.16505.0>] ** Generic server 
<0.16505.0> terminating
** Last message in was 
{'EXIT',<0.16504.0>,{os_process_error,{exit_status,0}}}
** When Server state == 
{file,{file_descriptor,prim_file,{#Port<0.2671>,19}},
                               0,419336304}
** Reason for termination ==
** {os_process_error,{exit_status,0}}


[Mon, 18 Oct 2010 19:45:04 GMT] [error] [<0.16505.0>] 
{error_report,<0.31.0>,
     {<0.16505.0>,crash_report,
      [[{initial_call,{couch_file,init,['Argument__1']}},
        {pid,<0.16505.0>},
        {registered_name,[]},
        {error_info,
            {exit,
                {os_process_error,{exit_status,0}},
                [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
        {ancestors,
            
[<0.16504.0>,couch_view,couch_secondary_services,couch_server_sup,
<0.32.0>]},
        {messages,[]},
        {links,[#Port<0.2671>,<0.16508.0>]},
        {dictionary,[]},
        {trap_exit,true},
        {status,running},
        {heap_size,377},
        {stack_size,24},
        {reductions,1432}],
       [{neighbour,
            [{pid,<0.16508.0>},
             {registered_name,[]},
             {initial_call,{couch_ref_counter,init,['Argument__1']}},
             {current_function,{gen_server,loop,6}},
             {ancestors,
                 [<0.16504.0>,couch_view,couch_secondary_services,
                  couch_server_sup,<0.32.0>]},
             {messages,
                 [{'DOWN',#Ref<0.0.12.10749>,process,<0.16504.0>,
                      {os_process_error,{exit_status,0}}}]},
             {links,[<0.16505.0>]},
             {dictionary,[]},
             {trap_exit,false},
             {status,runnable},
             {heap_size,233},
             {stack_size,9},
             {reductions,47}]}]]}}

-- 
Eclipse Code Recommenders
http://www.stg.tu-darmstadt.de/research/core/


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