title: mysql docker container crashes often
body: <p>I am using mariadb and wordpress container. But this error keeps on happening. How can I ensure that this crash does not happen anymore ? Am I being attacked ? Or is it a problem that occurs to other people ? How can I attach to mariadb and have access to the shell and try to find out what goes on inside mariadb container? </p>
  
  <p>See below the messages logged after every crash... There seems to be a high number of page hits as well. page visits go up to 20.000 to 60.000 hits on pages. These seem to be the work of crawlers, bots. Not sure if these are malicious attacks. </p>
  
  <p>Any help on how to go about dealing with this problem?</p>
  
  <p>I have mariadb, wordpress and phpmyadmin working in three docker containers under ubuntu 14 on digital ocean. 
  Here are the crash messages: </p>
  
  <p>[1668002.926214] Out of memory: Kill process 16765 (mysqld) score 176 or sacrifice child [1668002.935614] killed process 16765 (mysqld) total-vm:1012836kb, anon-rss:178840kb, file-rss:0kb 
  [1668040.992415] killed process 22570 (php5-fpm) total-vm:418044kB, anon-rss:145392kB, file-rss: 20624kB</p>
  
  <p>New York Server: 
  [1225007.977126] Out of memory: Kill process 3161 (mysqld) score 245 or sacrifice child [
  1225007.985657] killed process 3161 (mysqld) total-vm: 977148kb, anon-rss:122488kb, file-rss:0kB)</p>
  
  <p>Frankfurt server
  [1632264.057873] Out of memory: Kill process 22421 (mysqld) score 246 or sacrifice child 
  [1632264.067530] Killed process 22421 (mysqld) total-vm: 1005228kb, anon-rss:249328kb, file-rss:0kb</p>