couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Samuel Newson <rnew...@apache.org>
Subject Re: CouchDb Crash Report Help
Date Fri, 14 Feb 2014 20:30:07 GMT
The einval is failing to match here;

ok = mochiweb_socket:setopts(Socket, [{packet, raw}]),

Which implies the socket is somehow bad at this point.

B.

On 14 Feb 2014, at 19:59, Brendan Walker <brendan.walker4@gmail.com> wrote:

> Hello,
> 
> 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. What would be causing this to occur?
> 
> 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}],
>                         []]}}


Mime
View raw message