How to disable or increase the 200 active session limit for the user presence service?


In Admin > Subscription, the Active Session widget shows “X/200”, and the tooltip explains:

Total concurrent connections. A single user can be connected multiple times. User presence service is disabled at 200 or more to prevent performance issues.

Why is this limit 200? We could be running RC Community Edition on a massive server, or cluster of servers – 200 is arbitrary.

How can we increase this limit, or remove it entirely?

Server Setup Information

  • Version of Rocket.Chat Server: 6.5.2
  • Operating System: N/A
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.3
  • MongoDB Version: 4.4.19
  • Proxy: N/A
  • Firewalls involved: N/A

Answered in this thread.