db1043:
The first spike happened at the same time that the server ran out of space, so I didn't gave it any importance. But it happened a second time. According to a user, it only affects one http request and it works again after reloading.
This is not a problem for MySQL (phabricator has a dedicated server, so it does not affect other services) and it is probably not high priority because it only happens at spikes and phabricator, I think, it is not a critical service needing 100% uptime.
But it would be nice to understand the origin (connections reaching max_connections- 5000) and there is a problem at mysql level or if we require to tweak something at connection side or the configuration of the proxy monitoring the database to not perform a failover unless the problem continues for over X seconds. I do not have detailed enough monitoring to be able to measure this at db level, but I can activate it.
It is now happening regularly.





