Open AlvaroVega opened 5 years ago
Hi, we were just evaluating using rabbitmq and hit a similar issue (discovered when running a load test and noticed very slow performance).
We have a custom light weight MQTT 3.1.1 client running in embedded FreeRTOS (can compile and run on linux with the same results).
Simple case is connect -> send 1 message -> close connection (after a random few connections -> crash)
For the load test, we created a pool of 10 connections, opened them all first, and started passing messages. Within a few seconds we get a failure.
rabbitmq 3.7.14 running on opensuse leap 15.1 (rabbitmq-server-3.7.14-lp151.1.9.x86_64.rpm) uname -a Linux kmu 4.12.14-lp151.28.48-default #1 SMP Fri Apr 17 05:38:36 UTC 2020 (18849d1) x86_64 x86_64 x86_64 GNU/Linux
2020-06-28 10:37:37.518 [error] <0.5305.0> Generic server <0.5305.0> terminating
Last message in was {tcp,#Port<0.32175>,<<16,42,0,4,77,81,84,84,4,194,0,20,0,8,116,97,103,103,119,48,48,55,0,13,109,97,114,115,111,102,116,58,116,97,103,103,119,0,5,116,97,103,103,119>>}
When Server state == {state,#Port<0.32175>,"192.168.1.16:54702 -> 192.168.1.13:1883",true,undefined,false,running,{none,none},<0.5304.0>,false,none,{proc_state,#Port<0.32175>,#{},{undefined,undefined},{0,nil},{0,nil},undefined,1,undefined,undefined,undefined,{undefined,undefined},undefined,<<"tags">>,{amqp_adapter_info,{0,0,0,0,0,65535,49320,269},1883,{0,0,0,0,0,65535,49320,272},54702,<<"192.168.1.16:54702 -> 192.168.1.13:1883">>,{'MQTT',"N/A"},[{channels,1},{channel_max,1},{frame_max,0},{client_properties,[{<<"product">>,longstr,<<"MQTT client">>}]},{ssl,false}]},none,undefined,undefined,#Fun
Some simple variations of the same paho mqtt client makes crash rabbitmq (tested from 3.7.21, 3.8,1, 3.8.2rc versions):
docker-compose:
rabbit crash report: