# Exceeded Concurrent Connection Limit on Exchange mail server

**URL:** <https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713>\
**Category:** Administrators\
**Created:** [October 27, 2024, 10:28am UTC](https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713 "2024-10-27T10:28:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammad\_amro](https://talk.getindico.io/user_avatar/talk.getindico.io/mohammad_amro/32/385_2.png) [@mohammad\_amro](https://talk.getindico.io/u/mohammad_amro)\
**Post date:** [October 27, 2024, 10:28am UTC](https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713/1 "2024-10-27T10:28:48Z")

</div>

Hello Everyone,

We are currently encountering an issue where the maximum number of concurrent connections to the Exchange server (MailBox2019-2) has been exceeded, resulting in the closure of the transmission channel

> The maximum number of concurrent server connections has exceeded a per-source limit, closing transmission channel (MailBox

Thank you!

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 28, 2024, 10:02am UTC](https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713/2 "2024-10-28T10:02:39Z")

</div>

Were you sending lots of emails when that happened? How many parallel celery processes are there? By default it uses one per CPU core, but you can pass e.g. `-c 4` to the `indico celery worker` command to limit it ti 4 parallel processes.

FWIW, you could also ask your mail admins to allow a higher amount of concurrent connections from your server.

---

<div class="post-metadata">

**Author:** ![mohammad\_amro](https://talk.getindico.io/user_avatar/talk.getindico.io/mohammad_amro/32/385_2.png) [@mohammad\_amro](https://talk.getindico.io/u/mohammad_amro)\
**Post date:** [October 28, 2024, 1:12pm UTC](https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713/3 "2024-10-28T13:12:23Z")

</div>

Thanks for your reply.

Yes, I sent around 1,000 emails from the Indico system. We encountered this issue only after enabling threading with 2 threads and 32 workers.

Our mail team informed me that we can have 20 concurrent connections, and it’s not recommended to allow more.

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [October 28, 2024, 1:14pm UTC](https://talk.getindico.io/t/exceeded-concurrent-connection-limit-on-exchange-mail-server/3713/4 "2024-10-28T13:14:55Z")

</div>

Threading should not matter here since emails are by default sent via Celery tasks.
