← Back to team overview

mosquitto-users team mailing list archive

Re: How many concurent connection?

 

Hi Neo,

Upstart sets its own limits, so if you are using it to start mosquitto you
will need to modify /etc/init/mosquitto.conf:

limit nofile 262144 262144
On May 11, 2013 6:18 AM, "Neo Qing" <neoqing@xxxxxxxxx> wrote:

> Hi,There:
>   When I investigate on mosquitto, the first question comes to my mind is,
> how many connections does it support in single box?
>   To test it, I install mosquitto 1.1.3 on AWS EC2 small instance
> (ubuntu,12.04,64bit), and totally followed the steps in this thread
> https://lists.launchpad.net/mosquitto-users/msg00163.html.
>   but when I test the mosquitto server, once connection number goes to
> 1024, mosquitto will reset followed connection, I tried all kinds of
> approach, but cannot exceed 1018 connections, so is there anybody can share
> some experience on this?
> thanks in advance.
>
> Neo
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References