Any idea of what is happening? It's swapping, but why the 30 mysql instances?

Any idea of what is happening? It's swapping, but why the 30 mysql instances?

As htop indicates, you system seems to hang into huge iowait. The 30 mysql instances are probably because you got 30 connections to your mysql server.