Skip to content

Instantly share code, notes, and snippets.

@alexinmotion
alexinmotion / gist:3361963
Created August 15, 2012 17:56
rabbit extended log
=ERROR REPORT==== 12-Aug-2012::06:59:30 ===
connection <0.1495.0>, channel 1 - error:
{amqp_error,channel_error,"expected 'channel.open'",'channel.close'}
=ERROR REPORT==== 12-Aug-2012::07:01:21 ===
connection <0.1552.0>, channel 1 - error:
{amqp_error,channel_error,"expected 'channel.open'",'channel.close'}
=ERROR REPORT==== 12-Aug-2012::07:01:30 ===
connection <0.1566.0>, channel 1 - error:
@alexinmotion
alexinmotion / gist:3361930
Created August 15, 2012 17:51
sasl log extended
=CRASH REPORT==== 12-Aug-2012::06:56:59 ===
crasher:
initial call: amqp_gen_connection:init/1
pid: <0.1291.0>
registered_name: []
exception exit: heartbeat_timeout
in function gen_server:terminate/6
ancestors: [<0.1290.0>,amqp_sup,<0.204.0>]
messages: []
links: [<0.1247.0>,<0.1290.0>,#Port<0.3152>]
=ERROR REPORT==== 12-Aug-2012::06:49:41 ===
connection <0.1048.0>, channel 1 - error:
{amqp_error,channel_error,"expected 'channel.open'",'channel.close'}
=ERROR REPORT==== 12-Aug-2012::06:50:11 ===
connection <0.1065.0>, channel 1 - error:
{amqp_error,channel_error,"expected 'channel.open'",'channel.close'}
=ERROR REPORT==== 12-Aug-2012::06:51:42 ===
=SUPERVISOR REPORT==== 12-Aug-2012::06:48:43 ===
Supervisor: {<0.258.0>,amqp_connection_sup}
Context: shutdown
Reason: reached_max_restart_intensity
Offender: [{pid,<0.259.0>},
{name,connection},
{mfa,
{amqp_gen_connection,start_link,
[amqp_network_connection,
@alexinmotion
alexinmotion / gist:3330468
Created August 12, 2012 07:26
rabbitmq.config
[
{kernel,[{inet_dist_use_interface,{127,0,0,1}}]}
,
{rabbitmq_shovel,
[ {shovels, [
{shovel_heartbeat,
[ {sources,
[ {broker, "amqp://"} ]}
, {destinations,
[ {broker, "amqp://user:pass@hostname?heartbeat=35"} ]}
@alexinmotion
alexinmotion / gist:3330388
Created August 12, 2012 07:16
Wedged RabbitMQ shovel
sensor@sensor-9ee2:~$ sudo rabbitmqctl eval 'rabbit_shovel_status:status().'
[{shovel_heartbeat,
{terminated,
{shutdown,
{gen_server,call,
[<4888.1328.0>,
{call,{'confirm.select',false},none,<4888.1247.0>},
infinity]}}},
{{2012,8,12},{6,56,59}}},
{shovel_events,