Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Tuning linux client device to support more than 1024 client
Tuning linux client device to support more than 1024 client [message #1848908] Thu, 23 December 2021 06:31
Ria Thomas is currently offline Ria ThomasFriend
Messages: 2
Registered: December 2021
Junior Member
Hi All,

I am trying to run more than 2000 clients in single linux machine using paho client library. When the clients count reaches 1024 ie that many sockets get opened , paho client is not allowing any more connections. How to get past this limitation ?

if (mod_s.clientsds->count >= FD_SETSIZE)
{
Log(LOG_ERROR, -1, "addSocket: exceeded FD_SETSIZE %d", FD_SETSIZE);
rc = SOCKET_ERROR;
}

System: Ubuntu 16.04
Number of open sockets available in the machine is more than 100000.
MQTT broker running on the same machine is allowing more than 1024 sockets to be opened.
Previous Topic:MQTTSNGateway in docker container
Next Topic:full publish vs single
Goto Forum:
  


Current Time: Fri May 03 10:13:37 GMT 2024

Powered by FUDForum. Page generated in 0.02476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top