[rabbitmq-discuss] Channel error
Alexandru Scvorţov
alexandru at rabbitmq.com
Fri Aug 5 09:25:05 BST 2011
> I can confirm that error never happened on 2.0.0. Let me know if you need any other information.
Thank you.
> Can you tell me what this error means (does it mean a channel was closed by server?
It happens when the server is closing a connection. The error seems to
mean that we're trying to shutdown the same process twice, and we're not
sure exactly how that can happen.
Channel_sup_sup is the process that supervises all the channels in a
connection. Its supervisor is complaining that we tried to shut it down
twice.
> Does it affect producing channels or consuming channels?).
Not that we know of, no. The error happens when closing a connection
and doesn't affect other connections.
Cheers,
Alex
On Thu, Aug 04, 2011 at 11:24:34AM -0700, Dave Greggory wrote:
> I can confirm that error never happened on 2.0.0. Let me know if you need any other information. Can you tell me what this error means (does it mean a channel was closed by server? Does it affect producing channels or consuming channels?).
>
>
>
> ----- Original Message -----
> From: Alexandru Scvorţov <alexandru at rabbitmq.com>
> To: Dave Greggory <davegreggory at yahoo.com>
> Cc: "rabbitmq-discuss at lists.rabbitmq.com" <rabbitmq-discuss at lists.rabbitmq.com>
> Sent: Thursday, August 4, 2011 1:51 PM
> Subject: Re: [rabbitmq-discuss] Channel error
>
> Hi,
>
> We've had reports of similar errors to this (not exactly this one,
> though). We have a bug open, but we haven't been able to
> reproduce them.
>
> As far as we know, it doesn't cause any problems on either the client or
> the server; it's just annoying.
>
> > Usage pattern -
> >
> > 6 fanout exchanges used for publish/subscribe pattern with 56 exclusive, auto-deleting queues (total, not each) bound to them
> > 37 topic exchanges used for work queue pattern with 34 durable queues (total, not each) bound to them
>
> Thanks for the info. We'll have another look at this issue soon.
>
> > We upgraded to RabbitMQ 2.5.1 from 2.0.0 and have been running 2.5.1 in production for over month.
>
> I don't suppose you had the script running for 2.0.0 and can confirm
> that the error doesn't happen there, right?
>
> Cheers,
> Alex
>
> On Thu, Aug 04, 2011 at 10:40:06AM -0700, Dave Greggory wrote:
> > We upgraded to RabbitMQ 2.5.1 from 2.0.0 and have been running 2.5.1 in production for over month. We have monitoring in on rabbitmq log that alerts us whenever there's any entries in those logs that we do not expect. Basically we look for lines that match following query.
> >
> >
> > Query Terms: 'host=rabbitmq* AND NOT
> > "starting TCP connection" AND NOT "closing TCP connection"
> > AND NOT "accepted TCP connection" AND NOT
> > "connection_closed_abruptly" AND NOT "timeout,running"'
> >
> > Several times within the last week or so, it alerted us with the following error in the SASL logs. Client functionality seems to be unaffected, but I'm curious to what this error means. Can anybody from the Rabbit team clarify?
> >
> > =SUPERVISOR REPORT==== 3-Aug-2011::14:22:30 ===
> > Supervisor: {<0.16968.672>,
> > rabbit_channel_sup_sup}
> > Context: shutdown_error
> > Reason: shutdown
> > Offender: [{pid,<0.20327.672>},
> > {name,channel_sup},
> > {mfa,{rabbit_channel_sup,start_link,[]}},
> > {restart_type,temporary},
> > {shutdown,infinity},
> > {child_type,supervisor}]
> >
> >
> >
> > Usage pattern -
> >
> > 6 fanout exchanges used for publish/subscribe pattern with 56 exclusive, auto-deleting queues (total, not each) bound to them
> > 37 topic exchanges used for work queue pattern with 34 durable queues (total, not each) bound to them
> >
> > At peak times we have less than 100 messages/sec going through RabbitMQ
> > Total connections = ~60-70 (2 connections each per app node, 1 for producing, 1 for consuming)
> > Heartbeat of 30 seconds enabled, no transactions used, work queue messages are persistent
> >
> >
> > RabbitMQ setup info -
> >
> > [13:22:00 rabbitmq at rabbitmq1 /opt/rabbitmq_server/sbin] ./rabbitmqctl status
> > Status of node rabbit at rabbitmq1 ...
> > [{pid,3841},
> > {running_applications,
> > [{rabbitmq_management,"RabbitMQ Management Console","2.5.1"},
> > {webmachine,"webmachine","1.7.0-rmq2.5.1-hg0c4b60a"},
> > {rabbitmq_management_agent,"RabbitMQ Management Agent","2.5.1"},
> > {amqp_client,"RabbitMQ AMQP Client","2.5.1"},
> > {rabbit,"RabbitMQ","2.5.1"},
> > {os_mon,"CPO CXC 138 46","2.2.5"},
> > {sasl,"SASL CXC 138 11","2.1.9"},
> > {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.5.1"},
> > {mochiweb,"MochiMedia Web Server","1.3-rmq2.5.1-git9a53dbd"},
> > {inets,"INETS CXC 138 49","5.3"},
> > {mnesia,"MNESIA CXC 138 12","4.4.13"},
> > {stdlib,"ERTS CXC 138 10","1.16.5"},
> > {kernel,"ERTS CXC 138 10","2.13.5"}]},
> > {os,{unix,linux}},
> > {erlang_version,
> > "Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:30] [hipe] [kernel-poll:true]\n"},
> > {memory,
> > [{total,149009336},
> > {processes,82465760},
> > {processes_used,82358928},
> > {system,66543576},
> > {atom,1279561},
> > {atom_used,1275735},
> > {binary,5745136},
> > {code,15200224},
> > {ets,7624288}]}]
> > ...done.
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list