java.io.EOFException with paho

后端 未结 7 902
感动是毒
感动是毒 2021-02-09 11:47

i want to make stress test on mosquitto, so i create some code as below

for (int i = 0; i < 800; i++) {
        final int j = i;
        Thread t = new Thread         


        
7条回答
  •  长发绾君心
    2021-02-09 12:00

    There's a 1024 files/sockets limit in linux but you can upset it,ulimit -n 4096 see: mqtt mosquitto linux connection limit

提交回复
热议问题