Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7789333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:16:00+00:00 2026-06-01T21:16:00+00:00

How are users getting past a 1024 connection limit in Linux in association with

  • 0

How are users getting past a 1024 connection limit in Linux in association with doing MQTT for push notification?

I am using Mosquitto server, which I think I read does not have a 1024 connection limit built into the linux version. So, can I use a single server (no bridging etc) and get 5,000, 10,000+ users?

Or, do I absolutely need bridging? I haven’t seen a lot of writing on how this is setup other than the config settings man page for mosquitto.

Or, can I get by with just modify a few linux configuration settings and I’m good to go with a single mosquitto server?

My app is more or less an instant messaging app, so I expect to have ~10,000 maybe even 20,000 people using it with permanent 24/7 connections to mosquitto to alert them of messages.

Hmmm

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:16:02+00:00Added an answer on June 1, 2026 at 9:16 pm

    In theory you could up the Linux setting for max number of sockets for mosquitto to what you need. The question then is around performance. The key metric is number of messages per second total. If you have 20k clients connected, how many will be active and how many messages will each be sending?

    As an example, if half of your clients are active and sending 1 message per second, there are 10k msps – incoming only of course. If each of those messages is 10 bytes, you’re at a sustained 100kB/s or 800kbps.

    Another aspect is how your topic hierarchy is arranged. I can’t tell you what is best, but it will certainly have an effect.

    My best suggestion would be to write a client that simulates a real person, then use it to so real testing of your scenario.

    I have seen examples of extreme client count like in this Twitter post, but have no more details.

    One final point: IBM are currently producing a redbook on MQTT. It should be available ‘in spring’, i.e. soon. I think it will cover scaling issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to prevent users from getting into SQL Server Management Studio
I'm using jquery form plugin http://jquery.malsup.com/form/#getting-started to upload images to django server side. There
I'm getting sporadic reports of users seeing our website with the Comic Sans font.
I am getting directories from users and storing in databases. I really need validation
I am getting syntax error with the following statement REPLACE INTO users (screenname, token,
I keep getting duplicate entries in my database because of impatient users clicking the
I'm getting the following message in my users' crash logs: Dyld Error Message: Symbol
I'm getting awful lot of spam to my forums where only registered users can
I am getting this error after adding the libxml2.2.dylib file Linking /Users/Biranchi/Desktop/Funmovies TabBarController/build/Debug-iphonesimulator/funmovies.app/funmovies (1
I am getting parameters from user ./inputControl.sh param1 param2 ... I want users can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.