I have an 80GB droplet with a quad-core processor and still have these issues. I suspect it may relate to some plugin, but to isolate that across about 12 domains is just too much.
So for the time being I restart Apache every 10 minutes and MySQL every 30 minutes from a cron job.
Thinking about installing nagios to monitor the droplet but it's a lot of work to configure nagios.
wow it's 2015. I'm having the same exact problem. Brand new wordpress was working just a few days ago and now it's completely down with this error message.
It's ridiculous to believe that a simple wordpress site with no traffic would cause the server to run out of memory.
The whole point of using DO is for speed and now it can't even handle a simple wordpress site.
It took hours to figure out how to get up and running with DO and now I'm back to square one.
I have to go to WPengine instead.
What a headache.
Yea 2015 this is bad I have swap enabled and the same thing is happening. I am thinking A Small Orange Tree as a host.
Here is the same on acreggianafemminile.it
We need to restart mySQL at least one time a day.
We need a more friendly company for this type of hosting. I know one is in the work in due time. This is system wide and annoying.
I was running into a similar issue. Upon reboot the /var/run/mysqld directory seemed to vanish. See https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435823 for more detail.
same here on a brand new fedora 23 wp installation with mariadb. Runs just a few hours. Only "solution" for me was crontab restarts
Same here, it's really frustrating and costly to pay programmers if they cannot find a solution but blame it on the hosting by DigitalOcean. Please comment on this, DigitalOcean.
I'll just add to the chorus that I'm having the same issue. Sounds exactly like what the rest of you are experiencing. Fortunately a quick reboot fixes things, but it seems to be cropping up more often lately.
Same problem on my end - I've got a Vanilla Wordpress install with a few plugins, almost no content and no visitors. The site crashes every few days with a MySQL database error.
This is on a 1gb memory Droplet using the Wordpress 1-click install on Ubuntu....so far everything I've heard from support is that it's on my end and I have to fix it.
same problem here.
Every day, some days more that once "error establishing a database connection "
Yup: I have been having this exact same problem lately. A site that is hardly in use and not public (never been indexed by search engines) and only ever accessed by 2 people.
Lately, it has been so frequent it is a joke. I have run droplets with 512 MBs before with WordPress with no issues. This is the first time that i see this.
DO should address this issue or offer a solution as so many people have already reported before.