We are trying to set nginx worker_connections value correctly. The default is 768 and we are hitting the limit constantly. I was wondering how we can know how many users are using our Discourse instance at any given time. Can we query message bus to give us this info? Something else? Once we know this we can set worker_connections correctly.
Would it be reasonable to say, if in doubt, double the limit, but watch your CPU and memory use? (Surely the reason for the limit is not to overload the machine.)