MySQL 5.7 shows 3 sleeping processes in the processlist while I run my application. This is preventing Alter Table commands and is kind of worrying me as it will persumably not scale as I deploy more services.
From Python MySQLdb: connection.close() VS. cursor.close() I have learned how to close a connection properly in Python. This has fixed 1 sleeping connection (comming from 4), but still there are 3 open.
How can I identify what the connection is causing in order to track down the python code which is not closing it?