# How to queue the proxysql client connections when max user connection exceeds?

**URL:** <https://forums.percona.com/t/how-to-queue-the-proxysql-client-connections-when-max-user-connection-exceeds/10039>\
**Category:** ProxySQL\
**Created:** [April 10, 2021, 3:14am UTC](https://forums.percona.com/t/how-to-queue-the-proxysql-client-connections-when-max-user-connection-exceeds/10039 "2021-04-10T03:14:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![preethi\_subbu](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/preethi_subbu/32/3204_2.png) [@preethi\_subbu](https://forums.percona.com/u/preethi_subbu)\
**Post date:** [April 10, 2021, 3:14am UTC](https://forums.percona.com/t/how-to-queue-the-proxysql-client-connections-when-max-user-connection-exceeds/10039/1 "2021-04-10T03:14:58Z")

</div>

Now proxysql throws error immediately when active connections reached the configured value. Any support available in proxysql to queue the connections ?

Exception received - User ‘\*\*\*\*\*\*’ has exceeded the ‘max\_user\_connections’ resource (current value: \*)  
As the incoming request rate / user is not known clearly, I would like to provide reasonable value but at the same time I need to handle the request little later if max\_user\_connection has exceeded.

Thanks ahead!

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [July 14, 2021, 9:01pm UTC](https://forums.percona.com/t/how-to-queue-the-proxysql-client-connections-when-max-user-connection-exceeds/10039/2 "2021-07-14T21:01:38Z")

</div>

ProxySQL will not queue connections that fail to establish to backend servers. Either increase max\_connections in MySQL, or implement better logic in your application.
