当我尝试发布消息时,我的RabbitMQ服务器始终返回错误。一些消息已发布,但其他消息被阻止。我怀疑流量控制已经开始,但是我似乎无法重置它。尝试添加用户,调整预取值,并且发布者并不总是大量发布,有时每分钟仅发布一两个消息。
RabbitMQ日志中的此错误消息是指示流控制问题(错误两次出现流)还是其他原因?
[error] <0.30648.2133> ** Generic server <0.30648.2133> terminating ** Last message in was
{
'$gen_cast',
{
method,
{
'basic.publish',
0,
<<"myexchange">>,
<<"my.routing.key">>,
false,
false
},
{
content,
60,
none,
<<144,
0,
10,
116,
101,
120,
116,
47,
112,
108,
97,
105,
110,
2 >>,
rabbit_framing_amqp_0_9_1,
[
<<" {
\"call\":\"DoSomething\",
\"params\":{
\"info\":[
{
\"id\":\"3019600\",
\"data\":\"SL3006BH\"
}
]
},
\"attempt\":1,
\"id\":\"71555611\"
} ">>]},flow}} ** When Server state == {ch,running,rabbit_framing_amqp_0_9_1,1,<0.13248.2258>,<0.46.2322>,<0.13248.2258>,<<" 52.65 .75.92:5425 -> 10.55.6.165:5672 ">>,{lstate,<0.31836.2319>,false},none,1,{[],[]},{user,<<" lkvwpjal">>,
[
administrator
],
[
{
rabbit_auth_backend_internal,
none
}
]
},
<<"lkvwpjal">>,
<<>>,
# {
},
{
state,
{
dict,
0,
16,
16,
8,
80,
48,
{
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
},
{
{
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
}
}
},
erlang
},
# {
},
# {
},
{
set,
0,
16,
16,
8,
80,
48,
{
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
},
{
{
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
}
}
},
<0.9837.1664>,
{
state,
fine,
5000,
#Ref<0.300936319.33292291.2856>
},
false,
1,
{
{
0,
nil
},
{
0,
nil
}
},
[
],
[
],
{
{
0,
nil
},
{
0,
nil
}
},
[
{
<<"authentication_failure_close">>,
bool,
true
},
{
<<"publisher_confirms">>,
bool,
true
},
{
<<"consumer_cancel_notify">>,
bool,
true
},
{
<<"exchange_exchange_bindings">>,
bool,
true
},
{
<<"basic.nack">>,
bool,
true
},
{
<<"connection.blocked">>,
bool,
true
}
],
none,
0,
none,
flow,
[
]
} ** Reason for termination == ** {
{
normal,
{
gen_server,
call,
[
<0.13248.2258>,
{
info,
[
amqp_params
]
},
15000
]
}
},
[
{
gen_server,
call,
3,
[
{
file,
"gen_server.erl"
},
{
line,
214
}
]
},
{
rabbit_amqp_connection,
amqp_params,
2,
[
{
file,
"src/rabbit_amqp_connection.erl"
},
{
line,
24
}
]
},
{
proc_lib,
init_p_do_apply,
3,
[
{
file,
"proc_lib.erl"
},
{
line,
247
}
]
}
]
}
有什么想法可以重设流控制吗?