Hello, I apologize if this email is getting resent, I can't find any confirmation that it was received. I am having difficulty trying to figure out why CouchDb is crashing from the crash report, and I was wondering if someone would be able to give me some feedback on what could be going wrong.
Here is my scenario: I have a Couch instance with over a million documents. There is also continuous replication going on to and from another instance. Periodically, CouchDb crashes because of the crash report below. I increased the `max_dbs_open` and `max_connections` settings in the config, but that didn't stop the crashing. I was linked to this issue (http://mail-archives.apache.org/mod_mbox/couchdb-dev/201212.mbox/%3CCAHZBNKbhXinyJzbTZ14Ddi9_2jTu=9qjmfjss+36_vnm80p...@mail.gmail.com%3E). Is that similar to the issue I am hitting? If so, it looks like the fix was merged into mochiweb, but the version that ships with CouchDb doesn't contain the fix. Thanks! Brendan Walker === Crash Report === [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}], []]}}
