title: mysql Fatal error: cannot allocate memory for the buffer pool
body: <p>I have this error log from MySQL, any idea?
  Website works for some time and then I get MySQL shutdown completely after a couple of hours.</p>
  
  <pre><code>140919 10:48:27 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
  140919 10:48:27 [Note] Plugin 'FEDERATED' is disabled.
  140919 10:48:27 InnoDB: The InnoDB memory heap is disabled
  140919 10:48:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
  140919 10:48:27 InnoDB: Compressed tables use zlib 1.2.3.4
  140919 10:48:28 InnoDB: Initializing buffer pool, size = 128.0M
  InnoDB: mmap(137363456 bytes) failed; errno 12
  140919 10:48:28 InnoDB: Completed initialization of buffer pool
  140919 10:48:28 InnoDB: Fatal error: cannot allocate memory for the buffer pool
  140919 10:48:28 [ERROR] Plugin 'InnoDB' init function returned error.
  140919 10:48:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
  140919 10:48:28 [ERROR] Unknown/unsupported storage engine: InnoDB
  140919 10:48:28 [ERROR] Aborting
  
  140919 10:48:28 [Note] /usr/sbin/mysqld: Shutdown complete
  
  140919 10:48:28 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
  140919 10:48:28 [Note] Plugin 'FEDERATED' is disabled.
  140919 10:48:28 InnoDB: The InnoDB memory heap is disabled
  140919 10:48:28 InnoDB: Mutexes and rw_locks use GCC atomic builtins
  140919 10:48:28 InnoDB: Compressed tables use zlib 1.2.3.4
  140919 10:48:28 InnoDB: Initializing buffer pool, size = 128.0M
  InnoDB: mmap(137363456 bytes) failed; errno 12
  140919 10:48:28 InnoDB: Completed initialization of buffer pool
  140919 10:48:28 InnoDB: Fatal error: cannot allocate memory for the buffer pool
  140919 10:48:28 [ERROR] Plugin 'InnoDB' init function returned error.
  140919 10:48:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
  140919 10:48:28 [ERROR] Unknown/unsupported storage engine: InnoDB
  140919 10:48:28 [ERROR] Aborting
  
  140919 10:48:28 [Note] /usr/sbin/mysqld: Shutdown complete
  </code></pre>