Difference between Active and Inactive Client
What is the main difference between an Active and Inactive Client? For example, is a client active only due to it being connected in the last X minutes? Does a client become inactive after a certain amount of time or because that client's topic hasn't had any messages published to it in a certain time frame?
The reason for my question is that I am trying to test the maximum number of clients that the mosquitto broker can handle and I seem to be reaching a 550 client limit of active clients before the clients then start to become inactive. I am using a single Windows Client to create the clients therefore have I reached a workable limit by using a single application to create these clients, or have I reached a limit based on the Mosquitto broker?
We are looking to have around 3000 clients connected at any one time, is this going to be possible with a single Mosquitto instance? All 3000 clients will be connected via their own application (Windows Mobile).
The max_connections setting in the config file is set to default (-1). I notice that the comment in the config file states that a typical maximum is 1024.
Thank you for your time.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Paul Diston for more information if necessary.