Container database failure, connection falling (Docker Linux CoreOS)

Hi, I have problems with my Container in Docker running on CoreOS-Linux,

I have Database containers, MySQL, Firebird, MariaDB … and when I start to test with any of them, bulk insertion, streess test, the percentage of processor usage reaches 2000%, and
I lose the connection to the database, I have tried to limit the use of CPU and Memory but it did not work, is it possible to solve this problem and use the Docker Container in Production?