Giter Site home page Giter Site logo

Comments (5)

noxdafox avatar noxdafox commented on July 18, 2024

Hello,

this seems due to:

It should not affect the plugin itself so you shall not worry. I'll read through #464 and see if there's some recommended workaround to silence the noise.

from rabbitmq-cloudwatch-exporter.

agabani avatar agabani commented on July 18, 2024

I'm experiencing something similar with:

  • RabbitMQ: 3.7.15
  • Erlang: 22.0.3
  • rabbitmq-cloudwatch-exporter: 0.2.0

Plugin crashes on all servers in turn, one by one.

Configuration

cluster_formation.peer_discovery_backend = rabbit_peer_discovery_aws
cluster_formation.aws.use_autoscaling_group = true
cluster_formation.node_cleanup.only_log_warning = false

cluster_partition_handling = pause_minority

disk_free_limit.relative = 2.0

vm_memory_high_watermark.relative = 0.4

cloudwatch_exporter.aws.region = "eu-west-1"
cloudwatch_exporter.metrics.1 = overview
cloudwatch_exporter.metrics.2 = vhost
cloudwatch_exporter.metrics.3 = node
cloudwatch_exporter.metrics.4 = exchange
cloudwatch_exporter.metrics.5 = queue
cloudwatch_exporter.metrics.6 = connection
cloudwatch_exporter.metrics.7 = channel

Crash Log

2019-06-18 11:20:09 =ERROR REPORT====

2019-06-18 11:19:07 =SUPERVISOR REPORT====
Supervisor: {local,'Elixir.Singleton.Supervisor'}
Context: child_terminated
Reason: {function_clause,[{'Elixir.RabbitMQCloudWatchExporter.Exporter',handle_info,[{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1362>,tls_connection,undefined},[<0.7855.0>,<0.7854.0>]}},[[{period,60},{collectors,[overview,vhost,node,exchange,queue,connection,channel]},{namespace,<<"RabbitMQ">>}],[{region,<<"eu-west-1">>}]]],[{file,"lib/rabbitmq_cloudwatch_exporter/exporter.ex"},{line,52}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
Offender: [{pid,<0.6745.0>},{id,'Elixir.Singleton.Manager'},{mfargs,{'Elixir.Singleton.Manager',start_link,['Elixir.RabbitMQCloudWatchExporter.Exporter',[],rabbitmq_cloudwatch_exporter,'singleton_0bpF3SXqPZTQc80tAf+lu7E5kqQ']}},{restart_type,transient},{shutdown,5000},{child_type,worker}]

2019-06-18 11:19:07 =CRASH REPORT====
crasher:
initial call: Elixir.RabbitMQCloudWatchExporter.Exporter:init/1
pid: <0.7103.0>
registered_name: []
exception error: {function_clause,[{'Elixir.RabbitMQCloudWatchExporter.Exporter',handle_info,[{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1362>,tls_connection,undefined},[<0.7855.0>,<0.7854.0>]}},[[{period,60},{collectors,[overview,vhost,node,exchange,queue,connection,channel]},{namespace,<<"RabbitMQ">>}],[{region,<<"eu-west-1">>}]]],[{file,"lib/rabbitmq_cloudwatch_exporter/exporter.ex"},{line,52}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
ancestors: ['singleton_0bpF3SXqPZTQc80tAf+lu7E5kqQ','Elixir.Singleton.Supervisor',<0.207.0>]
message_queue_len: 4
messages: [{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1363>,tls_connection,undefined},[<0.7859.0>,<0.7858.0>]}},{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1364>,tls_connection,undefined},[<0.7863.0>,<0.7862.0>]}},{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1365>,tls_connection,undefined},[<0.7867.0>,<0.7866.0>]}},{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1366>,tls_connection,undefined},[<0.7871.0>,<0.7870.0>]}}]
links: [<0.6745.0>]
dictionary: [{{xtype_to_module,direct},rabbit_exchange_type_direct},{{xtype_to_module,topic},rabbit_exchange_type_topic},{{xtype_to_module,fanout},rabbit_exchange_type_fanout},{{xtype_to_module,headers},rabbit_exchange_type_headers}]
trap_exit: false
status: running
heap_size: 6772
stack_size: 27
reductions: 5361910
neighbours:
neighbour: [{pid,<0.6745.0>},{registered_name,'singleton_0bpF3SXqPZTQc80tAf+lu7E5kqQ'},{initial_call,{'Elixir.Singleton.Manager',init,['Argument__1']}},{current_function,{gen_server,loop,7}},{ancestors,['Elixir.Singleton.Supervisor',<0.207.0>]},{message_queue_len,0},{links,[<0.208.0>,<0.7103.0>]},{trap_exit,false},{status,waiting},{heap_size,610},{stack_size,11},{reductions,199},{current_stacktrace,[{gen_server,loop,7,[{file,"gen_server.erl"},{line,394}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}]

** {function_clause,[{'Elixir.RabbitMQCloudWatchExporter.Exporter',handle_info,[{ssl_closed,{sslsocket,{gen_tcp,#Port<0.1362>,tls_connection,undefined},[<0.7855.0>,<0.7854.0>]}},[[{period,60},{collectors,[overview,vhost,node,exchange,queue,connection,channel]},{namespace,<<"RabbitMQ">>}],[{region,<<"eu-west-1">>}]]],[{file,"lib/rabbitmq_cloudwatch_exporter/exporter.ex"},{line,52}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}

** Reason for termination ==

** When Server state == [[{period,60},{collectors,[overview,vhost,node,exchange,queue,connection,channel]},{namespace,<<"RabbitMQ">>}],[{region,<<"eu-west-1">>}]]

** Last message in was {ssl_closed,{sslsocket,{gen_tcp,#Port<0.1362>,tls_connection,undefined},[<0.7855.0>,<0.7854.0>]}}

** Generic server rabbitmq_cloudwatch_exporter terminating

2019-06-18 11:19:07 =ERROR REPORT====

from rabbitmq-cloudwatch-exporter.

noxdafox avatar noxdafox commented on July 18, 2024

Release 0.2.1 should solve this issue.

from rabbitmq-cloudwatch-exporter.

agabani avatar agabani commented on July 18, 2024

Thank you! I'll leave the following running on an environment and report back the stability in 2 days time.

  • RabbitMQ: 3.7.15
  • Erlang: 22.0.3
  • rabbitmq-cloudwatch-exporter: 0.2.1

from rabbitmq-cloudwatch-exporter.

noxdafox avatar noxdafox commented on July 18, 2024

Closing the issue. If problems persist, please re-open it.

from rabbitmq-cloudwatch-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.