Persistent connection model is not allowed on labsdb hosts for the reasons expressed on the [[https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Connection_handling_policy|Connection handling policy]].
Your connections are currently taking half of the used connections, impacting other users:
root@labsdb1005[(none)]> pager grep -c s52584
PAGER set to 'grep -c s52584'
root@labsdb1005[(none)]> SHOW PROCESSLIST;
164 rows in set (0.00 sec)
Please disable connection pooling on your tools, or request a dedicated mysql instance to use in any way you like (toolsdb is a *highly* shared resource, so limits have to be enforced). Enforcing it myself (for example, limiting your max connections to a handful of them may cause you an outage, so I would prefer if it was you that solved this issue yourself. Thank you for your understanding.