Windows 08 r2上的CouchDB 1.6.1 - os_process_error退出状态1

时间:2014-11-10 19:51:10

标签: view couchdb

我安装了一个couchdb,现在已经运行了好几周了。今天它在尝试查看任何视图时开始抛出os_process_error退出状态1。 DB中的文档非常小,视图非常简单。总数据库大小为20mb,最大文档为2mb,我注意到ERL进程将CPU固定在99%。

我看过:

我把时间增加到50000秒,然后将其降低到500,看看我是否能找到杀死所有东西的文件,但什么都没有显示出来。陈旧的观点仍然有效。

以下是调试错误:

[Mon, 10 Nov 2014 19:22:19 GMT] [debug] [<0.118.0>] Successful cookie auth as: "sking"
[Mon, 10 Nov 2014 19:22:19 GMT] [info] [<0.118.0>] 192.168.247.158 - - GET /_config/native_query_servers/ 200
[Mon, 10 Nov 2014 19:22:19 GMT] [error] [<0.231.0>] OS Process Error <0.233.0> :: {os_process_error,
                                                   {exit_status,1}}
[Mon, 10 Nov 2014 19:22:19 GMT] [error] [emulator] Error in process <0.231.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"c:/cygwin/relax... 


[Mon, 10 Nov 2014 19:22:19 GMT] [debug] [<0.117.0>] Minor error in HTTP request: {os_process_error,
                                                  {exit_status,1}}
[Mon, 10 Nov 2014 19:22:19 GMT] [debug] [<0.117.0>] Stacktrace: [{couch_mrview_util,get_view,4,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/COUCH_~3/src/couch_mrview_util.erl"},
                                   {line,49}]},
                                 {couch_mrview,query_view,6,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/COUCH_~3/src/couch_mrview.erl"},
                                   {line,75}]},
                                 {couch_httpd,etag_maybe,2,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd.erl"},
                                   {line,610}]},
                                 {couch_mrview_http,design_doc_view,5,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/COUCH_~3/src/couch_mrview_http.erl"},
                                   {line,188}]},
                                 {couch_httpd_db,do_db_req,2,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd_db.erl"},
                                   {line,234}]},
                                 {couch_httpd,handle_request_int,5,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd.erl"},
                                   {line,318}]},
                                 {mochiweb_http,headers,5,
                                  [{file,
                                    "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
                                   {line,94}]},
                                 {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,239}]}]
[Mon, 10 Nov 2014 19:22:19 GMT] [info] [<0.117.0>] 192.168.247.158 - - GET /tcs/_design/company/_view/Company_Id?limit=101 500
[Mon, 10 Nov 2014 19:22:19 GMT] [error] [<0.117.0>] httpd 500 error response:
 {"error":"os_process_error","reason":"{exit_status,1}"}

1 个答案:

答案 0 :(得分:1)

我想到了这一点,但我不确定为什么会这样。有一个巨大的文件57mb已上传到数据库,但它在被褥或其他任何地方都看不到。

我进一步深入调试日志后才发现它。我无法通过CURL Get访问该文档。我最终不得不使用CURL -X DELETE和特定的版本然后清除以删除文档。文件被删除后,一切都按预期工作。