Cannot establish more than 2047 connections in Windows (cygwin build)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mosquitto |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We've been testing the broker on a Windows Server 2003 R2 environment, and have found that you can't have more than 2047 clients connected at the same time.
In mosquitto.conf, the max_connections parameter is set to -1.
We've confirmed that this issue is related to the Mosquitto broker, when we made the same test using another broker, we could easily exceed the 2047 limit.
We believe this issue is related to the Windows hard limit of 2048 open files from a single application. The following links describe this limitation:
http://
http://
By changing the sources, this limit should be able to be exceeded, specifically for Windows platforms.
Thanks for the support.
Changed in mosquitto: | |
status: | New → Confirmed |
Thanks for the report, I'll see about getting that fixed.