Steps to replicate the issue (include links if applicable):
Sometimes pages or campaign actions (create and update) fail to load.
This appears random, but happens more frequently on the Testing instance (https://isa-dev.toolforge.org).
What happens?:
The server logs show errors like this:
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
Other info:
Errors started around August 17th 2022 and there were 186 of them (and 29 on dev) as of August 29th, so it seems that something has happened recently. Since it happens on the dev server too, which is quite small, I don't think it's the database getting out of hand. Could be something that's happened on Toolforge.
No new deployments happened close to the date the errors started so technically nothing was changed on our end.