[rabbitmq-discuss] Frequently getting {badmatch, {error, einval} from one of my rabbimq nodes

Chak Hedik chakhedik at gmail.com
Wed Jul 20 23:40:51 BST 2011


Hi Alex,

*Ubuntu Server 11.04 64-Bit
*RabbitMQ 2.3.1 (Default ubuntu package)
*Erlang Client 2.3.1 (Default ubuntu package)
*Erlang R13B03 (Default ubuntu package)

Is there something in the server logs that corresponds to this error?
- That's the only thing appeared in the logs.

You say your other nodes don't have similar issues.  Is there
something
special about this node?
- Nothing special, pretty much the same but handle more messages than
others. 1 worker handling 1 queue.

It is strange behaviour and it happen at the very beginning where the
worker up for the first time (no message in queue yet). I've created
another node and put this worker there and will wait and see if
similar error appear again or not today.

Thanks for your reply.

Chak


On Jul 21, 5:14 am, Alexandru Scvorţov <alexan... at rabbitmq.com> wrote:
> Hi Chak,
>
> Could you please answer the following questions:
> * What OS are you using?
> * What version of RabbitMQ?
> * What version of the Erlang client?
> * What version of Erlang?
>
> > ** Reason for termination ==
> > ** {{badmatch,{error,einval}},
> >     [{amqp_main_reader,handle_inet_async,2},
> >      {gen_server,handle_msg,5},
> >      {proc_lib,init_p_do_apply,3}]}
>
> Looks like something strange is taking down the socket, which in turn is
> taking down the entire connection.  If you have more than one
> connection, the others should be fine.
>
> Is there something in the server logs that corresponds to this error?
>
> You say your other nodes don't have similar issues.  Is there something
> special about this node?
>
> Cheers,
> Alex
>
>
>
>
>
>
>
>
>
> On Wed, Jul 20, 2011 at 12:12:32AM -0700, Chak Hedik wrote:
> > Hi,
>
> > I frequently getting this terminating error from one of my nodes :
>
> > ** Generic server <0.28067.2> terminating
> > ** Last message in was {inet_async,#Port<0.15349>,9049,
> > {ok,<<0,10,0,51,206>>}}
> > ** When Server state == {state,#Port<0.15349>,<0.28063.2>,<0.28064.2>,
> >                                {method,rabbit_framing_amqp_0_9_1},
> >                                {1,0,4}}
> > ** Reason for termination ==
> > ** {{badmatch,{error,einval}},
> >     [{amqp_main_reader,handle_inet_async,2},
> >      {gen_server,handle_msg,5},
> >      {proc_lib,init_p_do_apply,3}]}
>
> > While several other nodes with the same setup didn't have the same
> > issue. May I know what it means and willl it affect my queues?How do I
> > fix this?
>
> > Thank,
> > Chak
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-disc... at lists.rabbitmq.com
> >https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list