使用/usr/local/emqtt-bench/bin/emqtt_bench sub -h 127.0.0.1-p 1883 -S -u xx-P xxx-c 60000 -n 0 -i 1 -V 5 -t up/m/88做性能压测,60000连接的申请内存是使用内存的一半还多,这样导致2024-09-29T10:23:31.674109+08:00 [error] Error generating configuration in phase apply_translations
2024-09-29T10:23:31.674311+08:00 [error] Error running translation for emqx.os_mon, [error, “high(80.0)_must_greater_than_low(80.0)”]
emq就自动停了,想问一下这个使用内容和申请内容的比例有参数优化不?或者在性能压测的时候,emq.conf的压测参数建议是啥?谢谢。
另外ssl连接,连接5w多连接就会被kill,emqx报错:
2024-09-29T15:03:58.991948+08:00 [error] Process: <0.3386.11> on node ‘emqx@127.0.0.1’, Context: maximum heap size reached, Max Heap Size: 10485760, Total Heap Size: 11234355, Kill: true, Error Logger: true, GC Info: [{old_heap_block_size,4298223},{heap_block_size,6566731},{mbuf_size,369495},{recent_size,1515577},{stack_size,95},{old_heap_size,0},{heap_size,2984784},{bin_vheap_size,1814807},{bin_vheap_block_size,3527924},{bin_old_vheap_size,0},{bin_old_vheap_block_size,1347604}]