# How to count how many open connections Discourse has?

**URL:** <https://meta.discourse.org/t/how-to-count-how-many-open-connections-discourse-has/45769>\
**Category:** Development\
**Created:** [6월 16, 2016, 4:38오후 UTC](https://meta.discourse.org/t/how-to-count-how-many-open-connections-discourse-has/45769 "2016-06-16T16:38:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [6월 16, 2016, 4:38오후 UTC](https://meta.discourse.org/t/how-to-count-how-many-open-connections-discourse-has/45769/1 "2016-06-16T16:38:48Z")

</div>

I have used netstat/lsof to count the number of open message bus connections on high load events and better understand my users.

Looks like that the docker image now doesn’t have either, any tips?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [6월 16, 2016, 11:12오후 UTC](https://meta.discourse.org/t/how-to-count-how-many-open-connections-discourse-has/45769/2 "2016-06-16T23:12:59Z")

</div>

In general we front stuff with haproxy, and that is built into stats screen
