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

Alexandru Scvorţov alexandru at rabbitmq.com
Wed Jul 20 22:14:14 BST 2011


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-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list