Skip to content

Commit

Permalink
Note that 1024 "limit" is from operating systems, not Mosquitto.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Aug 24, 2020
1 parent 938e17a commit 7804c3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mosquitto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@
# a per listener setting.
# Default is -1, which means unlimited connections.
# Note that other process limits mean that unlimited connections
# are not really possible. Typically the default maximum number of
# connections possible is around 1024.
# are not really possible. Typically operating systems such as Linux set a
# default maximum number of connections possible at around 1024. If you require
# more connections than this, the operating system limit must be increased with
# something like `ulimit`.
#max_connections -1

# Choose the protocol to use when listening.
Expand Down

0 comments on commit 7804c3f

Please sign in to comment.