Problems with MySQL on Ubuntu Server
We've working with an Ubuntu server, currently once or twice a day the server goes down, once I check and restart the mysql service it works again
Checking the mysql logs I see this:
150205 12:49:07 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(137363456 bytes) failed; errno 12
150205 12:49:07 InnoDB: Completed initialization of buffer pool
150205 12:49:07 InnoDB: Fatal error: cannot allocate memory for the buffer pool
150205 12:49:07 [ERROR] Plugin 'InnoDB' init function returned error.
150205 12:49:07 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150205 12:49:07 [ERROR] Unknown/unsupported storage engine: InnoDB
150205 12:49:07 [ERROR] Aborting
If I get this well, this means the server runs out of memory?
Currently we have 512 MB of Ram and the server hosts a Symfony 2 webpage and a WordPress blog
I've done some research but I don't know what to do
Any help would be appreciated