We moved to R14B04, and that fixed that crash! The performance issue we were
hitting is now also gone. I looked at the logs, and saw that this crash is now
happening.
Any idea on what is causing this crash?
Thanks!
Brendan
===
[Fri, 14 Feb 2014 23:53:39 GMT] [error] [<0.5663.2>] {error_report,<0.34.0>,
{<0.5663.2>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.5663.2>},
{registered_name,[]},
{error_info,
{exit,unknown_info,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5662.2>,<0.5661.2>]},
{messages,[]},
{links,[<0.5665.2>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,855900}],
[{neighbour,
[{pid,<0.5665.2>},
{registered_name,[]},
{initial_call,
{couch_ref_counter,init,['Argument__1']}},
{current_function,
{couch_util,shutdown_sync,1}},
{ancestors,[<0.5662.2>,<0.5661.2>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,377},
{stack_size,18},
{reductions,90}]}]]}}
-----Original Message-----
From: Brendan Walker [mailto:[email protected]]
Sent: Friday, February 14, 2014 2:18 PM
To: [email protected]
Subject: RE: CouchDb Crash Report Help
Hey Dave,
I am using R16B01 now. I will switch to using R14B04 now and see if that gets
rid of the issue.
Thanks!
Brendan
-----Original Message-----
From: Dave Cottlehuber [mailto:[email protected]]
Sent: Friday, February 14, 2014 1:02 PM
To: [email protected]
Subject: Re: CouchDb Crash Report Help
Hey Brendan,
That link is one of mine, and IIRC the eventual fix is to use an R16B* based
release of CouchDB on Windows, or good old faithful R14B04. The 1.5.x releases
are running a pretty new mochiweb release (as far forwards as I could go
without breaking R14B04 support).
I suggest:
- confirming what erlang reelase you're using
- moving to R14B04 initially
- if you still get stuck use latest couch+ R16b02 ( or 16b03-1 if we release
one with that when you're still stuck) Is that possible?
One could trace & catch the specific error but if "periodically" and "1m docs"
applies, the tracing is likely to take a while, and use some space up.
A+
Dave
On 14 February 2014 21:27, Brendan Walker <[email protected]> wrote:
> 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}],
> []]}}