Sleeping user database queries causing problems


#1

Hi, we are running our alexa skill with an external MySQL database on our own server.
We see different queries being spawned and causing the database to close the connection:

some examples (with shortened queries):

  1. “INSERT INTO user SET userId = 'amzn1.ask.account.AGJLOHE”
  2. “SELECT bin boot dev etc home initrd.img initrd.img.old”

Some of these queries are in sleep mode for more than 3 minutes. Is there any way to stop those queries? As the user table is all automatically I don’t know how to deal with it.
Thanks, Jan