【问题标题】:CouchDb Crashes with no reason in the crash reportCouchDb 在崩溃报告中无缘无故崩溃
【发布时间】:2014-03-12 21:28:26
【问题描述】:

CouchDb 不断崩溃并输出以下日志。我尝试搜索 CouchDb 指南以了解崩溃原因是什么,但我找不到任何东西。原因似乎是badmatch,但我不确定匹配的不好。知道崩溃报告指的是什么错误吗?我正在 Windows 上运行最新版本的 Couch。

[Thu, 13 Feb 2014 15:09:38 GMT] [error] [<0.10713.9>] {error_report,<0.34.0>,
                       {<0.10713.9>,crash_report,
                        [[{initial_call,
                           {mochiweb_acceptor,init,
                            ['Argument__1','Argument__2','Argument__3']}},
                          {pid,<0.10713.9>},
                          {registered_name,[]},
                          {error_info,
                           {error,
                            {badmatch,{error,einval}},
                            [{mochiweb_http,new_request,3,
                              [{file,
                                "c:/cygwin/relax/APACHE~1.0/src/mochiweb/mochiweb_http.erl"},
                               {line,133}]},
                             {mochiweb_http,handle_invalid_request,3,
                              [{file,
                                "c:/cygwin/relax/APACHE~1.0/src/mochiweb/mochiweb_http.erl"},
                               {line,127}]},
                             {mochiweb_http,handle_invalid_request,1,
                              [{file,
                                "c:/cygwin/relax/APACHE~1.0/src/mochiweb/mochiweb_http.erl"},
                               {line,122}]},
                             {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,239}]}]}},
                          {ancestors,
                           [couch_httpd,couch_secondary_services,
                            couch_server_sup,<0.35.0>]},
                          {messages,[{tcp_closed,#Port<0.42313>}]},
                          {links,[<0.111.0>]},
                          {dictionary,
                           [{couch_rewrite_count,0},{jsonp,no_jsonp}]},
                          {trap_exit,false},
                          {status,running},
                          {heap_size,2586},
                          {stack_size,27},
                          {reductions,23231254}],
                         []]}}

【问题讨论】:

    标签: erlang couchdb mochiweb


    【解决方案1】:

    我相信this 可以帮到你。
    但它看起来像是一个老错误,已经在 Mochiweb 中解决了。您运行的是最新版本的 CouchDb 吗?

    【讨论】:

    • 是的,我正在运行 v1.5.0
    • Couch 使用的是 mochiweb v1.4.0,它已经过时(3 岁)。您是否知道下一个最新版本的 Couch 是否包含更新版本的 mochiweb?
    • 我将版本降级为 1.5.0_R14B04,从而修复了崩溃问题。
    • 很高兴它有帮助 :) 对不起,我不知道新版本的 Mochiweb。您应该询问 CouchDB 开发人员。
    猜你喜欢
    • 2019-07-01
    • 2019-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-24
    • 1970-01-01
    相关资源
    最近更新 更多