I recently bought 512MB, 2.2GHz, 20GB SSD - VPS Server and installed Debian Wheezy 64-bit and it is used as WEB Server. I have installed Apache2, PHP, MySQL, ClamAV, Anti-DDoS, Spam Assain, Postfix, Dovecot and Webmin. Everything is running great except MySQL server which get closed unexpectedly every few hours or minutes sometimes.
I have experienced the same problem on Ubuntu based VPS server with only 256MB RAM long time ago and I fixed it somehow, but I do not remember how, so now I really need help.
Thank you in advance.