The process that manages the .ini configuration information inside the server 
was taking longer than 5 seconds to respond to requests. This caused other 
processes to crash. Eventually the death rate for processes in the supervision 
tree grew large enough that the VM decided to nuke the entire Erlang 
application.

Of course, this raises the question -- why was couch_config timing out on 
register requests? There's nothing in that log which can help us figure that 
out.

Adam

On Apr 30, 2014, at 11:47 PM, Herman Chan <[email protected]> wrote:

> hi all,
> 
> Our couchdb server (1.2) just died and had to be restarted, can someone 
> explain to me the crash log below?
> 
> Thu, 01 May 2014 03:30:02 GMT] [error] [<0.4723.2131>] {error_report,<0.31.0>,
>                         {<0.4723.2131>,crash_report,
>                          [[{initial_call,
>                             {couch_index_server,init,['Argument__1']}},
>                            {pid,<0.4723.2131>},
>                            {registered_name,[]},
>                            {error_info,
>                             {exit,
>                              {timeout,
>                               {gen_server,call,
>                                [couch_config,
>                                 {register,
>                                  #Fun<couch_index_server.config_change.2>,
>                                  <0.4723.2131>}]}},
>                              [{gen_server,init_it,6},
>                               {proc_lib,init_p_do_apply,3}]}},
>                            {ancestors,
>                             [couch_secondary_services,couch_server_sup,
>                              <0.32.0>]},
>                            {messages,[]},
>                            {links,[<0.27000.2602>]},
>                            {dictionary,[]},
>                            {trap_exit,true},
>                            {status,running},
>                            {heap_size,377},
>                            {stack_size,24},
>                            {reductions,144}],
>                           []]}}
> [Thu, 01 May 2014 03:30:02 GMT] [error] [<0.27000.2602>] 
> {error_report,<0.31.0>,
>                          {<0.27000.2602>,supervisor_report,
>                           [{supervisor,{local,couch_secondary_services}},
>                            {errorContext,start_error},
>                            {reason,
>                             {timeout,
>                              {gen_server,call,
>                               [couch_config,
>                                {register,
>                                 #Fun<couch_index_server.config_change.2>,
>                                 <0.4723.2131>}]}}},
>                            {offender,
>                             [{pid,<0.27013.2602>},
>                              {name,index_server},
>                              {mfargs,{couch_index_server,start_link,[]}},
>                              {restart_type,permanent},
>                              {shutdown,brutal_kill},
>                              {child_type,worker}]}]}}
> [Thu, 01 May 2014 03:30:02 GMT] [error] [<0.27000.2602>] 
> {error_report,<0.31.0>,
> {<0.27000.2602>,supervisor_report,
>                           [{supervisor,{local,couch_secondary_services}},
>                            {errorContext,start_error},
>                            {reason,
>                             {timeout,
>                              {gen_server,call,
>                               [couch_config,
>                                {register,
>                                 #Fun<couch_index_server.config_change.2>,
>                                 <0.4723.2131>}]}}},
>                            {offender,
>                             [{pid,<0.27013.2602>},
>                              {name,index_server},
>                              {mfargs,{couch_index_server,start_link,[]}},
>                              {restart_type,permanent},
>                              {shutdown,brutal_kill},
>                              {child_type,worker}]}]}}
> [Thu, 01 May 2014 03:30:02 GMT] [error] [<0.27000.2602>] 
> {error_report,<0.31.0>,
>                          {<0.27000.2602>,supervisor_report,
>                           [{supervisor,{local,couch_secondary_services}},
>                            {errorContext,shutdown},
>                            {reason,reached_max_restart_intensity},
>                            {offender,
>                             [{pid,<0.27013.2602>},
>                              {name,index_server},
>                              {mfargs,{couch_index_server,start_link,[]}},
>                              {restart_type,permanent},
>                              {shutdown,brutal_kill},
>                              {child_type,worker}]}]}}
> [Thu, 01 May 2014 03:30:02 GMT] [error] [<0.83.0>] {error_report,<0.31.0>,
>                       {<0.83.0>,supervisor_report,
>                        [{supervisor,{local,couch_server_sup}},
>                         {errorContext,child_terminated},
>                         {reason,shutdown},
>                         {offender,
>                             [{pid,<0.27000.2602>},
>                              {name,couch_secondary_services},
>                              {mfargs,{couch_secondary_sup,start_link,[]}},
>                              {restart_type,permanent},
>                              {shutdown,infinity},
>                              {child_type,supervisor}]}]}}

Reply via email to