couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Waller <miles.wal...@gmail.com>
Subject Re: couchdb crashes
Date Fri, 08 Jan 2016 18:41:05 GMT
> Hi,
>
> I'm experiencing some intermittent hangs from couchdb where the process
> remains up but is unresponsive.  Does anyone else have a similar
> environment or issues?
>
> I am running couchdb 1.6.1 (on windows, installed from binary) behind a
> load balancer (haproxy).  The load balancer conducts a health check on the
> couch ports at the TCP level - so connecting then disconnecting, rather
> than issuing a full http request.
>
> I experience intermittent hangs - every few days in frequency.  The load
> balancer itself is checking health far more frequently, so this is
> puzzling.  I only implicate the load balancer because (a) it was the only
> major change before this behaviour started (though some time before) and
> (b) the tcp_close in the error log - so not exactly conclusive.
>
> What can I do to isolate what's going on here or get some more conclusive
> logging?
>
> Thanks for any help/direction anyone can provide!
>
> miles
>
>
> [Tue, 29 Dec 2015 11:42:20 GMT] [error] [<0.7108.354>]
> {error_report,<0.34.0>,
>
>                         {<0.7108.354>,crash_report,
>
>                          [[{initial_call,
>
>                             {mochiweb_acceptor,init,
>
>                              ['Argument__1','Argument__2','Argument__3']}},
>
>                            {pid,<0.7108.354>},
>
>                            {registered_name,[]},
>
>                            {error_info,
>
>                             {error,
>
>                              {badmatch,{error,einval}},
>
>                              [{mochiweb_http,new_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,133}]},
>
>                               {mochiweb_http,handle_invalid_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,127}]},
>
>                               {mochiweb_http,handle_invalid_request,1,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/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.8957559>}]},
>
>                            {links,[<0.110.0>]},
>
>                            {dictionary,[{couch_rewrite_count,0}]},
>
>                            {trap_exit,false},
>
>                            {status,running},
>
>                            {heap_size,1598},
>
>                            {stack_size,27},
>
>                            {reductions,453873996}],
>
>                           []]}}
>
> [Tue, 29 Dec 2015 11:42:20 GMT] [error] [<0.32335.308>]
> {error_report,<0.34.0>,
>
>                          {<0.32335.308>,crash_report,
>
>                           [[{initial_call,
>
>                              {mochiweb_acceptor,init,
>
>
> ['Argument__1','Argument__2','Argument__3']}},
>
>                             {pid,<0.32335.308>},
>
>                             {registered_name,[]},
>
>                             {error_info,
>
>                              {error,
>
>                               {badmatch,{error,einval}},
>
>                               [{mochiweb_http,new_request,3,
>
>                                 [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                  {line,133}]},
>
>                                {mochiweb_http,handle_invalid_request,3,
>
>                                 [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                  {line,127}]},
>
>                                {mochiweb_http,handle_invalid_request,1,
>
>                                 [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/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.7726814>}]},
>
>                             {links,[<0.110.0>]},
>
>                             {dictionary,[{couch_rewrite_count,0}]},
>
>                             {trap_exit,false},
>
>                             {status,running},
>
>                             {heap_size,1598},
>
>                             {stack_size,27},
>
>                             {reductions,604125398}],
>
>                            []]}}
>
> [Tue, 29 Dec 2015 11:42:23 GMT] [error] [<0.1123.498>]
> {error_report,<0.34.0>,
>
>                         {<0.1123.498>,crash_report,
>
>                          [[{initial_call,
>
>                             {mochiweb_acceptor,init,
>
>                              ['Argument__1','Argument__2','Argument__3']}},
>
>                            {pid,<0.1123.498>},
>
>                            {registered_name,[]},
>
>                            {error_info,
>
>                             {error,
>
>                              {badmatch,{error,einval}},
>
>                              [{mochiweb_http,new_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,133}]},
>
>                               {mochiweb_http,handle_invalid_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,127}]},
>
>                               {mochiweb_http,handle_invalid_request,1,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/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.12863051>}]},
>
>                            {links,[<0.110.0>]},
>
>                            {dictionary,[{couch_rewrite_count,0}]},
>
>                            {trap_exit,false},
>
>                            {status,running},
>
>                            {heap_size,1598},
>
>                            {stack_size,27},
>
>                            {reductions,9957}],
>
>                           []]}}
>
> [Wed, 30 Dec 2015 03:28:28 GMT] [error] [<0.2619.498>]
> {error_report,<0.34.0>,
>
>                         {<0.2619.498>,crash_report,
>
>                          [[{initial_call,
>
>                             {mochiweb_acceptor,init,
>
>                              ['Argument__1','Argument__2','Argument__3']}},
>
>                            {pid,<0.2619.498>},
>
>                            {registered_name,[]},
>
>                            {error_info,
>
>                             {error,
>
>                              {badmatch,{error,einval}},
>
>                              [{mochiweb_http,new_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,133}]},
>
>                               {mochiweb_http,handle_invalid_request,3,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                 {line,127}]},
>
>                               {mochiweb_http,handle_invalid_request,1,
>
>                                [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/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.12863082>}]},
>
>                            {links,[<0.110.0>]},
>
>                            {dictionary,[{couch_rewrite_count,0}]},
>
>                            {trap_exit,false},
>
>                            {status,running},
>
>                            {heap_size,1598},
>
>                            {stack_size,27},
>
>                            {reductions,505401737}],
>
>                           []]}}
>
> [Wed, 30 Dec 2015 03:28:28 GMT] [error] [<0.21043.500>]
> {error_report,<0.34.0>,
>
>                          {<0.21043.500>,crash_report,
>
>                           [[{initial_call,
>
>                              {mochiweb_acceptor,init,
>
>
> ['Argument__1','Argument__2','Argument__3']}},
>
>                             {pid,<0.21043.500>},
>
>                             {registered_name,[]},
>
>                             {error_info,
>
>                              {error,
>
>                               {badmatch,{error,einval}},
>
>                               [{mochiweb_http,new_request,3,
>
>                                 [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                  {line,133}]},
>
>                                {mochiweb_http,handle_invalid_request,3,
>
>                                 [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                  {line,127}]},
>
>                                {mochiweb_http,handle_invalid_request,1,
>
>                                 [{file,
>
>
>                                  "c:/cygwin/relax/APACHE~2.1/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.12900407>}]},
>
>                             {links,[<0.110.0>]},
>
>                             {dictionary,[{couch_rewrite_count,0}]},
>
>                             {trap_exit,false},
>
>                             {status,running},
>
>                             {heap_size,1598},
>
>                             {stack_size,27},
>
>                             {reductions,508830824}],
>
>                            []]}}
>
> [Tue, 05 Jan 2016 22:11:55 GMT] [error] [<0.112.675>]
> {error_report,<0.34.0>,
>
>                        {<0.112.675>,crash_report,
>
>                         [[{initial_call,
>
>                            {mochiweb_acceptor,init,
>
>                             ['Argument__1','Argument__2','Argument__3']}},
>
>                           {pid,<0.112.675>},
>
>                           {registered_name,[]},
>
>                           {error_info,
>
>                            {error,
>
>                             {badmatch,{error,einval}},
>
>                             [{mochiweb_http,new_request,3,
>
>                               [{file,
>
>
> "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                {line,133}]},
>
>                              {mochiweb_http,handle_invalid_request,3,
>
>                               [{file,
>
>
>                        "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
>
>                                {line,127}]},
>
>                              {mochiweb_http,handle_invalid_request,1,
>
>                               [{file,
>
>
>               "c:/cygwin/relax/APACHE~2.1/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.17533102>}]},
>
>                           {links,[<0.110.0>]},
>
>                           {dictionary,[{couch_rewrite_count,0}]},
>
>                           {trap_exit,false},
>
>                           {status,running},
>
>                           {heap_size,1598},
>
>                           {stack_size,27},
>
>                           {reductions,6370382}],
>
>                          []]}}
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message