mosquittodebian-stretchmqtt-vernemq

How many simultaneous clients does it support vernemq or mosquitto on server?


I want to buy a vps with the following specifications:

and a dedicated server

How many connected clients does each server support with vernemq or mosquitto with QOS 1?


Solution

  • Well, I have solved the doubt, for more than 1000 users you just have to modify the file /etc/init.d/mosquitto

    add the following line to the beginning of the file

    ulimit -n 20000
    

    where 20000 is the number of connections to support